Django #16
metaperl
started this conversation in
Framework Discussion: Specific
Django
#16
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Django can be considered a pure Python web framework. In most cases, one still uses CSS and HTML, but one does not use
Javascript. I think the main aim of pure Python web frameworks is to eliminate using another turing-complete language (Javascript).
Also, there are plenty of libraries that allow one to generate CSS and HTML via Python.
Django with Hypergen
Hypergen is a production-ready solution, having been deployed in projects spanning tens of thousands of lines, serving over 100,000 unique users more than 10 million requests.
In hypergen you craft templates using pure Python. Instead of declaring
<p>hi</p>
in an HTML file, simply invokep("hi")
within your view. Composing Python functions keeps templates DRY and streamlined. If you've ever written JSX, Hypergen's syntax will feel familiar.Hypergen has Reactive Liveviews: Effortlessly bridge frontend and backend. Connect browser events like onclick straight to backend actions. With these actions, Django views can instantly refresh the frontend with new HTML, send notifications, and more, all while natively working with Python data types.
It also has Websockets: Hypergen brings realtime to the forefront with Django Channels. Set up is a breeze - quickly establish consumers and instantly react to live events. It's realtime made simple and friendly.
Production Ready: We've deployed Hypergen in projects spanning tens of thousands
Django with HTMX / Unpoly
HTMX and Unpoly can both be used with Django to create single-page
web applications that are reactive and responsive but without the need to code in Javascript.
Django and HTML Over the Wire
The book Building SPAs with Django and HTML Over the Wire teaches how to build a single-page application (SPA) in Django withouts learning a JavaScript rendering framework such as React, Vue, or Angular. Instead you move the logic to Python.
Django LiveViews
Django LiveViews is where I learned about the book "Django and HTML Over the Wire".
The developer and user community for this project appear to be quite small.
Beta Was this translation helpful? Give feedback.
All reactions