~/talk

Ultra Light and Maintainable Rails Wizards

Talkat RailsConf 2014 · 2014-04-22..04-25· [ruby-on-rails, frontend-architecture]

Claims a concrete pattern: one main ActiveRecord plus presenter per step that validates only that part, controller-as-control-flow with RESTful URLs for nested model parts, and no client-side state tricks. Example uses a four steps wizard for EarlyShare, persists each step server-side, and reduces controllers/tests so a rewrite ships in about 7 days where a previous design took a month. Gems mentioned: wicked for stepping; ultralightwizard planned; implementation works and stays maintainable.

AI-written summary · about

  1. 0:00Start
  2. 4:16Basic Info
  3. 4:28Preview
  4. 6:12One Controller Per Wizard Step
  5. 9:25One Action/Presenter Per Wizard Step
  6. 9:46One Action Presenter Per Wizard Step
  7. 10:52Session Accumulation
  8. 13:33Hidden Value Accumulation
  9. 28:23Routes
  10. 28:50Step Sub-Models aka Model Parts
  11. 30:03Projects Controller
  12. 33:06Step View Template Example
~/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.