~/talk

Technically DDD

Talkat Dutch PHP Conference 2018 · 2018-06-07..06-09· [software-architecture]
slides:none on file

Practical DDD approach: start by shipping a guard in the entity to enforce a business rule (e.g., meetings cannot end before they start, program slots cannot overlap in the same room), then implement → extract → refactor into a dedicated value object so invalid state cannot exist, use exceptions and unit tests to keep code shippable, and replace primitives with DateTimeImmutable and domain-specific durations (discovered bugs: inclusive vs exclusive bounds and midnight-crossing rules). Outcome: layered, testable objects and clearer domain intent — the refactors keep behavior while improving meaning.

AI-written summary · about

  1. 0:00Intro
  2. 6:21Value Objects
  3. 10:40Entities
  4. 13:16Services
  5. 15:38Repository
  6. 20:07Anemic model
  7. 23:16Implementation
  8. 27:36Business Rule
  9. 29:40Program Slots
  10. 36:42Conclusion
~/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.