Writing your first web app using Python and Flask [linux.conf.au 2014]. This tutorial will help you create your first webapp using Python and the Flask microframework. We will cover the following topics:
* What is Flask and why would you use it
* Rendering your first response
* Handling forms and POST data
* Using SQLAlchemy
* Writing your first RESTful API
* Holding open a connection to emit updates
* Testing your app with py.test
* Deploying to Redhat's Openshift platform
Examples are on Github at https://github.com/danni/linux-conf-au-flask-tute for you to follow along as we go.
Danielle Madeley is a senior web developer at Infoxchange Australia where her day job is writing large Django webapps. She has been programming in Python for 15 years now and thought the first time she did "import cgi" was pretty neat. She has also been a GNOME developer and a scientific software engineer. Her favourite colours are purple and green.
Tags: Writing your first web app using Python and Flask [linux.conf.au 2014]