~/talk

SOLID Golden Hammer

Talkat RubyConf TH 2026 · 2026-01-31..02-01· [software-architecture]
links:none on file
slides:none on file

Argues for a concrete Rails architecture that splits data and logic into two kinds of objects: typed structures (uses dry-struct, Money gem types) and small stateless behaviors with a single call method (built with dry-initializer), passing DTOs and a uniform params+context interface. Shows a gateway layer (Faraday-based requests and typed responses), a composable sequence pipeline and transaction component, extraction of persistence, and an example e‑commerce order flow where each step is replaceable and testable.

AI-written summary · about

  1. 0:00SOLID Golden Hammer intro
  2. 1:09Rails app growth problems
  3. 2:36Services don't solve architecture
  4. 4:02SOLID and OO patterns
  5. 6:11Golden hammer explained
  6. 9:00Live e-commerce demo
  7. 12:09Gateway boundary implementation
  8. 17:09Functional core with calculator
  9. 19:40Pipeline orchestration
  10. 22:49Unified pipeline interface
  11. 26:21Result object intro
  12. 27:45Sequence component abstraction
  13. 29:09Transaction component abstraction
  14. 30:34Golden hammer benefits
~/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.