DDD_Aggregate
Aggregate is a pattern in Domain-Driven Design. A DDD aggregate is a cluster of domain objects that can be treated as a single unit. An example may be an order and its line-items, these will be separate objects, but it's useful to treat the order (together with its line items) as a single aggregate. An aggregate will have one of its component objects be the aggregate root. Any references from outside the aggregate should only go to the aggregate root. The root can thus ensure the integrity of the aggregate as a whole. Aggregates are the basic element of transfer of data storage - you request to load or save whole aggregates. Transactions should not cross aggregate boundaries. DDD Aggregates are sometimes confused with collection classes (lists, maps, etc). DDD aggregates are domain concepts (order, clinic visit, playlist), while collections are generic. An aggregate will often contain mutliple collections, together with simple fields. The term "aggregate" is a common one, and is used i
D D D_ Aggregate 23 April 2013 Martin Fowler domain driven design object collaboration design Aggregate is a pattern in Domain-Driven Design. A DDD aggregate is a cluster of domain objects that can be treated as a single unit. An example may be an order and its line-items, these will be separate objects, but it's useful to treat the order (together with its line items) as a single aggregate. An aggregate will have one of its component objects be the aggregate root. Any references from outside the aggregate should only go to the aggregate root. The root can thus ensure the integrity of the aggr
Explore this link on the map →related reading
- Best Practice - An Introduction To Domain-Driven Design | Microsoft Learnlearn.microsoft.com
- PP - How To Implement Domain-Driven Design (DDD) in Golangprogrammingpercy.tech
- Defining Aggregators – Stratechery by Ben Thompsonstratechery.com
- Stop aggregating away the signal in your data - Stack Overflowstackoverflow.blog
- Aggregation Theory – Stratechery by Ben Thompsonstratechery.com
- Create a continuous aggregate | Tiger Data Docsdocs.timescale.com
- How to ensure up-to-date results | Tiger Datatimescale.com
- AI-native incident management platform | Rootlyrootly.com
- metablog: DAPLs: Domain Agnostic Programming Languagesblog.metaobject.com
- Clean Coder Blogblog.cleancoder.com
- DOMAIN | English meaning - Cambridge Dictionarydictionary.cambridge.org
- Monoids without tears | F# for fun and profitfsharpforfunandprofit.com