Live data from Hacker News

Hotwire: HTML over the Wire

hotwire.dev

171–180 of 573 posts

Re: Hotwire: HTML over the Wire

#171
post #15

It sounds a lot like Laravel Livewire[1] Also a lot like React Server Components that we saw on HN yesterday[2] It seems like this is the next wave of web apps. Hopefully once the hype settles, we'll be able to decide which approach is best for which project. [1] https://laravel-livewire.com/ [2] https://news.ycombinator.com/item?id=25497065

Livewire, of course, having been heavily inspired by Phoenix LiveView https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html

How does Hotwire compare to Phoenix LiveView?

Re: Hotwire: HTML over the Wire

#172
post #120

This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…

I think I'd be more impressed by this idea if their server wasn't currently down.

Re: Hotwire: HTML over the Wire

#174
post #152

I'm curious how this is different from Turbolinks, which was been available since rails 3.

Turbolinks afaik, loads a larger part of a page upon hover and click, replacing all of the old html while this only updates the parts that has needs updating. This will prevent forms from being cleared or other state in the DOM to be wiped.

Re: Hotwire: HTML over the Wire

#175
This is sort of ironic because many years ago what caused me to move functionality to client side was the fact that Ruby on Rails was slower on server side and required horizontal scale and things like memcached to meet my demands.

Re: Hotwire: HTML over the Wire

#176
post #94

The downside of this is very high coupling between the frontend and the backend. However, many companies have been successful with strong coupling to Rails so maybe it's not a problem.

The backend here _is_ your frontend. Nothing stopping you from adding another service layer behind it.

  The backend here _is_ your frontend.
This supports my argument that there is tight coupling.

Re: Hotwire: HTML over the Wire

#177
post #120

This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…

You went to a school with professors and dismissed their final advice to you as "65+ above white wise men snobbery"? Which part of that is supposed to be a reasonable thing to say?

> Which part of that is supposed to be a reasonable thing to say?

None of it - that's the point. They are self-deprecatingly pointing out how naïve and judgemental their younger-self was.

Re: Hotwire: HTML over the Wire

#178
post #123

I wonder how long it will take before we reinvent SPAs? I like Hacker News in part because the tech is so boring. Server-side rendered, static HTML with a minimal amount of JS[0]. [0]: https://news.ycombinator.com/hn.js

Thanks for the link. I'm new to JS, but it seems funny to me how the first block of one-liner functions reads like it's just making up for how awful the JS standard library is.

Re: Hotwire: HTML over the Wire

#179
post #120

This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…

I like how so nonchalantly you turn this into a racist comment and yet no one is calling you out on it.

Probably because they are relating an anecdote from their past, and self-deprecatingly pointing out how naïve and overly-judgemental they were _back then_.

Re: Hotwire: HTML over the Wire

#180
post #120

This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…

I think I'd be more impressed by this idea if their server wasn't currently down.

It's back up. If you check out the traffic to it, we hugged it to death.
Post reply on HN