3 ms·
This is just about the same experience that I had. If I'm recommending a framework to a new developer (as I recently did) I go with Flask all the way. You can s
by rpicard 13y ago
This is just about the same experience that I had. If I'm recommending a framework to a new developer (as I recently did) I go with Flask all the way. You can start off with a simple one file app that serves your index, then when you realize, "Man, this file is getting unruly," you can switch to using modules. Then you think, "Man, I want my admin panel code to be separate from my user dashboard code," and you learn about Blueprints.
The same goes for all of the plugins. You only have to add (and therefore learn about) the "legos" -- to use taude's metaphor -- that you need to build your spaceship.
- bsg75 13y agoIs this an advantage of Flask having modules over the single file Bottle framework, when apps evolve new features or use cases?
- rpicard 13y agoIs Bottle limited to a single file? I have never really played with it. If so, I'd definitely say that it's an advantage for Flask.
- bsg75 13y agoI believe it is: "Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library."
- rpicard 13y agoOh, so the framework is a single file. Your app can be multiple files though, right?
- taude 13y agoI think this is an advantage of Flask, as it can be semi-sanely used for bigger applications....though it's easy to start small.