~/talk

PHP + ES + CQRS + DDD = ? An integrated strategy

Talkat phpday 2022 · 2022-05-19..05-20· [php]
slides:none on file

Claims a practical path to add DDD + CQRS + Event Sourcing to an existing PHP codebase: use the EventSauce library, serialize events to JSON in a single events table with an aggregate-version unique index to guard concurrency, generate new events from legacy rows via an event generator and perform dual-write migration inside DB transactions so old code keeps working, and build projections/read models for queries. Gives DBAL/MySQL and UUID details, notes real projects hit tens of millions of events but remain performant.

AI-written summary · about

  1. 0:00Start
  2. 4:51COMMON APPROACHES
  3. 7:50THE EVOLUTION OF DDD - CQRS - CQRS/ES
  4. 8:48THE WORKSHOP
  5. 14:02DOMAIN DRIVEN DESIGN + CQRS/ES
  6. 19:12THE DDD "ONION" / LAYERS
  7. 23:57AGGREGATE ROOT ID - UUID
  8. 27:57AGGREGATE ROOT - TRAIT
  9. 30:11AGGREGATE ROOT REPOSITORY 1/2
  10. 33:44EVENTSAUCE LIFECYCLE
  11. 35:18GREEN FIELD VS RUNNING PROJECT
  12. 36:31THE BREAKTHROUGH
  13. 40:03HOW TO ITERATE
  14. 41:55DISADVANTAGES / PITFALLS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.