Introduction to Flask showing much of the basic functionality. Plus, I built a task manager application called FlaskTaskr.
Python CSS
Latest commit a18e4bc Jun 3, 2014 @mjhea0 added part 1
Permalink
Failed to load latest commit information.
static/css added part 1 Jun 3, 2014
templates added part 1 Jun 3, 2014
.gitignore added part 1 Jun 3, 2014
README.md added part 1 Jun 3, 2014
database.py added part 1 Jun 3, 2014
flasktask.db added part 1 Jun 3, 2014
passenger_wsgi.py added part 1 Jun 3, 2014
requirements.txt added part 1 Jun 3, 2014
routes.py added part 1 Jun 3, 2014
sales.db added part 1 Jun 3, 2014
sales.py added part 1 Jun 3, 2014

README.md

Introduction to Flask

Flask is a lightweight, micro web development framework for Python. Compared to the higher-level frameworks, it’s much more flexible and, best of all, it doesn’t get in your way as you’re building out you’re web site. You can add complexity as your application grows. It’s great for beginners who want to better understand the shortcuts that larger, high-level web frameworks employ.

What’s more, for those learning Python web development, Flask provides a perfect transition as you move from the basics of CGI-programming to modern web development. You can learn on the go by adding more complicated components as you gain the skills. You can even start out by writing everything in a single .py file, which is great for simple static sites - but once you start scaling you’ll want to split the scripts up and employ more of a MVC-style of development.

Contents

  1. Part 1 - Setting Up a Static Site: Tutorial / Video
  2. Part 2 - Creating a Login Page: Tutorial / Video
  3. Part 3 - Sessions, Login_required Decorator, Debugging: Tutorial / Video
  4. Part 4 - Databases: Tutorial / Video
  5. Part 5 - Deploying to PythonAnywhere Tutorial / Video
  6. Part 6 - Task Management Application (FlaskTaskr): Tutorial / Video

To-do

  • Better organize code
  • Add new tutorials