Microtalk: Building a Theme Engine w/ Ruby Mustache
summary
VHX ships a theme engine that renders the same Mustache templates on both server and client so sites load pre-rendered HTML for SEO while the editor performs instant updates by sending key/value changes into an iframe and re-rendering with JavaScript Mustache — the demo shows this live preview working via postMessage live preview and browser re-rendering. The system supports master/child themes, published vs draft versions with undo/rollback, server-side caching, and a planned offline dev pack using Ruby Mustache and client Mustache.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:35Background
- 1:19Samples
- 1:51Product Goals
- 2:38Engineering Goals
- 3:18First Goal
- 4:18Mustache
- 5:04JavaScript
- 7:20Architecture
- 7:54Templates
- 8:24Final merged object
related talks
30mMustache in the Front, Mustache in the Back
37mHTMX: Frontend Revolution
49mBring back the joy in web development with HTMX and Hypermedia-Driven Applications
48mClientside templates for reactive UI
26mReimagining dynamic web apps with HTMX
41mRapid server side full stack web development with ViewComponents and htmx
22mJSConf 2015 Andrew Rota
32mWhere did the OO go? Views Should be Objects Too!
