The Flask Mega-Tutorial (Python Web Development)

The most complete introduction to web development with Python and Flask

The Flask Mega-Tutorial is an overarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework. The tutorial was born as a series of blog articles, and has been thoroughly revised, updated and expanded as a result of a successful Kickstarter campaign. The concepts that are covered go well beyond Flask, including a wide range of topics Python web developers need to know when writing their own applications.

What you’ll learn

  • Write complete web applications using Python and Flask.
  • Accept user input through web forms.
  • Use relational databases.
  • Manage user logins and authentication.
  • Translate and localize application messages.
  • Implement a search engine.
  • Add JavaScript user-friendly features.
  • Application Programming Interfaces (APIs).
  • Deploy your application on Linux servers or Docker containers.
  • Deploy your application on Heroku.

Course Content

  • Hello, World! –> 4 lectures • 21min.
  • Templates –> 5 lectures • 20min.
  • Web Forms –> 8 lectures • 33min.
  • Database –> 11 lectures • 36min.
  • User Logins –> 10 lectures • 40min.
  • Profile Page and Avatars –> 7 lectures • 31min.
  • Error Handling –> 7 lectures • 28min.
  • Followers –> 9 lectures • 34min.
  • Pagination –> 7 lectures • 26min.
  • Email Support –> 9 lectures • 31min.
  • Facelift –> 8 lectures • 10min.
  • Dates and Times –> 5 lectures • 12min.
  • I18n and L10n –> 9 lectures • 28min.
  • Ajax –> 8 lectures • 36min.
  • A Better Application Structure –> 7 lectures • 23min.
  • Full-Text Search –> 9 lectures • 42min.
  • Deployment on Linux –> 13 lectures • 41min.
  • Deployment on Heroku –> 15 lectures • 18min.
  • Deployment on Docker Containers –> 7 lectures • 28min.
  • Some JavaScript Magic –> 9 lectures • 25min.
  • User Notifications –> 5 lectures • 25min.
  • Background Jobs –> 11 lectures • 46min.
  • Application Programming Interfaces (APIs) –> 9 lectures • 52min.

The Flask Mega-Tutorial (Python Web Development)

Requirements

  • Familiarity with Python, at least at a beginner level..
  • Knowledge of the command-line prompt in your operating system to perform basic file and directory functions..

The Flask Mega-Tutorial is an overarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework. The tutorial was born as a series of blog articles, and has been thoroughly revised, updated and expanded as a result of a successful Kickstarter campaign. The concepts that are covered go well beyond Flask, including a wide range of topics Python web developers need to know when writing their own applications.

The goal of the course is to build a nicely featured social blogging web application. Chapter 1 begins with a very simple version of this application that has just a few lines of code. Then, each successive chapter adds a new feature to it. The 23 chapters in this course can be roughly split into two parts: the first 12 chapters are focused on basic web development concepts, while the remaining 11 chapters cover intermediate and advanced techniques. All the code featured in this tutorial is open source, and is available on GitHub. You are welcome to use any of it for your own projects!

This edition of the tutorial includes over 11 hours of video showing how to perform all the steps in detail. For added context, the blog articles from where this tutorial originated are available on Miguel Grinberg’s blog.

Get Tutorial