Aggregates
Introduction
Introduction
This diagram presents an overview of the core components in the DugongJS architecture and how they interact during the lifecycle of a domain operation. Although you do not need to understand the details of this diagram, you can use it as a reference while reading this documentation.
Introduction
In DugongJS, a message refers to a domain event in transit, in the context of a message broker. When a domain event is published as a message, it is mapped into the transport format required by the message broker. This process involves mapping the domain event for transmission and then mapping it back when it is received.
In domain-driven design, bounded contexts and context maps are essential elements of strategic modelling. A bounded context defines a linguistic boundary within which a specific ubiquitous language is used consistently. Each aggregate is owned and managed by a single bounded context and domain events for that aggregate should only be emitted from within that context.