~/talk

From CRUD to DDD: how did we end up here?

Talkat Dutch PHP Conference 2024 · 2024-03-12..03-15· [software-architecture]
slides:none on file

Starts from a CRUD recipe site and shows concrete steps: extract a recipe aggregate to enforce rules like "cannot publish without ingredients", replace full-state edits with intentful commands, route them through a command bus so transactions/logging/queuing become central, separate reads with CQRS and projectors, emit domain events to an event store and replay for reprojection and audit, and optionally snapshot to avoid rebuilding long event streams. The demo notes editing one new field touching seven files.

AI-written summary · about

  1. 0:00CRUD vs DDD evolution
  2. 3:55CRUD as database wrappers
  3. 7:27Logic in aggregates
  4. 12:04Intent with command pattern
  5. 15:16Commands with command bus
  6. 17:46Reads with CQRS
  7. 20:59Models with events
  8. 24:57Events as source of truth
  9. 33:23Complexity vs business needs
  10. 35:30Q&A
~/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.