For example, to transfer money from one account to another; should that function be in the sending account or the receiving account? It feels just as misplaced in either.
When such a behavior is recognized in the domain, the best practice is to declare it as a Service.
DDD Quickly
from î șUnknownAuthor đ
Filed under:
Same Source
- Context Maps where contexts have clear roles and their relationship...
- Another way this is noted is that Factories are âpure domainâ, but ...
- The Factory should create new objects, while the Repository should ...
- For immutable Value Objects it means that all attributes are initia...
- Choose one Entity to be the root of each Aggregate, and control all...
- An Aggregate is a group of associated objects which are considered ...
- There are three characteristics of a Service: The operation perfor...
- View all
Related Notes