Django-sockpuppet, an interesting alternative to React, Vue, Angular, or another abandoned Djang battery?
Good day to all!
In this article, I would like to very briefly, without details, talk about an interesting project that, being quite simple, greatly increases the capabilities of the Django framework. It seemed to me quite interesting.
Here are some examples to roughly show the simple capabilities of this project:
In a nutshell, html rendering takes place on the server and the ready-made html code is sent to the client using websockets.
The main advantages of this approach are:
There is no need to create a separate frontend project.
Fully reactive user interface.
Fast speed of application development.
With some modifications, django-sockpuppet can be used in conjunction with wagtail, and any other django projects.
It’s worth noting that out of the box django-sockpuppet will only work with class-based views, so if you need to use function-based views, some manipulation is required.
Here is such a reactive django, thanks for reading, it would be very interesting to know your opinion.