Return To Simplicity: Architect Hypermedia REST applications using Hanami + HTMX
summary
Claims a working Hanami + HTMX stack that replaces heavy JS frontends: demo repository with incremental commits shows a task app that actually deletes and searches items using real HTTP verbs, server-side partials and hx-trigger keyup debouncing, hx-push-url history updates, and an htx loader spinner. Uses dry-rb types/containers, ROM persistence, dependency injection via a container, and a convenience gem Hanami Smith to scaffold projects; Hanami 2.1 is noted as beta. Everything runs locally and quickly in the demo, with concrete code for params validation, partial rendering, and response headers.
AI-written summary · about
chapters (7)
- 0:00Simplicity in web development
- 3:53Modern JS stack problems
- 10:54Hanami architecture
- 16:51Dependency injection in Hanami
- 22:05HTMX history and purpose
- 27:20HTMX search functionality
- 34:30Hypermedia REST simplicity
related talks
25mHanami - New Ruby Web Framework
49mBring back the joy in web development with HTMX and Hypermedia-Driven Applications
42mHanami - New Ruby Web Framework
30mTerminus: A Hanami + htmx web application for e-ink devices
57mHTMX: Why You Don't Always Need a SPA Framework
26mReimagining dynamic web apps with HTMX
23mHanami 2: New Framework, New You
54mHTMX: Web 1.0 with web 2.0 benefits without the grift of 3.0
