r/programming • u/xtreak • Apr 27 '18
Flask 1.0 released
https://www.palletsprojects.com/blog/flask-1-0-released/19
u/hamolton Apr 27 '18
Dope! I really like Flask for how easy it is to get little web apps up and running. Maybe it will see more professional use now since it starts with a 1.
8
u/joshuaavalon Apr 27 '18
Is there any major changes from previous version? From the releases note, it does not seems like to have any breaking changes.
5
u/holgerschurig Apr 27 '18
Sounds good to me. So you have this 0.9 version that finally has all the things you want. So name this 1.0 to have some stable base.
Except that in my case, Flask even the Flask from 3 years ago was stable enough for my product :-)
44
u/_INTER_ Apr 27 '18 edited Apr 28 '18
I never realized Flask wasn't 1.0. It always felt completely production ready. I use it in production. Contrast that with any JS framework.
2
u/occz Apr 28 '18
producation
production*
Also, there's nothing particularly wrong with the most popular JavaScript backend frameworks like Express. Some things even feel a bit less magical than when working with flask (like explicit request/response objects instead of the request module and how flask handles view function returns)
2
0
Apr 27 '18
[deleted]
12
4
u/vivainio Apr 27 '18
Your most popular web framework was orphaned iirc
2
0
u/_INTER_ Apr 27 '18
Perhabs it's just the language that makes everything feel unfinished, hacky, risky and like a giant messy workaround.
10
3
u/sign_on_the_window Apr 27 '18
How does Flask compare with Django?
7
Apr 27 '18
Django is more complete. When I was looking to write a little web app, I realized that if I wanted to use Django, I had to *learn* Django deeply. I just wanted to serve dynamic pages. Flask was perfect for that. All I had to do was fill in a couple functions.
11
u/brianly Apr 27 '18
Django is a fully featured framework with opinions on how things should work. It focuses on building apps with a relational database. Flask is a bare-bones web framework that requires you to decide how to interact with the database, handle authentication etc. It's lighter weight and excels at smaller web services, but you can build out your own framework in Flask if you add enough libraries. There are some detailed comparisons available.
1
2
3
u/cryptos6 Apr 27 '18
Why did it take so long to say it is "1.0"? Flask is used in production environments for years and the version number should have reflected this. It is a bad habit to keep 0.x forever (or nearly forever).
15
u/The_yulaow Apr 27 '18
The 1.0 milestone does not depend on how many people/companies use it in production, but on how many of the "core" features are considered complete and stable by the dev team.
-2
0
Apr 27 '18
[deleted]
2
u/mhashemi Apr 28 '18
Hey, good news is that bottle.py, which inspired Flask, is still going strong with ZeroVer! http://bottlepy.org/docs/0.12/
34
u/tjeannin Apr 27 '18
For those who don't know, Flask is one of the most popular python web framework. :)