Tag: Aggregate
All the articles with the tag "Aggregate".
-
[DDD Intro #22] Transactions and consistency: What must be protected at once?
Consistency is important in software. It is a problem if an order is created without payment information, if a subscription is renewed but access entitlements are not granted, or if a refund is completed but the settlement amount remains unchanged.
-
[DDD Intro #14] Repository: Treating it like a domain collection, not a DAO
Repository is a frequently misunderstood pattern in DDD. In many codebases, Repository is used almost like a DAO. An object that reads data from a database, updates specific columns, and executes necessary queries gets the name Repository.
-
[DDD Intro #5] Aggregate: The boundary of consistency
Among DDD's tactical patterns, Aggregate is one of the most important and most misunderstood concepts. Entity and Value Object are relatively intuitive. Aggregate feels vague when we first encounter it.