~/talk

Knowing Your State Machines

slides:none on file

Explains how to model domain logic as state machines using the Symfony Workflow component and the classic state pattern, with concrete code for can/apply methods, YAML workflow config and a Chrome command that drives email nudges; demos include a job-advert workflow, traffic-light and multi-step form, and a CRM migration. Notes more than 21 events fired per transition and the usefulness of the guard event for authorization; configuration changes update UI behavior (buttons) without changing controllers.

AI-written summary · about

  1. 0:00Introduction to state machines
  2. 1:06Speaker introduction and background
  3. 2:34Graph theory basics and state machines
  4. 7:18State machine examples in real life
  5. 10:05State pattern vs Mealy state machine
  6. 14:20Implementing a traffic light state machine
  7. 18:38Symfony Workflow component overview
  8. 22:05Job advert workflow in code
  9. 23:32State machine vs workflow differences
  10. 25:20Workflow events and guard conditions
  11. 28:13Debugging and domain-specific workflows
  12. 30:30Visualizing workflows with Graphviz
  13. 30:52When to use state machines
  14. 32:32Resources and Q&A
~/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.