logo资料库

Domain-Driven.Design.Distilled.PDF (英文版)

第1页 / 共168页
第2页 / 共168页
第3页 / 共168页
第4页 / 共168页
第5页 / 共168页
第6页 / 共168页
第7页 / 共168页
第8页 / 共168页
资料共168页,剩余部分请下载后查看
Cover
Title Page
Copyright Page
Contents
Preface
Acknowledgments
About the Author
Chapter 1 DDD for Me
Will DDD Hurt?
Good, Bad, and Effective Design
Strategic Design
Tactical Design
The Learning Process and Refining Knowledge
Let’s Get Started!
Chapter 2 Strategic Design with Bounded Contexts and the Ubiquitous Language
Domain Experts and Business Drivers
Case Study
Fundamental Strategic Design Needed
Challenge and Unify
Developing a Ubiquitous Language
Putting Scenarios to Work
What about the Long Haul?
Architecture
Summary
Chapter 3 Strategic Design with Subdomains
What Is a Subdomain?
Types of Subdomains
Dealing with Complexity
Summary
Chapter 4 Strategic Design with Context Mapping
Kinds of Mappings
Partnership
Shared Kernel
Customer-Supplier
Conformist
Anticorruption Layer
Open Host Service
Published Language
Separate Ways
Big Ball of Mud
Making Good Use of Context Mapping
RPC with SOAP
RESTful HTTP
Messaging
An Example in Context Mapping
Summary
Chapter 5 Tactical Design with Aggregates
Why Used
Aggregate Rules of Thumb
Rule 1: Protect Business Invariants inside Aggregate Boundaries
Rule 2: Design Small Aggregates
Rule 3: Reference Other Aggregates by Identity Only
Rule 4: Update Other Aggregates Using Eventual Consistency
Modeling Aggregates
Choose Your Abstractions Carefully
Right-Sizing Aggregates
Testable Units
Summary
Chapter 6 Tactical Design with Domain Events
Designing, Implementing, and Using Domain Events
Event Sourcing
Summary
Chapter 7 Acceleration and Management Tools
Event Storming
Other Tools
Managing DDD on an Agile Project
First Things First
Use SWOT Analysis
Modeling Spikes and Modeling Debt
Identifying Tasks and Estimating Effort
Timeboxed Modeling
How to Implement
Interacting with Domain Experts
Summary
References
Index
A
B
C
D
E
F
G
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
ptg17537051
Domain-Driven Design Distilled
This page intentionally left blank ptg17537051
Domain-Driven Design Distilled Vaughn Vernon Boston Columbus Indianapolis New York San Francisco Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City São Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo ptg17537051
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liabil- ity is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at corpsales@pearsoned.com or (800) 382-3419. For government sales inquiries, please contact governmentsales@pearsoned.com. For questions about sales outside the U.S., please contact intlcs@pearson.com. Visit us on the Web: informit.com/aw Library of Congress Control Number: 2016936587 Copyright © 2016 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This publication is protected by copy- right, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechani- cal, photocopying, recording, or likewise. For information regarding permissions, request forms and the appropriate contacts within the Pearson Education Global Rights & Permissions Depart- ment, please visit www.pearsoned.com/permissions/. ISBN-13: 978-0-13-443442-1 ISBN-10: 0-13-443442-0 3 17 ptg17537051
Nicole and Tristan We did it again! ptg17537051
This page intentionally left blank ptg17537051
Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Chapter 1 DDD for Me . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Will DDD Hurt? . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Good, Bad, and Effective Design . . . . . . . . . . . . . . . . . . 3 Strategic Design . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tactical Design . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 The Learning Process and Refining Knowledge . . . . . . . . . . 9 Let’s Get Started! . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Chapter 2 Strategic Design with Bounded Contexts and the Ubiquitous Language . . . . . . . . . . . . . . . . . . . . . . 11 Domain Experts and Business Drivers . . . . . . . . . . . . . . . 17 Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Fundamental Strategic Design Needed . . . . . . . . . . . . . . . 25 Challenge and Unify . . . . . . . . . . . . . . . . . . . . . . . . 29 Developing a Ubiquitous Language . . . . . . . . . . . . . . . . 34 Putting Scenarios to Work . . . . . . . . . . . . . . . . . . . 38 What about the Long Haul? . . . . . . . . . . . . . . . . . . . 40 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 vii ptg17537051
分享到:
收藏