~/talk

What if We Implemented a State Machine from Scratch to Help the Little Mouse?

TalkinFrenchat Voxxed Days Luxembourg 2024 · 2024-06-20..06-21· [frontend-architecture]
links:none on file
slides:none on file

A from-scratch state machine implemented in Java with a plain-Java core and a Spring wrapper models a tooth-for-money workflow (tooth received → verify → request money → wait → deliver → finish). It includes an Engine class for launch/relaunch, a ProcessExecutionContext that records step history for a dashboard, MongoDB persistence for runtime visibility, conditional/prioritized transitions, async pause and retry of a failed step, and the code is available on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 3:11What is a state machine
  3. 8:06Spaghetti code problem
  4. 16:15Creating states and transitions
  5. 22:45Process visibility and control
  6. 27:30Process history and persistence
  7. 33:11Handling conditions and async
  8. 36:03Adding a new step
  9. 38:53Failure handling and retries
  10. 41:23Summary and implementation benefits
  11. 42:45Alternatives and conclusion
~/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.