~/talk

What If We Implemented a State Machine to Help the Little Mouse?

TalkinFrenchat DevFest Lille 2024 · 2024-06-06..06-07· [frontend-architecture, software-architecture]
links:none on file
slides:none on file

A 45-minute session that builds a state machine from scratch in Java to manage a complex workflow. It uses a concrete use case—the “tooth fairy” process involving collection, cavity checks, ordering and receiving parts from the Bank of France, database saves, callbacks and final delivery under a pillow—to show how a state-machine pattern replaces tangled if-else logic and coordinates internal/external service calls.

AI-written summary · about

  1. 0:00Introduction
  2. 3:27State machines overview
  3. 7:19Spaghetti code problem
  4. 8:25Defining machine states
  5. 10:20Transitions and actions
  6. 13:50Full process definition
  7. 17:45Launching via Engine
  8. 21:41Execution context
  9. 25:59Final architecture
  10. 28:07Conditions and async
  11. 31:36Full process demo
  12. 34:01Rapid process evolution
  13. 37:15Process restart
  14. 39:20Solutions for the mouse
  15. 40:43Conclusion
~/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.