CQRS and Event Sourcing Basics
summary
CQRS and Event Sourcing are presented as approaches to handle complexity in cloud-native web applications and microservices; the talk explains using asynchronous service communication, clear bounded contexts, and Domain-Driven Design to build scalable, extensible PHP applications with high business value. It highlights the prooph components as tooling for these patterns and shows how they integrate with the Symfony framework.
AI-written summary · about
chapters (21)
- 0:00CQRS and Event Sourcing intro
- 5:04When to use Event Sourcing
- 7:12Event Sourcing benefits
- 8:45What are Domain Events
- 10:11Event Storming for events
- 12:41Domain boundaries and mapping
- 15:31Event Sourcing vs traditional
- 19:25Solving consistency issues
- 21:39Reconstructing state from events
- 23:29Event history in production
- 27:47Temporal queries with ES
- 31:30CQRS explained
- 31:51Read/write model separation
- 35:52Optimizing read performance
- 36:34Projections and caching
- 38:06ES components overview
- 39:28Example configuration
- 42:17Aggregate and repository
- 43:19Tutorial and resources
- 44:25REST vs ES endpoints
- 47:41Q&A
