~/talk

A state of Mind

Talkat Forum PHP 2014 · 2014-10-23..10-24· [software-architecture]
slides:none on file

Demo shows that using the state design pattern makes domain rules explicit, testable and located in one place. A small XML state-machine (pending, accepted, paid, shipped, rejected, closed) generates PHP code, Graphviz diagrams and PHPUnit tests so transitions and query methods are created automatically. Codegen produces readable classes and executable specs from the same source; it works as a proof of concept on GitHub but remains unproven in a full production app.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Web applications
  3. 2:49Business domain
  4. 5:43Pain
  5. 8:28State
  6. 8:58Example
  7. 10:15Implementation
  8. 14:50Visualization
  9. 19:35State Machine
  10. 25:25Code Generator
  11. 28:05Generated Tests
  12. 29:45Cogeneration
  13. 33:15Summary
~/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.