In a previous post I described a command line tool I have made to simplify and speed up the process of creating Flask based web applications. The post contained some screenshots showing how the starting application looked like and a link to the live website deployed on my server. If you visit the website you will see a Boostrap based page but nothing more so not much of a showcase for the tool.
In this post I decided to show how to create a simple Flask based application involving one or two views (controllers) and at least one form, a model and one or two templates, deploy it to my server and host its code in git to server as reference. Additionally the steps mentioned in this post can be found here containing further technical details such as command line output, generated directory and code structure and more. Having an example application like this should be enough to showcase the tool.
Note this post has been updated at 06 Jan 2014 to notice about a follow up article
You can read about a follow up article containing an example Flask application made with Flask command line tool
Note this post has been updated at 03 Jan 2014 to reflect some changes made in the command line tool and more specifically to the resulting layout, see the screenshots session No 4.
Although this is not a post about Flask framework itself and I am not the best to introduce it to you because probably you already know much more things from me; i feel that at least must give two lines of information for potential Flask newcomers.
For URL links see bellow
Flask is a modular micro web framework written in Python, easy to start but also powerful enough to let you create serious web applications. Contrary to Django which is very good and the norm among Python web developers, Flask is minimalistic leaving out the object relation mapper and other goodies. You can get them in the form of extensions (called blueprints in Flask world). For example you can integrate an object relation mapper for SQLAlchemy (Flask-SQLAlchemy), WTForms (Flask-WTF) for user input through HTML forms and many more. For further information check the links bellow.
So this post is about a command line tool (i call it Flaskapp and lives in my home folder ~/bin as flask so i can invoke it from the console easily) that uses Flask and many of the offered extensions and can be used to save the developer from boilerplate code and typing. I created the tool while reading about Flask here.
The short version describes what the tool can do and what it needs in order to do its thing. For more details check the links bellow:
Can save the state of the UI in pickle so it can load back any time.
Can save a python file of the UI.