How does Flask compare to Bottle ( http://bottlepy.org/docs/dev/index.html )? Any advantages/disadvantages?
Bottle runs on Python 2.5+ and on Python 3.x.
11–20 of 80 posts
How does Flask compare to Bottle ( http://bottlepy.org/docs/dev/index.html )? Any advantages/disadvantages?
Bottle runs on Python 2.5+ and on Python 3.x.
How does Flask compare to Bottle ( http://bottlepy.org/docs/dev/index.html )? Any advantages/disadvantages?
Flask has more features, more and better documentation, a bigger community and ecosystem as well as more developers behind it. Furthermore Bottle does magic that is frowned upon by some people.
Can you elaborate?
Earlier quoted context omitted.
Flask has more features, more and better documentation, a bigger community and ecosystem as well as more developers behind it. Furthermore Bottle does magic that is frowned upon by some people.
"does magic that is frowned upon by some people." Can you elaborate?
By now I really would like to see them merge, but Bottle wants to stick to the design idea of just having one file which Flask will never be able to do because of the dependencies.
Earlier quoted context omitted.
"does magic that is frowned upon by some people." Can you elaborate?
I would describe it more carefully. Bottle's advantage that it's self contained and in a single file, however bottle's design also hides away the application object from you which makes it quite hard to have more than one of them. It is possible with the stacked object thing and I think they changed it even to make it possible to do what Flask did, but when Flask started at least there was a design difference there.…
I really enjoy Flask's simplicity (relative to Django) and light-weightness. It was the first web framework I used, actually. Armin Ronacher & team make quality products.
How does Flask compare to Bottle ( http://bottlepy.org/docs/dev/index.html )? Any advantages/disadvantages?
Flask has more features, more and better documentation, a bigger community and ecosystem as well as more developers behind it. Furthermore Bottle does magic that is frowned upon by some people.
Earlier quoted context omitted.
Flask has more features, more and better documentation, a bigger community and ecosystem as well as more developers behind it. Furthermore Bottle does magic that is frowned upon by some people.
"does magic that is frowned upon by some people." Can you elaborate?
If you use Flask you create the application object explicitly and pass it the name of the module, relative to which Flask looks up resources.
On a slightly related note - although jinja2 is already quite compact, I'm a fan of haml and I'm always surprised by the lack of support for it in Python. Is there something I'm missing? Uncanny valley for Pythonistas?
Earlier quoted context omitted.
Flask has more features, more and better documentation, a bigger community and ecosystem as well as more developers behind it. Furthermore Bottle does magic that is frowned upon by some people.
Then again, I also dislike some of the magic in Flask.
I really enjoy Flask's simplicity (relative to Django) and light-weightness. It was the first web framework I used, actually. Armin Ronacher & team make quality products.
I've been looking at light-weight scripting-language frameworks, any experience with Catalyst? I'm a fan of Perl.