CQRS - Event Sourcing variant of DDDSample.NET

Aggregates

The following image shows that in CQRS - Event Sourcing variant there is only one (compared to there in vanilla version) aggregate present: the Cargo aggregate.
Domain.png

In addition to standard elements, in Event Sourcing version, Cargo aggregate contains a new kind of objects: events representing explicit state transitions of the aggregate. After executing domain logic, the event representing corresponding state change is instantiated and published to both internal event store and external systems. The latter mechanism is used to transport state change notifications to the query side of the system.

There is only one entity present in the system: Cargo.

Reporting model

Reporting model is almost identical to the one in CQRS variant.

Last edited Mar 8, 2010 at 6:13 PM by SzymonPobiega, version 2

Comments

No comments yet.