FWIW most of the companies using Phoenix (Elixir) that I've talked with are sending HTML over the wire, either with LiveView or traditional Views.
Ask HN: What companies are embracing “HTML over the wire”?
31–40 of 192 posts
Re: Ask HN: What companies are embracing “HTML over the wire”?
#32Is “HTML over the wire” a new buzzword for SSR or is there a difference I'm missing?
It is rendered server side, but typically the server keeps track of only what needs to change and sends as small as possible an update to dynamically update the DOM. You end up with a user experience that feels close to an SPA, but a dev experience that feels close to traditional SSR.
Re: Ask HN: What companies are embracing “HTML over the wire”?
#33Re: Ask HN: What companies are embracing “HTML over the wire”?
#34You can also go to the extreme of "jpeg over the wire". Your "web browser" could probably be implemented in <1000 lines of of code ;) No state, no cookies, no million lines of bundled JavaScript.
There might be something that's good enough through css, not sure.
Re: Ask HN: What companies are embracing “HTML over the wire”?
#35Re: Ask HN: What companies are embracing “HTML over the wire”?
#36You don't even need a fancy "send html fragments over the wire" approach to create a better user and developer experience. Just sending full pages, server side rendered, like Hacker News and Wikipedia do is fine: Going from the HN homepage to this topic we are on: 36 KB in 5 requests. Going from the Wikipedia Homepage to an article: 824 KB in 25 requests Going from the AirBnB homepage to an apartment listing: 11.4 MB…
old.reddit feels fast, which is why I use the Old Reddit Redirect extension.
What's funny is that the old Reddit makes use of dynamic loading of content here and there the right way. The "load more comments" of the old Reddit is nice and fast. While the "continue this thread" of the new Reddit is annoying and slow.
Re: Ask HN: What companies are embracing “HTML over the wire”?
#37You can also go to the extreme of "jpeg over the wire". Your "web browser" could probably be implemented in <1000 lines of of code ;) No state, no cookies, no million lines of bundled JavaScript.
Re: Ask HN: What companies are embracing “HTML over the wire”?
#38Earlier quoted context omitted.
It is rendered server side, but typically the server keeps track of only what needs to change and sends as small as possible an update to dynamically update the DOM. You end up with a user experience that feels close to an SPA, but a dev experience that feels close to traditional SSR.
Having only worked at SPA places, it's hard for me to imagine not having tools like Storybook, Chromatic, and Mocked Service Workers. Building the UI in isolation means with mocked API responses means I can, in parallel, validate 1000's of use cases with pixel-level precision. The backend teams can keep their focus on scalable, performant APIs. The frontend teams can focus on accessibility, consistency, etc. I've fou…
Re: Ask HN: What companies are embracing “HTML over the wire”?
#39Re: Ask HN: What companies are embracing “HTML over the wire”?
#40I was just watching a talk about htmx which is awesome looking. i'm a rails guy myself so i am really interested in using hotwire in some projects. htmx looks like a very nice crossplatform approach. https://htmx.org/ Here is the talk: https://htmx.org/essays/a-real-world-react-to-htmx-port/