~/talk

State Machine in Elixir with Machinery

Talkat The Conf 2018 · on Wednesday, 2018-11-14· [software-architecture]
slides:none on file

State machines start simple and balloon into tangled logic across models, controllers and UIs; the concrete fix shown is an Elixir library called Machinery that models states, transitions, guards and callbacks on plain data (no extra processes), plugs into Phoenix visualizer for a Trello-like board, and already registers 5,500 downloads. Example: shopping-cart flow with stock checks, item locking/unlocking and payment guards implemented as declared transitions that run before/after hooks — a practical, working replacement for ad hoc Trello-based wiring.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:16Why state machines matter
  3. 8:37What is a state machine
  4. 15:40State machines in real software
  5. 19:57Elixir and functional programming
  6. 23:07Existing state machine solutions
  7. 26:19Introducing Machinery
  8. 29:08Shopping cart example with Machinery
  9. 30:33Visual interface for state machines
  10. 32:39Key takeaways 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.