~/talk

Slicing and Dicing Through Complexity with Hanami

Talkat Rocky Mountain Ruby 2025 · 2025-10-06..10-07· [ruby, frontend-architecture]
links:none on file
slides:none on file

Hanami claims a feature-first modular monolith: slices are mountable and even independently deployable, letting billing live isolated from auth while integrating through explicit interfaces. The stack uses ROM + dry-rb for persistence and operations: relations return immutable structs, repos materialize with to_a/one, and dry-monads yield success/failure flows. Actions are single-class callables, views are plain Ruby parts, and memoizing actions shows an observed 8× speedup in request handling.

AI-written summary · about

  1. 0:00Introduction to Hanami
  2. 0:31Philosophy and core components
  3. 6:06Beyond traditional MVC
  4. 8:41Story and design differences
  5. 13:05History of the framework
  6. 13:54Hanami architecture overview
  7. 16:20Slices and containers
  8. 21:38Dicing up MVC: Actions
  9. 25:37Views, parts, and context
  10. 27:37DB layer and repositories
  11. 32:13Operations and testing
  12. 33:53Rails integration and performance
  13. 34:27Community and conclusion
~/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.