December 31, 2014 at 03:37PM
Eric Evans on the use of Aggregates, Factories, and Repositories in Domain-Driven Designs #readingToday

Modeling AGGREGATES and adding FACTORIES and REPOSITORIES to the design gives us the ability to manipulate the model objects systematically and in meaningful units throughout their life cycle. AGGREGATES mark off the scope within which invariants have to be maintained at every stage of the life cycle. FACTORIES and REPOSITORIES operate on AGGREGATES, encapsulating the complexity of specific life cycle transitions.

Domain-Driven Design, Eric Evans