4 ms·
Anyone have experience with Flask vs. CherryPy? I started using CherryPy a few years ago and really liked it, but recently Flask [which looks conceptually simil
by tjr 14y ago
Anyone have experience with Flask vs. CherryPy? I started using CherryPy a few years ago and really liked it, but recently Flask [which looks conceptually similar to CherryPy] seems to be (amongst minimal Python web frameworks) the more hip and popular choice.
- pestaa 14y agoYou can use both of them on the same project. The reason is that CherryPy is primarily a web application server, and Flask is primarily a web framework. (I'm not sure why you would want to do that, because Flask comes with Werkzeug, which is better integrated and I trust its author a bit more.) Also, I've never seen a better documentation than Flask's.
- reinhardt 14y ago> (I'm not sure why you would want to do that, because Flask comes with Werkzeug) Well for one, Cherrypy-the-web-server is actually good enough for production. There is much to be said for the benefits of having the same deployment environment in development and production.
- pestaa 14y agoIf you imply Werkzeug is not production-ready, can you please elaborate why?
- reinhardt 14y agoI don't imply it, it's explicitly spelled out (http://werkzeug.pocoo.org/docs/serving/ http://werkzeug.pocoo.org/docs/serving/): The development server is not intended to be used on production systems. It was designed especially for development purposes and performs poorly under high load. For deployment setups have a look at the Application Deployment pages.