~/talk

Tickets Please! A Ticket for the (Command) Bus

TalkinItalianat SymfonyDay 2017 · on Friday, 2017-10-20· [php]
links:none on file
slides:none on file

Demonstrates using SimpleBus Command Bus and Event Bus inside Symfony to refactor a large ticket‑sale controller into small commands, handlers and event subscribers. Shows separating domain entities (constructor validation with external Doctrine mapping) and repository interfaces, and extracting responsibilities—create ticket, send email, send SMS, handle promotion—into independent pieces to build a testable, maintainable ticket‑sale API.

AI-written summary · about

  1. 0:00Series intro
  2. 3:39Ticket sharing problem
  3. 6:59Season 1 and fat controller
  4. 12:19Searching for a solution
  5. 14:06Command Bus and SOLID
  6. 16:57Season 2 fresh start
  7. 23:22Domain-applicative decoupling
  8. 31:34Events and subscribers
  9. 37:42Domain exception handling
  10. 40:07Key concepts summary
  11. 42:16Conclusion and future
~/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.