Event Sourced Aggregate Design: Focus on Business Logic
Separating data and behaviors can have a pretty profound impact on your design. An Event Sourced Aggregate allows you to focus on business logic by having capabilities to produce data (Events). Event Sourcing does exactly this by limiting the amount of state you require only to that needed for business logic within an Aggregate. YouTube Check out my YouTube channel where I post all kinds of content that accompanies my posts including this video showing everything that is in this post. Shipment Before jumping in code, the example I’m going to use is of a shipment. The simple setup is you have… Read More »Event Sourced Aggregate Design: Focus on Business Logic