News for hackers. Stuff that matters.
Re:Htmx Is the Future by BiteCode_dev on Friday May 05, 2023 @12:40PM (#35831772)
Django comes with a lot: auth, caching, csrf protection, an orm, the admin, form workflow, and yet doesn't come with thousands of deps.
Re:Htmx Is the Future by minusf on Friday May 05, 2023 @01:00PM (#35832065)
it comes exactly with 2 on latest python versions
Re:Htmx Is the Future by courgette on Friday May 05, 2023 @04:06PM (#35834496)
I maintains a side project in Django since 5+ years now.

The scope has been reduce to almost nothing. I have spend like 20h on it in 2022. But it still being used.

Django helps by how boring and solid it feels.

A similar project in node would probably not build anymore

Re:Htmx Is the Future by BiteCode_dev on Friday May 05, 2023 @04:39PM (#35834866)
I know of a 15 years django project that runs on 2.7 that is still making money. It got reinstalled on brand new Ubuntu servers out of a rubbish requirements.txt, and it worked.

So much for saying python packaging sucks.

Re:Htmx Is the Future by Maxion on Tuesday May 09, 2023 @07:34AM (#35872749)
Yep, same.

Django can also serve a boatload of concurrent users, way more than one would think. It is a boring, old-fashioned, but stable and very functional framework.

Re:Htmx Is the Future by hirako2000 on Saturday May 06, 2023 @11:03AM (#35842031)
Maybe django is less so a dependency bloat than most other frameworks. Just called out the common consequences of getting more. You get more.

Npm projects are likely the most bloated by far, but also are java based projects, just look at Spring.

Calling out a python framework or some Go lean solution being the exception of the rule is fair enough, my point is developers expect everything and have little to do but rapid painless developement

I would love to hear about those asked to migrate their python 2.7 django ecommerce app to python3 since v2 is totally dead and unmaintained posing serious security risks. But sure if we forgo these things, and don't ever need to touch the code again, some frameworks have no downside. Makes a certain kind of developers finally be right.