~/talk

Domain-driven design with API Platform 3

Talkat API Platform Conference 2022 · 2022-09-15..09-16· [php, software-architecture]
name:M. Arlaud
links:none on file
name:R. Chalas
links:none on file
slides:none on file

Project shows a hexagonal layout with Domain/Application/Infrastructure folders, separates rich domain models from API resources, and implements use cases with plain PHP queries and commands (example: FindCheapestBooksQuery -> handler -> provider for URL /books/cheapest). Writes use cases via a processor that dispatches a DiscountBookCommand and then maps domain entities back to API resources. Notes that API Platform 3 lets operations reference provider/processor classes directly and that simple subscription CRUD stays RAD in its own bounded context.

AI-written summary · about

  1. 0:00DDD and API platform
  2. 2:46Architecture comparison
  3. 4:38Project structure
  4. 7:22Layered design
  5. 12:16Domain modeling
  6. 18:26Application layer
  7. 22:58Infrastructure implementation
  8. 30:39Writing use cases
  9. 33:55Bounded contexts
  10. 38:36Conclusion
~/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.