http://flask.pocoo.org/
http://jinja.pocoo.org/docs/
https://www.fullstackpython.com/flask.html
https://www.raspberrypi.org/learning/python-web-server-with-flask/
https://en.wikipedia.org/wiki/Flask_%28web_framework%29
https://www.airpair.com/python/posts/django-flask-pyramid
http://code.tutsplus.com/tutorials/creating-a-web-app-from-scratch-using-python-flask-and-mysql--cms-22972
https://realpython.com/blog/python/python-web-applications-with-flask-part-i/
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
https://www.youtube.com/watch?v=M1IVwFAH9Wo
What is Flask?
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
How can we install Flask?
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
pip install Flask
python hello.py
// Running on http://localhost:5000/
What is included with Flask?
- built-in development server and debugger
- integrated unit testing support
- RESTful request dispatching
- uses Jinja2 templating
- support for secure cookies (client side sessions)
- 100% WSGI 1.0 compliant
- Unicode based
- extensively documented