Daniel Dao

31%
Flag icon
The state of the aggregate, and its internal objects, can only be modified through its public interface, by executing the aggregate’s commands. The data fields are read-only for external components for the sake of ensuring that all the business logic related to the aggregate resides in its boundaries. The aggregate acts as a transactional boundary. All of its data, including all of its internal objects, has to be committed to the database as one atomic transaction.
Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy
Rate this book
Clear rating
Open Preview