|
|
|
|
|
by wfn
4963 days ago
|
|
True that. However, the Extensions library [-1] (which is not strictly speaking part of Flask) provides quite a lot of functionality - apart from your referred SQLAlchemy (which does the job well in our backend), there's a nice API generation factory [0] [1] and other neat stuff. For quite a lot of intents/purposes, flask extensions will do the job. But in the end of course it is a microframework. (From limited personal experience, a very neat general-purpose microframework nevertheless!) [-1] http://flask.pocoo.org/extensions/
[0]
[1] A particularly sexy example that simply uses models from SQLAlchemy (from the quickstart in [0]):
manager.create_api(Person, methods=['GET', 'POST', 'DELETE'])
manager.create_api(Computer, methods=['GET']) where Computer and Person are DB models easily defined with the help of SQLalch. (This is not to counter (there isn't anything to be countered, just providing links / luring people..) |
|