flask-intro icon indicating copy to clipboard operation
flask-intro copied to clipboard

Introduction to Flask showing much of the basic functionality. Plus, I built a task manager application called FlaskTaskr.

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