html-over-the-wire
reactor
html-over-the-wire | reactor | |
---|---|---|
3 | 11 | |
60 | 613 | |
- | - | |
0.0 | 7.1 | |
over 1 year ago | about 2 months ago | |
Python | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
html-over-the-wire
-
RVTWS: a Ruby stack for modern web apps
At the heart of Turbo is "HTML over the wire" (for which HOTWire is an acronym), which means the server sending HTML fragments for partial page updates, which (here's the big win) eliminates the need for client-side state management. There are lots of tools taking this approach now.
-
HTML over-the-wire is the future of Web Development
html-over-the-wire
-
Hotwire: HTML over the Wire
I looked at several html-over-the-wire frameworks during the last weeks and wrote down my opinionated perspective.
I think I will go with htmx.
If you want to know more: https://github.com/guettli/html-over-the-wire
reactor
- Reactor, a LiveView Library for Django
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Django equivalent to Rails Hotwire
-
Back-end languages are coming to the front-end
I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.
This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.
Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.
Other Django libraries that haven't quite seen as much uptake:
We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).
-
Reactive Clojure: You don't need a web framework, you need a web language
Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].
[0]: https://github.com/edelvalle/reactor
I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)
-
How to combine Rails's Ajax support and Stimulus
If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
-
Phoenix LiveView/Laravel LiveWire alternatives for Django
Reactor
-
HTML over-the-wire is the future of Web Development
Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
-
Django with htmx for easy and efficient SPAs
It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
-
StimulusReflex, or LiveView for Rails
Django does: https://github.com/edelvalle/reactor
What are some alternatives?
intercooler-js - Making AJAX as easy as anchor tags
django-unicorn - The magical reactive component framework for Django ✨
Django - The Web framework for perfectionists with deadlines.
django-htmx - Extensions for using Django with htmx.
wtfjs - 🤪 A list of funny and tricky JavaScript examples
turbo - The speed of a single-page web application without having to write any JavaScript
morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
Phoenix - Peace of mind from prototype to production
Stimulus - A modest JavaScript framework for the HTML you already have
htmx - </> htmx - high power tools for HTML
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications