~/talk

All aboard the Service Bus

slides:none on file

CQRS splits write and read logic so a single use case like updating a product price becomes a small validated command object handled by one command handler, which updates a write store and emits a product price updated event handled by zero or more listeners; recommended PHP libraries are Prooph Service Bus, Simple Bus and Tactician, and Chimera PHP provides middleware plumbing. Commands are always valid, one-to-one with handlers; events are immutable and unordered; query buses exist but add typing and boilerplate and are mainly useful when aggregating multiple data sources or throttling requests.

AI-written summary · about

  1. 0:00Start
  2. 0:08All aboard the Service Bus!
  3. 6:57Before CQRS
  4. 21:23A command is always valid
  5. 22:42Dispatching commands, HTTP
  6. 23:14Dispatching commands.CLI
  7. 23:36Command handlers
  8. 29:47An event holds primitives
  9. 31:05Dispatching events
  10. 32:33Event listeners
  11. 35:45A query is always valid
  12. 36:23Dispatching queries
  13. 36:40Query handlers
  14. 40:02ChimeraPHP
~/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.