Author: Gabriel Ślawski

Have you ever wondered what it would be like to join the dark side of the force? Have you ever imagined fearlessly traversing the galaxy on board of a stormtrooper, discovering new worlds and building powerful Death Stars? It sounds tempting and scary at once. At Concise Software we believe that the dark side of the force is not that bad, as this is what we call backend development.  

Aggregates are guards for business principles in domain implementation. They merge several contexts into one, transparent object which unifies the interface for aggregated stuff. For example we can have many entities and value objects nested in aggregate. Our security guy will provide a mechanism for checking aggregated data consistency and integrity. Using policies and specifications (which I described in the previous chapter of the series Domain Driven Design: domain building blocks) we can ensure immutability of business assumptions.  

You don't have permission to register