Large – scale structure (ddd)
-
Upload
phuoc-ho -
Category
Technology
-
view
482 -
download
1
Transcript of Large – scale structure (ddd)
![Page 1: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/1.jpg)
Large – scale Structure (DDD)
Presenter: Khoa Anh Nguyen
![Page 2: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/2.jpg)
![Page 3: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/3.jpg)
Table content• Bounded Context• System Metaphor• Responsibility Layers• Pluggable Component Framework• Knowledge Level• Evolving Order• Refactoring Toward a Fitting Structure.• Summary
![Page 4: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/4.jpg)
Bounded Context• BOUNDING CONTEXTS gives team members a clear and
shared understanding of what has to be consistent and what can develop independently
![Page 5: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/5.jpg)
System Metaphor
• Metaphor is a particular way to develop a whole system.
• Capture the imagination of team member and leading thinking in useful direction.
![Page 6: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/6.jpg)
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
![Page 7: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/7.jpg)
Responsibility Layers
Application.DAL
Application.Repository
Application.Manager
Application.Web DTO C
OR E
C O M
M
O N
![Page 8: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/8.jpg)
Pluggable Component Framework
• Create a framework that allows an independence plugin can be plugged to system easily without changing any code in Central Hub.
![Page 9: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/9.jpg)
Knowledge Level• A group of objects that describe how another group of
objects should behave
Operational Level
Knowledge Level
Support-Ticket
StatusNew
ProcessingPendingResolved
![Page 10: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/10.jpg)
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.
![Page 11: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/11.jpg)
Evolving Order• An ill-fitting structure is
worse than none.
![Page 12: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/12.jpg)
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.
![Page 13: Large – scale structure (ddd)](https://reader031.fdocuments.us/reader031/viewer/2022030204/58a93e0a1a28ab991c8b489d/html5/thumbnails/13.jpg)
Summary• “large-scale structure" is a language that lets you discuss
and understand the system in broad strokes and teams can work independently.