nplusp / event_sourcing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

event_sourcing

  • event - actual event from the past

    • was in the past
    • data object
    • name and data are required
    • can be anything - hash, struct, etc
  • event store - store

    • immutable
    • interface:
      • get (nil -> list of events)
      • append (list of events -> nil)
  • projection - collects events

  • producer - creates events

About


Languages

Language:Ruby 100.0%