Comment by Genego
5 days ago
I feel very comfortable with Django on the frontend, what are you missing there? I usually use Tailwind or Bulma, with HTMX and AlpineJs. I feel like the experience can be very much React like, even if you leave out HTMX. The frontend game of Django really changed about 2 years ago (at least for me).
Laravel's Blade templates are just absolutely phenomenal. The partial rendering, the integration with Livewire, the first class component paradigm. It's just far beyond stock Django / Jinja at this point and delivers some serious dev experience performance boosts.
https://laravel.com/docs/12.x/blade
Haters are downvoting you probably because of mentioning anything PHP related.
But what you say is true. Blade is amazing.
Glad to hear that works for you. But nothing of what you are mentioning is part of Django, nor an official package,etc.
And I’m not going to get into the details of whether that stack would work for non backend developers, developers working on medium/large projects and/or medium/large teams. That’s a separate and unrelated discussion.
But compare what Django brings you (Stone Age templating system and that’s it) to what Laravel provides out of the box (or via official packages) like assets bundling, live reloading, an amazing and modern template system with proper “component like” partials or even if you need them, the “big guns” such as Inertia or Livewire. More or less the same is true for Rails with the Hotwire stuff.
There’s absolutely no point of comparison here. Even if that works for you, Django is not even in the same league.
It is still a great backend framework though, which was my point.
Wait, When did live reload stop working for Django? While I understand its not out of the box, there are plenty of packages to choose from
https://djangopackages.org/grids/g/asset-managers/ , django-cotton/django-component. Partials are supported now, etc.
Nitpicking...
Great argumentation…