Replies: 1 comment 3 replies
-
@nerdoc Blasphemy! ;) Not dealing with setting up django-channels, redis, etc and a simpler deployment seems like an ok trade-off to me for the sorts of sites that I end up building. I'm not completely against websockets, though. If someone wanted to create a another transport for |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Maybe it's blasphemic, and I don't want to start a troll question... But: I used a bunch of similar projects (Sockpuppet, reactor, partly htmlx), and of course tested Vue, Svelte, Alpine etc.
I think Unicorn is the most convenient and most pythonic/djangonic way to get that stuff done. It just comes to my mind that ajax calls are slower than websockets, because you have to make a HTTP request each time, which costs time, as said in another discussion.
The main issue IMHO is another: websockets allow bi-directional communication, so, using channels, push notifications could be established for a component.
Is there something planned for Unicorn as well? Is there a possibility Unicorn moves to websockets any time in future?
Beta Was this translation helpful? Give feedback.
All reactions