Skip to content

Instantly share code, notes, and snippets.

@ryun
Last active August 29, 2015 14:15
Show Gist options
  • Save ryun/554967317cee3fb6200b to your computer and use it in GitHub Desktop.
Save ryun/554967317cee3fb6200b to your computer and use it in GitHub Desktop.

Event Sourcing (ES) & Command Query Responsibility Segregation (CQRS)

Event Sourcing allows you to store all the domain events that affect an entity, and replay these events to restore the object’s state.

The fundamental idea of Event Sourcing is that of ensuring every change to the state of an application is captured in an event object, and that these event objects are themselves stored in the sequence they were applied for the same lifetime as the application state itself.

Practical Event Sourcing (Video & Slides)

ES - Overview & Diagrams

Get up and running with Event Sourcing

Bringing CQRS and Event Sourcing to PHP. (Broadway)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment