Live data from Hacker News

Flask 1.0 Released

palletsprojects.com

1–10 of 184 posts

Re: Flask 1.0 Released

#3
Never even realised it wasn't 1.0, maybe I should pay attention to version numbers. Changelog looks good!

I've never understood logging in Flask or how to do it in a sane way for a simple app while using uWSGI, so I'm glad that has some improvements. I don't remember my exact issues but I couldn't get configuration from a text file to work and for some reason configuring it in-code wouldn't work either. I don't understand python's logger in general so I'm sure that's part of the problem. The changelog is vague on details, but hopefully whatever was modified really does make things simpler and solves my issues for me.

Re: Flask 1.0 Released

#4
Love Flask. It is my favorite back-end framework and has fit all of my needs. Getting a server up and running with Flask is incredibly simple and if anybody hasn't played with it yet, I highly recommend it.

Re: Flask 1.0 Released

#5
Flask is an interesting project. Created by a true Python master only to be nearly abandoned, and yet it remained so popular it was later revived by a new group without a major fork. How often does THAT happen?

The post describes it as "stable for a long time" :)

Re: Flask 1.0 Released

#6
This is epic. In theory now from V1 onwards it should be easier to convince people at big serious corps to use Flask as it cuts down a lot of Django bloat especially for smaller applications, microservices and other nimble backends.

Re: Flask 1.0 Released

#7
I understand that Flask has become popular because it is easy to learn, but my experience is that as your knowledge progresses it just keeps getting in your way. I particularly dislike some design choices which look like afterthought hacks, such as global variables for current request and using abort() functions instead of raising exceptions directly.

EDIT: To avoid hollow naysaying, here are some alternatives to Flask I find much better designed:

    - Tornado Web Framework [0]
    - Falcon [1]
[0] http://www.tornadoweb.org/en/stable/webframework.html

[1] https://falconframework.org/

Re: Flask 1.0 Released

#8

Flask is an interesting project. Created by a true Python master only to be nearly abandoned, and yet it remained so popular it was later revived by a new group without a major fork. How often does THAT happen? The post describes it as "stable for a long time" :)

It wasn't abandoned it just doesn't need very many updates anymore.

Also there was no new group this is the official Flask repo.

Re: Flask 1.0 Released

#9
post #6

This is epic. In theory now from V1 onwards it should be easier to convince people at big serious corps to use Flask as it cuts down a lot of Django bloat especially for smaller applications, microservices and other nimble backends.

You don't have to use the Django "bloat": https://github.com/syntarsus/minimal-django

Re: Flask 1.0 Released

#10
I don't understand why use Flask instead of Django, I usually work with a lot of crud systems, I think that Django is the best option to do it. I think that Django is better because it has an autogenerated admin site and this is really helpful when you work with the customers, they can easily populate the database while you work in the logic
Post reply on HN