AI Native Code

Event Sourcing

Let’s learn more about event sourcing - the old art of preserving business intent and verifying behavior that is a great fit for modern agentic development.

What’s in the Module

  1. Unit 1 Published
    1. Introduction

    An introduction to the Event Sourcing Module.

  2. Unit 2 Published
    2. Fundamentals

    Let's explore relations between domain model, event sourcing and traditional fact-based state persistence.

  3. Unit 3 Published
    3. Why Event Sourcing?

    Let's go through the reasons to use event sourcing today: storage agnostic, flexibility, scalability and fits AI Native mentality really well.

  4. Unit 4 Published
    4. Aggregates

    Let's use a factory to explore how aggregates handle commands, record events and rebuild state.

  5. Unit 5 Published
    5. Projections

    Let's derive read models from events, choose their storage and rebuild them as projections evolve.

  6. Unit 6 Published
    6. Specifications

    Let's express business behavior as specifications, keep tests stable and turn them into readable documentation.

  7. Unit 7 Published
    7. Versioning

    Let's evolve event contracts with compatible serializers and upgraders that preserve access to event history.

  8. Unit 8 Published
    8. Event Storming

    Let's explore an Event Storming workshop, from preparation through the session to what happens afterwards.

Free resources

Read public units without buying a Module. A free account opens their attached source code.

Event Sourcing

Let’s learn more about event sourcing - the old art of preserving business intent and verifying behavior that is a great fit for modern agentic development.

View articles →