-
I'm very excited about Django Unicorn. Recently, I stumbled on an older project https://github.com/jonathan-s/django-sockpuppet. I'd love to know if the creators were aware of this project and in what way they do (or will) differentiate. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @tkrugg, thanks for the question! Yep, I call out The major difference (as I see it) is that https://www.django-unicorn.com/docs/faq/#what-is-the-difference-between-unicorn-and-lighter-front-end-frameworks-like-htmx-or-alpine-js talks specifically about Hopefully that all makes sense, but let me know if you have any other questions or comments! |
Beta Was this translation helpful? Give feedback.
Hey @tkrugg, thanks for the question! Yep, I call out
sockpuppet
(and some other related projects) at https://www.django-unicorn.com/docs/#full-stack-framework-python-packages.The major difference (as I see it) is that
Unicorn
is designed to be as easy as possible to add to a Django project which means that it only uses AJAX calls to work its magic. Most of the other projects I know of for Django all use websockets (which requires Django Channels, redis, or some other pub-sub technology). The trade-off is that an AJAX call will be slightly slower than a persistent websocket connection. However, I've spent some time optimizing the size of the network call and provide some ways to reduce t…