Flask tutorial at http://flask.pocoo.org/docs/tutorial/