~/talk

Trailblazer: A new Architecture for Rails

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby-on-rails]
slides:none on file

Trailblazer claims concrete structure: operations are the domain, controllers become tiny dispatchers that only call an operation’s process method, and models only hold associations and scopes while validation and deserialization use Reform. The demo builds a Markdown-enabled blog with nested author forms, uses Cells for view objects, persists on validate/save, and the example runs successfully. File layout groups code by feature in a concepts folder, enabling inheritance of contracts and callbacks and clear, testable separation of HTTP, validation, business logic, and persistence.

AI-written summary · about

  1. 0:00Start
  2. 11:47Helpers
  3. 17:00Active Record
  4. 17:47View Models
  5. 20:26Business Logic
  6. 21:14High Level Architecture
  7. 23:40New File Structure
  8. 28:11Potential in the Future for Separating Trailblazer from Active Record
  9. 30:03Validations
  10. 30:31Active Record Methods
  11. 32:02Post Controller
  12. 37:40Inheritance
  13. 38:03Policies and Authentication
~/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.