Ricardo

26%
Flag icon
Cluster the ENTITIES and VALUE OBJECTS into AGGREGATES and define boundaries around each. Choose one ENTITY to be the root of each AGGREGATE, and control all access to the objects inside the boundary through the root. Allow external objects to hold references to the root only. Transient references to internal members can be passed out for use within a single operation only.
Domain-Driven Design: Tackling Complexity in the Heart of Software
Rate this book
Clear rating
Open Preview