~/talk

From chaos to elegance refactoring complex workflows with events

TalkinFrenchat DevFest Toulouse 2025 · on Thursday, 2025-11-13· [frontend-architecture]
links:none on file
slides:none on file

Refactors a messy Roland Garros ticket payment flow (PSP, 3DS, backoffice) into a synchronous event-driven choreography that breaks monolithic use cases into small commanders and listeners. Implements a hand-rolled command bus and event bus with decorator middleware, keeps workflows observable via logging and sequence diagrams, and handles concrete failures (backoffice rejections and failed bank cancellations that trigger a support email). The refactor reduced end-to-end tests from many to three.

AI-written summary · about

  1. 0:00Event-driven intro
  2. 4:41Orchestration vs choreography
  3. 6:24Observer pattern
  4. 13:47Commands in events
  5. 17:39Payment demo
  6. 20:50Test duplication issues
  7. 21:11Refactor to choreography
  8. 32:37Choreography pros and cons
  9. 38:13Readable choreographies
  10. 39:36Prerequisites and best practices
  11. 41:00Conclusion
~/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.