Backend driven Frontends
summary
Backend renders HTML and sends incremental updates over server-sent events so pages load small and fast the client library is ~11 KB from a CDN and removes NPM builds the framework exposes reactive signals and a straight protocol so any backend can push DOM morphs the zio-http SDK is ready for Scala integration and examples show full page re-renders are acceptable with Brotli compression achieving extreme ratios and real projects like the billion checkboxes demo run on tiny VPS instances
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:06Frustrations with traditional SPAs
- 5:58Backend-driven frontends
- 7:03HTMX limitations and alternatives
- 10:13Introducing DataStar
- 11:59DataStar with signals
- 16:12Server-sent events superpower
- 19:04Brotli compression gains
- 22:15Live demo: DataStar chat
- 30:21Rendering strategy
- 31:46Conclusion and Q&A
related talks
41mLow-budget JavaScript: composable frontends that are fun and friendly
31mHow I learned to stop worrying and love the frontend
33mRendering on the Web: Performance Implications of Application Architecture
45mNo framework frontends in practice - use the platform!
54mHow to build the modern, optimistic and reactive user interface, we all want.
58mUnderstand the Next Phase of Web Development
46mScaling Micro-Frontends with Custom Elements
31mRethinking composable E-Commerce Frontends
