3 ms·
I thought “HTML over the wire” was literally what the web has always been about from the very start. Even if you redefine “the wire” to “XHR requests” or “Ajax
by eduction 2y ago
I thought “HTML over the wire” was literally what the web has always been about from the very start.
Even if you redefine “the wire” to “XHR requests” or “Ajax requests” it’s still weird to treat this as a revolutionary thing since the “X” in XHR and Ajax is “XML” which is just a sibling markup language to HTML.
Also, IIRC the original Rails approach to Ajax like 15 years ago or so was sending page partials like this.
It feels like we’re going in circles.
(I’ve also never been impressed with their “turbo links” which just seem like “we think we can do caching better than the browser makers” and thus dubious. Core Rails seems great but I’m always wary of this stuff at the edges with the extra dollop of hype.)
- nilamo 2y agoMost dynamic websites do not pass html for updates, the communicate with a backend using json (normally) and the frontend figures out what to do with that data. Hotwire is about removing that JavaScript layer, to have a dynamic app without a heavy UI framework.
- eduction 2y agoYes obviously. It wouldn’t have made sense to say “we are going in circles” otherwise!