~/talk

Strategic Domain Driven Design in CakePHP How to Get Organized and Get Started

Talkat CakeFest 2022 · 2022-09-29..09-30· [software-architecture, php]
links:none on file
slides:none on file

A practical recipe for starting Strategic DDD in CakePHP: create a bounded_context folder per domain, put Application Services, Domain Model, Factory and Repository inside, and build a tiny feature (a count events command) wired by a factory to R-prefixed repositories. Implementation uses CakePHP table models only inside repositories, a manual transaction+flush for invariants, and an in-memory capture of exception reports flushed outside the transaction. The approach handles the jump from 30 to 30,000 users and proves workable after a three‑year rewrite.

AI-written summary · about

  1. 0:00The Plan
  2. 3:11Marketable Skill
  3. 13:23Tactical Patterns
  4. 19:25Application Service
  5. 20:06Protective Boundaries Folders are software layers
  6. 21:42Boundary Crossing
  7. 25:14The Crucial Concept DDD's Aggregate pattern
  8. 28:47Aggregate's Power At design not implementation
  9. 39:27Repository Manual transaction
  10. 41:50Record Exception
  11. 45:18Summary
~/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.