Extending vs Scripting: Lessons from building the Hyperview client
summary
HyperView (HXML + a client) powers two Instawork mobile apps with hundreds of screens and uses server-driven UI so updates skip app store reviews and avoid version fragmentation. The client forbids no scripting in HXML; instead it embeds React Native code as custom behaviors and custom components that are bundled into the app. Examples: a declarative confirmation dialog, a toast action wired to a third‑party library, and a reusable swipe‑row component — dozens of extensions exist and they work in production.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker intro
- 0:41Web dev and HTMX familiarity
- 2:04Problem with scripting in hypermedia
- 2:26What is HyperView
- 3:28Why server-driven mobile apps
- 4:35No scripting in HyperView
- 5:17Extending vs scripting explained
- 7:05Custom behaviors in HyperView
- 9:53HyperView vs HTMX example
- 11:18Extending client with custom behaviors
- 13:03Custom components in HyperView
- 15:29Benefits of extending client
- 16:11Scripting vs extending summary
- 17:39Separation of concerns in hypermedia
- 19:06Applying ideas to web development
- 21:33Web components as extensions
- 22:18Future of behaviors on the web
- 23:25Q&A on hypermedia paradigm
