Skip to content

Instantly share code, notes, and snippets.

@tedyoung
Last active March 6, 2022 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tedyoung/cc5a7b799d3a912ddc75391f94d461a3 to your computer and use it in GitHub Desktop.
Save tedyoung/cc5a7b799d3a912ddc75391f94d461a3 to your computer and use it in GitHub Desktop.
Concept Map of DDD Tactical Patterns
flowchart TD
app[Application Layer]
domain[Domain Layer]
agg[Aggregate]
entity[Entity]
repo[Repository]
vo["Value Object"]
aggroot["Aggregate Root"]
service[Service]
factory[Factory]
txnBoundary["Transactional and\nConsistency Boundary"]
agg -->|is in| domain
agg -->|defines| txnBoundary
agg -->|contains only one| aggroot
agg -->|contains one or more| entity
aggroot -->|is an| entity
aggroot -->|is in| domain
entity -->|contains| vo
entity -->|references| entity
entity -->|is in| domain
vo -->|is in| domain
repo -->|is in| app
repo ---->|persists| agg
service -->|executes script against| agg
service -->|is in| app
factory --->|creates| agg
factory -->|is in| app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment