~/talk

Technically DDD

slides:none on file

PHP-focused walkthrough of Domain-Driven Design technical building blocks that implements concrete rules: start by enforcing “meetings cannot end before they start” inside a Meeting entity, extract a MeetingDuration value object using DateTimeImmutable, replace arrays with a Program and ProgramSlot value objects, and add an overlaps check to prevent double-booking. Shows fixing two bugs (overnight slots and boundary-equality logic), prefers throwing exceptions in constructors to “make the incorrect inexpressible,” and recommends the iterate-then-refactor pattern: implement rule in entity, extract value object, then refine.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:25What is Domain-Driven Design
  3. 6:55Value objects in DDD
  4. 14:43Entities and their role
  5. 18:39Domain services explained
  6. 22:13DDD technical building blocks recap
  7. 22:35Quiz on DDD concepts
  8. 26:14Case study introduction
  9. 27:19Implementing first rule in entity
  10. 30:59Extracting value objects from rules
  11. 33:31Handling complex business rules
  12. 44:18Exceptions in constructors debate
  13. 46:51Final refactored meeting code
  14. 47:41Room as a value object or string
  15. 51:38Working with client domain knowledge
  16. 54:10When to create value objects
  17. 55:37Recommended DDD resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.