Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Introduction to Flask showing much of the basic functionality. Plus, I built a task manager application called FlaskTaskr.
Python CSS
branch: master
Failed to load latest commit information.
static/css added part 1
templates added part 1
.gitignore added part 1
README.md added part 1
database.py added part 1
flasktask.db added part 1
passenger_wsgi.py added part 1
requirements.txt added part 1
routes.py added part 1
sales.db added part 1
sales.py added part 1

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
Something went wrong with that request. Please try again.