“ What I knew about event sourcing before reading this book I thought was enough to get going, since reading it I realised how many gaps there were in my knowledge. I can now build amazing event sourced systems with confidence thanks to the team at Spatie, worth every penny.
“ My gosh it's good! Super practical and approachable. Manages to anticipate all my questions and inspire new possibilities. Check it out!
A multi-dimensional course
-
Ebook
An extensive book with more than 200 pages, beautifully designed and illustrated. The book will be available in PDF. We'll cover everything related to event sourcing and event-driven design: from the basics of an event-driven mindset to complex event sourcing patterns like CQRS, event versioning and state management.
-
Demo App
Throughout the book we'll build a shopping cart that's more than simplified sample code. It's real code for real applications. You can use it to bootstrap your next big event sourcing project.
-
Package
Learn how to unleash the full power of our popular
laravel-event-sourcing
package in your Laravel app. Check out the extensive documentation. -
Videos
In about 2 hours of video, we build an event sourcing framework from scratch. The book teaches you how to use event sourcing in real applications, and the video course teaches you about the behind-the-scenes.
Table of Contents
- Preface
- Starting with Event Sourcing
The Basics
- Event Driven Design
- The Event Bus
- Events
- Modelling the World
- Storing and Projecting Events
- Projectors in Depth
- Event Queries
- Reactors
- Aggregate Roots
Advanced Patterns
- State Management in Aggregate Roots
- Multi-Entity Aggregate Roots
- State Machines with Aggregate Entities
- The Command Bus
- CQRS
- Sagas
Challenges with Event Sourcing
- Event Versioning
- Snapshotting
- Microservices
- Partial Event Sourcing
- Deployment Strategies
- Notes on Event Storming
Related resources
Learn how to build larger-than-average Laravel applications and maintain them for years to come.
laravel-beyond-crud.com
An ebook on cutting edge tactics in PHP 8, accompanied by videos and practical examples.
front-line-php.com
Watch how to create a Laravel package and become the next package maestro.
laravelpackage.training
A new video course to learn how to write quality tests in Pest and PHPUnit
testing-laravel.com