3 ms·
I thought Flask was a minimal micro framework but this looks as bloated as Django.
by Kiro 14y ago
I thought Flask was a minimal micro framework but this looks as bloated as Django.
- the1 14y agoand it uses a lot more RAM compared to bottle.
- the_mitsuhiko 14y agoThat's to be expected. Flask builds on top of Werkzeug, itsdangerous and blinker whereas Bottle reimplements part of what Flask and the dependency libraries provides itself. However for the vast majority of applications having strong foundations to build upon is the right thing to do.
- Goranek 14y agoFlask is awesome, great job!
- Goranek 14y agoyou've figured that out based on a simple hello world, right?
- irahul 14y agoThe difference between Flask's and Bottle's ram usage will be negligible. Out of box, flask is a wrapper over werkzeug and ships with Jinja2. The main memory usage will come from other libraries and extensions, and your own application code.
- brass9 14y agoFlask is anything but "minimal micro". It's a thin Sinatra-like facade over Werkzeug.
- irahul 14y ago> I thought Flask was a minimal micro framework but this looks as bloated as Django. What kind of web applications have you written, and in what language/frameworks? My experience doesn't match yours. Flask is minimal in the sense that it doesn't add ORM, auth, assets etc to the core framework. There is nothing bloated about Flask, or even Django.
- gsibble 14y agoI think the fact that the tutorial shows off tons of plugins is a little confusing in this case. They aren't necessary at all and with them, it does look bloated.