Event Sourcing in Laravel (Full Stack Ghent)

Event Sourcing in Laravel (Full Stack Ghent)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

April 10, 2019
Tweet

Transcript

  1. 2.

    About me Freek Van der Herten Partner & developer at

    Spatie @freekmurze murze.be ohdear.app
  2. 5.

    We create a lot of it ± 200 packages on

    Packagist ± 2,000,000 downloads a month ± 30,000,000 total downloads All Postcardware!
  3. 11.
  4. 12.

    Traditional application Write data in database An update means overwriting

    the old data The old data cannot be accessed anymore
  5. 15.

    Event Sourced Application The application will fire off events Events

    will get written in a dedicated store Events are passed to consumers that create projections Aggregate, Aggregate Root...
  6. 22.
  7. 25.

    Laravel Event Projector Package made by Spatie Aggregates, Projectors &

    Reactors Beautifully integrated into Laravel Easy to get started with
  8. 27.
  9. 29.
  10. 30.
  11. 31.
  12. 32.
  13. 33.
  14. 34.
  15. 35.
  16. 37.

    Summary Laravel Event Projector Easy to use package to get

    started with event sourcing Projectors Replay capabilities Aggregates