Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Event Sourcing in Laravel (Full Stack Ghent)

Event Sourcing in Laravel (Full Stack Ghent)

Freek Van der Herten

April 10, 2019
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

  1. About me Freek Van der Herten Partner & developer at

    Spatie @freekmurze murze.be ohdear.app
  2. We create a lot of it ± 200 packages on

    Packagist ± 2,000,000 downloads a month ± 30,000,000 total downloads All Postcardware!
  3. Traditional application Write data in database An update means overwriting

    the old data The old data cannot be accessed anymore
  4. 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...
  5. Laravel Event Projector Package made by Spatie Aggregates, Projectors &

    Reactors Beautifully integrated into Laravel Easy to get started with
  6. Summary Laravel Event Projector Easy to use package to get

    started with event sourcing Projectors Replay capabilities Aggregates