domain_driven_design
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
domain_driven_design [2023/11/21 09:57] – skipidar | domain_driven_design [2023/11/21 19:13] (current) – [DDD & Microservices] skipidar | ||
---|---|---|---|
Line 32: | Line 32: | ||
- | ==== DDD & Microservices ===== | + | ==== DDD & Microservices ===== |
+ | |||
+ | === Overview | ||
DDD has two distinct phases. | DDD has two distinct phases. | ||
Line 49: | Line 51: | ||
- | == Strategic Design == | + | === Strategic Design |
In strategic DDD, you are defining the large-scale structure of the system. | In strategic DDD, you are defining the large-scale structure of the system. | ||
- | == Tactical Design == | + | === Tactical Design |
Tactical DDD provides a set of design patterns that you can use to create the domain model. | Tactical DDD provides a set of design patterns that you can use to create the domain model. | ||
Line 59: | Line 61: | ||
|Value Objects|are identified by their values. Like Address might be one. And re-created rather than copied.| | |Value Objects|are identified by their values. Like Address might be one. And re-created rather than copied.| | ||
|Aggregate |< | |Aggregate |< | ||
- | The purpose of an aggregate is to model transactional invariants. Things in the real world have complex webs of relationships. \\ \\ **Example: | + | The purpose of an aggregate is to model **transactional invariants**. Things in the real world have complex webs of relationships. \\ \\ **Example: |
</ | </ | ||
|Services|In DDD terminology, | |Services|In DDD terminology, | ||
Line 68: | Line 70: | ||
+ | |||
+ | Overview of the process | ||
+ | |||
+ | {{https:// | ||
==== Single micro-service (called " | ==== Single micro-service (called " |
domain_driven_design.1700560657.txt.gz · Last modified: by skipidar