Domain Model - Architecture

(I don't remember the source! If anyone can recognise it, let me know please!)

Domain Model - Architecture
OO model



Aggregate

- entities consistent (business rules / invariants)
- persistence (one repo per aggregate)
- guard access


Domain Services



Aggregate vs Service


Repo <= Domain Service
handles persistence for an aggregate


Antipattern: Anemic Models



comments powered by Disqus