Live data from Hacker News

New Werkzeug and Flask Releases

lucumr.pocoo.org

21–30 of 59 posts

Re: New Werkzeug and Flask Releases

#21
post #20

Earlier quoted context omitted.

It's in a single file which happens to be a little under 3500 lines long ...

Right, he's implying that the implementation is not as complete, or is incorrect because the problem space is more complex than that.

I doubt he or she was aware it was 3500 lines long. While not the same as 15000, it isn't all that far off.

Re: New Werkzeug and Flask Releases

#22
post #20

Earlier quoted context omitted.

Right, he's implying that the implementation is not as complete, or is incorrect because the problem space is more complex than that.

I doubt he or she was aware it was 3500 lines long. While not the same as 15000, it isn't all that far off.

I am pretty certain that he, the_mitsuhiko (aka. Armin Ronacher), being the main developer behind Werkzeug and Flask knows exactly how long bottle.py is.

Re: New Werkzeug and Flask Releases

#23
I picked up flask for a one off helpdesk request frontend for someone a few months ago.

Compared to asp.net, its an absolute joy to work with. It makes me not want to grind my face off with a blunt spoon :)

Glad to see some awesome progress with it.

Re: New Werkzeug and Flask Releases

#24
I read somewhere that Flask was born as an Aprils first joke.

So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

Re: New Werkzeug and Flask Releases

#25
post #24

I read somewhere that Flask was born as an Aprils first joke. So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

Yes, it's pretty reliable.

We (mailgun.com) use it in production, our deployment handles thousands of requests/sec, we have not seen any flask-related issues so far in 2+ years.

You can use pool of flask + twisted powered services behind nginxes:

Nginx ---upstream pool--> twisted.wsgi + thread pool + flask app

Something like that:

https://gist.github.com/klizhentas/5775158

Re: New Werkzeug and Flask Releases

#26
post #24

I read somewhere that Flask was born as an Aprils first joke. So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

Regardless of Flask's humble beginnings, it is indeed a serious project, very stable, and quite awesome. And yes, I would recommend it for your use, assuming you want to learn Python as a whole. Flask is easy enough that you can start building an app right away, but at the same time, it leaves out all the extra 'magic' that ship with things like Django, so you'll be learning a lot more Python as you add onto your app. It's a great mix of simplicity and power, and is great for learning. Go for it.

Re: New Werkzeug and Flask Releases

#27
post #24

I read somewhere that Flask was born as an Aprils first joke. So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

Disqus were using it: https://ep2013.europython.eu/conference/talks/making-disqus-...

Though I think they may have recently replaced this bit of their architecture with Go?

FWIW, I've chosen Flask to power my startup and have no regrets at all. It's a joy to work with and rock solid :)

Re: New Werkzeug and Flask Releases

#28
post #24

I read somewhere that Flask was born as an Aprils first joke. So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

Please check out PyPI result page https://pypi.python.org/pypi?%3Aaction=search&term=flask&sub... it shows more than 400 related modules. Think it looks pretty serious.

Re: New Werkzeug and Flask Releases

#29
post #24

I read somewhere that Flask was born as an Aprils first joke. So I ask. How safe is it to use in a real project? Is it a serious project today? Would you recommend Flask to someone who has never done any server side programming?

It's definitely production ready. We are using it everywhere in Close.io (http://close.io/)

If you're building a complex web app with it, just be sure to checkout all the Flask extensions so you don't have to reinvent the wheel too much.

Post reply on HN