Return To Hypermedia: Solving Javascript Fatigue Using Fundamental Web Architecture
summary
Argues that returning to coarse‑grained hypermedia reduces “JavaScript fatigue” by keeping server interaction in HTML rather than JSON, demonstrating a 12KB library htmx (~12KB) that adds declarative attributes for active search, inline edit, infinite scroll and swaps HTML partials as responses; shows using hyperscript for small event logic and a sortable.js integration pattern that posts reordered state as hypermedia; notes JetBrains sponsorship and strong Django uptake.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:06What is hypermedia?
- 3:34Understanding JavaScript fatigue
- 5:37Origins of the web and REST
- 9:11Hypermedia vs JSON APIs
- 13:45Web 1.0 limitations and JavaScript
- 17:18Reimagining HTML and hypermedia
- 20:05Introducing HTMX
- 24:00Live demo of HTMX
- 26:50Should we abandon JavaScript?
- 28:15Scripting in hypermedia apps
- 33:17Did we take a wrong turn?
- 36:27Q&A session begins
- 41:23HTMX limitations and alternatives
- 43:31Separation of concerns debate
- 45:17HTMX vs Angular directives
- 47:48Wrap-up and hyperscript
