Hanami - New Ruby Web Framework
summary
Hanami presents a modular Ruby web stack of about ten interchangeable gems, a core team of eight, first released April 6, and a 1.1 prerelease planned for October. It uses one class per action, ROM-style repository + immutable entities for data, view objects instead of helpers, and interactor service objects; runtime is thread-safe and avoids framework magic with zero monkey-patching. Production users include DNSimple and some banks in South America. Tradeoffs: smaller ecosystem, uneven docs, and extra upfront wiring for long-term maintainability and testability.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:59What is Hanami
- 6:58Typical web app parts
- 10:53Rack applications in Hanami
- 12:00Controllers comparison
- 13:46Repository pattern
- 15:38Views in Hanami
- 17:49Pros of Hanami
- 20:36Cons of Hanami
- 22:30Open source projects
- 23:55Resources and contacts
- 24:36Q&A session
related talks
25mHanami - New Ruby Web Framework
23mHanami 2: New Framework, New You
51m"A year with Hanami in production: the Good, the Bad and some Recipes"
36mReturn To Simplicity: Architect Hypermedia REST applications using Hanami + HTMX
27mHanami::API
01h 07mA year with Hanami in production: the Good, the Bad and some Recipes
42mLessons Learned While Building Hanami
29mRamaze: The underrated Web Framework
