News for hackers. Stuff that matters.
[dead]
Re:Python Is Eating the World by Daishiman on Monday August 12, 2019 @03:44AM (#20673349)
I'll take a framework that has worked effectively for a decade without significant changes where I can use all my accumulated experience to get things done over the random musings and experimentation of the half-baked JS libraries where you're stuck for hours solving relatively trivial issues that I have never had to think about in DRF because DRF just works and is backed by some of the most experienced people in API architecture in the industry.

When you think about and iterate judiciously in a problem domain over a decade instead of trying something different every day to see what sticks, you'll see you can get remarkably far.

Re:Python Is Eating the World by poooogles on Monday August 12, 2019 @07:48AM (#20674512)
>Oh nice, you have two frameworks. Well, whatever suits your fixed mindset.

Let me see, you've got Django, DRF, Flask, Flask-Restful, Flask-Restplus, Flask-API, sanic, pyramid, Cornice, hug, falcon, eve, bottle, tornado, aiohttp, vibora, weppy, starlette...

Those are just some that I've picked out of my head.

Re:Python Is Eating the World by trilila on Monday August 12, 2019 @08:00AM (#20674575)
Most of those enumerations are Flask, and the others are basically useless.
Re:Python Is Eating the World by Daishiman on Monday August 12, 2019 @12:01PM (#20676658)
And what exactly are Flask and Django missing to merit more packages doing the same thing?

Routing requests and managing HTTP fundamentals is a solved problem. There is literally zero value in adding another framework when the real complexity is in business logic.

Re:Python Is Eating the World by trilila on Monday August 12, 2019 @12:41PM (#20677119)
That’s the issue. These are routing requests and not much more. I recommend looking around at java, node, php, c# web frameworks for more details on what a web framework should do. Sqlalchemy and other hobby libs can extend flask and django but those are similarly limited.
Re:Python Is Eating the World by Daishiman on Monday August 12, 2019 @02:37PM (#20678437)
Then you've not really delved into the issue at all.

Django does routing, forms, ORM, templates, APIs, GIS, you name it. Flask is more minimialist and expects third-party package for this.

Django also has a very extensive ecosystem of libraries for managing the common web use cases.