Hanami 2: New Framework, New You
summary
Hanami 2.0 ships (released two weeks before the conference) and shows how to build apps around a central container that registers components (repos, actions, settings) and wires them with a deps mixin so exactly one action per endpoint uses tested components. Routes, param schemas, providers and prepare boot mode speed development and tests. Slices introduce modular domains and you can drop web gems to make CLIs, Kafka consumers or serverless functions. Examples include a books index, a repo returning sample items, and fast console access.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:03Ruby resolutions
- 2:28Hanami 2.0 release
- 3:51Talk plan overview
- 4:17Install Hanami app
- 5:20Generating and understanding actions
- 6:44Dependency injection
- 8:07Dry-effects usage
- 8:48Server and testing
- 9:09Test actions directly
- 10:09Hanami console
- 11:11Configuring settings
- 12:15External providers
- 12:56Organizing apps with slices
- 13:58Slice dependencies
- 14:40Cross-slice imports
- 15:23Beyond web apps
- 16:26Developer growth
- 17:30Separate logic
- 18:13Modularity skills
- 19:35Personal journey
- 21:20New framework tips
- 22:22Resources
related talks
25mHanami - New Ruby Web Framework
42mHanami - New Ruby Web Framework
36mReturn To Simplicity: Architect Hypermedia REST applications using Hanami + HTMX
51m"A year with Hanami in production: the Good, the Bad and some Recipes"
42mLessons Learned While Building Hanami
01h 07mA year with Hanami in production: the Good, the Bad and some Recipes
38mTaking Refinery off the Rails
01h 47mWorkshop - Applications First, Frameworks Second: Better Systems through Design
