13
Large – scale Structure (DDD) Presenter: Khoa Anh Nguyen

Large – scale structure (ddd)

Embed Size (px)

Citation preview

Page 1: Large – scale structure (ddd)

Large – scale Structure (DDD)

Presenter: Khoa Anh Nguyen

Page 2: Large – scale structure (ddd)
Page 3: Large – scale structure (ddd)

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)

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)

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)

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)

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)

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)

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)

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)

Evolving Order• An ill-fitting structure is

worse than none.

Page 12: Large – scale structure (ddd)

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)

Summary• “large-scale structure" is a language that lets you discuss

and understand the system in broad strokes and teams can work independently.