by linuxftw · 3y ago · 0 comments
I'm a backend/infra developer, and I had been dreading having to learn a new front end framework because the work flows just look hideous. This looks like I can sidestep most of that problem entirely.
phoneix channels -> django channels and actvecable but phoenix's version is much more powerful
liveview -> livewire, hotwire. both are copies of liveview but neither of them are as powerful since only liveview can spinup a persistent thread PER user allowing active stateful sessions that can push and recieve events from the client.
Livewire has started at pretty much same time as LiveView and AFAIK both projects influenced each other over the years. Both authors are in contact and the frameworks are quite a bit different because Livewire (in PHP) does everything over http so it has to employ different tactics than LiveView that can run over websockets.
Hotwire on the other hand is from Basecamp who have been using this approach forever. They just packaged their experience into a framework they released. Theoretically hotwire is the oldest of the three.
I am saying this because i don't think you need to use LiveView. All of them are super productive and are used for many real projects. They are just a bit different and better at different things.