4 ms·
How is it a "full-stack framework" when it's "for Django" that provides the backend service? Also on their own homepage they mention "Using other frontend frame
by ofrzeta 3y ago
How is it a "full-stack framework" when it's "for Django" that provides the backend service? Also on their own homepage they mention "Using other
frontend frameworks with Django", so I'll conclude it is in fact a frontend framework for Django.
- deleted 3y ago[deleted]
- pmontra 3y agoThis is subjective and in part marketing but given that it is installed with pip install django-unicorn and used with from django_unicorn.components import UnicornView like any other python module used in a Django app, I'd say that it brings the full stack inside Django, much like its counterparts for Laravel, Phoenix and Rails. What was only backend plus server side generated pages is also Javascript now, written inside the backend without even having to know Javascript.
- ofrzeta 3y agoAs in "alternative views for Django"?
- pmontra 3y agoThey almost surely work together with Django standard views and templates. A Django view prepares the data for the template that renders the HTML page. Then some of that HTML talks with the Unicorn views declared in the attributes of its tags.