BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Presentation: Event Patterns

Presentation: Event Patterns

Ian Cartwright presents some of his work (developed with Martin Fowler) on Event Patterns (recorded at JAOO), including: Event Sourcing, Event Collaboration, Parallel Model, and Retroactive Event. These patterns can be used in scenarios where a sequence of domain model changes may need to be recorded, reversed, corrected, or simply observed.

Watch Event Patterns (30 min)

Event Sourcing
 - Capture all changes to an application state as a sequence of events. You can rebuild domain object state from scratch by replaying events and may allow reversing events.

Event Collaboration

 - Multiple components work together by communicating with each other by sending events when their internal state changes.

Parallel Model

 - Replay past events and make changes to compare different possible outcomes. For example compare different risk management strategies for the same set of Orders.

Retroactive Event
 - Correct previous Events by creating a parallel model and merging, or rewinding and replying corrected events.

Have you done any work that fits these patterns on your own projects?

Rate this Article

Adoption
Style

BT