3 ms·
Bottle uses one process-wide application object. Flask supports initializing multiple application objects (such as for testing the app with different configurat
by enduser 16y ago
Bottle uses one process-wide application object. Flask supports initializing multiple application objects (such as for testing the app with different configurations).
Flask is built on top of the feature-rich Werkzeug library, which can significantly reduce the amount of code you must write for more complex applications. It is straightforward to refactor Flask out of your code and use Werkzeug directly.
Flask has a growing community of contributors. See the extensions library: http://flask.pocoo.org/extensions/ http://flask.pocoo.org/extensions/
In a nutshell, Bottle is suitable for very simple websites. Flask has what it takes to grow into a large site.
- defnull 16y ago> Bottle uses one process-wide application object. Flask supports initializing multiple application objects. The process-wide application object is a sane default for small applications, but not the only option. You can instantiate bottle.Bottle() and work with that, if you need multiple encapsulated application objects. This is fully supported.