Trailblazer A New Architecture For Rails
summary
Trailblazer claims to be a thin architecture on Rails that extracts high‑level endpoints into operations (one public method, process), moves validation into reform form objects, and moves view fragments into cells; it changes file layout to app/concepts, keeps models persistence‑only, lets operations run in background workers, be reused by controllers, consoles and tests, accept JSON or XML, and handles roughly “75%” of common create/validate/save flows while making each use case a small, testable class.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:19Rails architecture limits
- 3:06Introducing Trailblazer
- 6:35Domains and operations
- 10:05Operations explained
- 14:40Live code demo
- 17:46Form objects with Reform
- 20:08Why form objects help
- 24:42Cells for views
- 27:09Cells vs helpers
- 30:38Trailblazer future
related talks
40mTrailblazer: A new Architecture for Rails
41mTrailblazer
41mOff the Tracks - Challenging the Rails Mindset
31mIf it bleeds, it leads
01h 09mRails 3 ...and the real secret to high productivity
46mRails as a piece of birthday cake
01h 47mWorkshop - Applications First, Frameworks Second: Better Systems through Design
24mThe Rails Features we Loved, Lost, and Laughed at
