Upload
phuoc-ho
View
484
Download
1
Embed Size (px)
Citation preview
Large – scale Structure (DDD)
Presenter: Khoa Anh Nguyen
Table content• Bounded Context• System Metaphor• Responsibility Layers• Pluggable Component Framework• Knowledge Level• Evolving Order• Refactoring Toward a Fitting Structure.• Summary
Bounded Context• BOUNDING CONTEXTS gives team members a clear and
shared understanding of what has to be consistent and what can develop independently
System Metaphor
• Metaphor is a particular way to develop a whole system.
• Capture the imagination of team member and leading thinking in useful direction.
Responsibility Layers• Responsibility should tell a story of the high-level purpose
and design of your system.• Refactor the model so that the responsibilities of each
domain object, AGGREGATE, and MODULE fit neatly within the responsibility of one layer
Responsibility Layers
Application.DAL
Application.Repository
Application.Manager
Application.Web DTO C
OR E
C O M
M
O N
Pluggable Component Framework
• Create a framework that allows an independence plugin can be plugged to system easily without changing any code in Central Hub.
Knowledge Level• A group of objects that describe how another group of
objects should behave
Operational Level
Knowledge Level
Support-Ticket
StatusNew
ProcessingPendingResolved
Evolving Order• Large-scale structure should be applied when a structure
can be found that greatly clarifies the system without forcing unnatural constraints on model development.
Evolving Order• An ill-fitting structure is
worse than none.
Refactoring Toward a Fitting Structure
• A useful structure can be found from:• A very deep understanding of the domain.• Practical way of that understanding.
• Evolving Order must fearlessly rethink the large-scale structure throughout the project life cycle.
Summary• “large-scale structure" is a language that lets you discuss
and understand the system in broad strokes and teams can work independently.