PHP: From Model to Commit - the Short History of an Aggregate
summary
Presentation examines the Aggregate pattern from Domain-Driven Design in a PHP context, following the process from modeling an aggregate to a working implementation. It compares several implementation variants, highlights problems that arise when violating DDD principles (notably boundaries and responsibilities per Eric Evans), and briefly discusses options for persisting the final design in a database.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:37Library example and business rules
- 8:11First approach: loan modeling
- 15:35Concurrency access issues
- 20:10Second approach: library card as aggregate
- 26:54Aggregate pattern
- 33:15Business policies in aggregate
- 39:12Comparison of three approaches
- 41:17Four aggregate design principles
- 45:07Summary and next steps
related talks
50mEntities and Aggregates: The Moment We 'Clicked' and Understood...
50mThe Aggregate is dead. Long live the Aggregate!
50mDeveloping Microservices with Aggregates
48mThe Aggregate is dead. Long live the Aggregate!
01mŁukasz Reszke speaking at DDD Europe 2025
46mNot Just Aggregates: How to Design Complex Domain Algebra
48mObject modeling: Theory vs Practice. Round 1
59mDomain-Driven Design - Where Rubber Meets the Road
