articles

Projection

buildplease.com

The article discusses the development of a Read Model for a Bounded Context, which is a separate persistence store optimized for reading data. Data is inserted into the Read Model by using Event Handlers, which listen to events emitted from the Write Model after changes in Aggregate state. Nick implements a Bus to transport Commands and Events to appropriate Handlers. The article includes discussing how the Read Model can be made consistent with the Write Model.