dsmurl / the-system-controller-4

This is the working code of the System Conroller V4 designed for grass roots industrial systems management.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Follow guidelines to structure a Flask project #45

Open rgreinho opened 9 years ago

rgreinho commented 9 years ago

As the application will grow, it would be best to start using the best practices for structuring the project. This will definitely help in automating tasks like tests and deployment, as well as bringing clarity to the project. The official documentation is here: http://flask.pocoo.org/docs/0.10/patterns/packages.

There are also other resources that may be useful:

dsmurl commented 9 years ago

Cool, I'll have to read through these and then maybe this issue can be turned into a parent issue where we can collaborate to make a solid, defined list of preferred changes.

rgreinho commented 9 years ago

Agreed :) Also, Flask Blueprints should be used to create modular components: http://flask.pocoo.org/docs/0.10/blueprints.