Another way this is noted is that Factories are “pure domain”, but that Repositories can contain links to the infrastructure, e g the database.
DDD Quickly
from UnknownAuthor 📕
Filed under:
Same Source
- Context Maps where contexts have clear roles and their relationship...
- 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...
- For example, to transfer money from one account to another; should ...
- View all
Related Notes
- Dependencies (coupling) is an important concern to address, but it&...from kbouck
- By replacing integration tests with unit tests, we're losing al...from Computer Things
- I propose that there is one problem chief among them, an impetus fo...from George Hosu
- When software -- or idea-ware for that matter -- fails to be access...from gist.github.com
- Any software is considered free software so long as it upholds the ...from writefreesoftware.org
- Nathan's four Laws of Software: 1. **Software is a gas** ...from Jeff Atwood
- > Any sufficiently complicated [C](https://en.wikipedia.org/wiki...from From Wikipedia, the free
- Ad-hoc validation leads to a phenomenon that the [language-theoreti...from Alexis King