Building Web Applications with Flask


Building Web Applications with Flask

Authors: Reindert-Jan Ekker, Mateo Prigl, Abdul Rehman Yousaf

Flask is a micro web framework written in Python that does not require particular tools or libraries. It does not ship with a database layer, form validation, or any other... Read more

What You Will Learn

  • Set up and configure a Flask project
  • Construct routes
  • Write view functions
  • Build templates
  • Manage sessions and cookies
  • Test your Flask application
  • Create forms
  • Use hooks and signals
  • Log errors
  • Use flask-sqlalchemy to create a model layer
  • Use flask-login to setup authorization


  • Python

Building Web Applications with Flask

In this path you will learn how to set up a Flask environment and build a reliable Flask application. You will dive into creating forms, routing, sessions, and authentication as well as how to manage your growing app.

Flask: Getting Started

by Reindert-Jan Ekker

Nov 9, 2019 / 2h 4m

2h 4m

Start Course

Flask is very popular in the Python world because of its friendly and minimalistic approach. It allows you to create an application with a tiny amount of code (and work). In this course, Flask: Getting Started, I will show you the basics of Flask to get you started with Python web development. First, you will learn how to create a Flask view function. Next, you will discover how to create html pages. Finally, you will explore web forms and handling user input. By the end of this course, you'll be able to write code for a Flask web application.

Table of contents
  1. Course Overview
  2. First Steps
  3. Understanding the Model Template View Pattern
  4. Adding Logic to Your Application
  5. Adding User Interaction
  6. Apply Styling and Jinja Inheritance
  7. Deploying a Flask Application

Creating and Processing Web Forms with Flask

by Mateo Prigl

Feb 4, 2020 / 1h 37m

1h 37m

Start Course

At the core of building modern web applications is a thorough knowledge of web forms. In this course, Creating and Processing Web Forms with Flask, you'll learn how to build functional forms and process their input. First, you'll see how to create the templates and views. Next, you'll explore processing the user input and making sure that the form data is safe from potential threats. Finally, you'll discover how to improve the user experience by adding error and flash messages, plus making the forms asynchronous with AJAX so users don't have to wait for the page to refresh. When you're finished with this course, you'll have a foundational knowledge of building web forms in Flask that will help you as you move forward to creating web applications with the Flask framework.

Table of contents
  1. Course Overview
  2. Creating Web Form Views and Templates
  3. Processing Form Data
  4. Securing the Form Input
  5. Improving the User Experience

Coming Soon

Creating a Model Layer for Flask

Coming Soon

by Pluralsight

Flask Users, Sessions, and Authentication

by Mateo Prigl

Aug 17, 2020 / 1h 35m

1h 35m

Start Course

Most of the modern applications have some kind of an authentication system. In this course, Flask, Users, Sessions, and Authentication you’ll learn to implement this system in Flask. First, you’ll explore how to use cookies and sessions to login and sign up new users to the site. Next, you’ll discover how to implement cookie based “remember me” functionality and create user roles. Finally, you’ll learn how to allow users to reset their passwords and require the account confirmation over an email. When you’re finished with this course, you’ll have the skills and knowledge of managing sessions and users in Flask needed to implement a fully featured authentication system.

Table of contents
  1. Course Overview
  2. Authenticating with Sessions
  3. Authenticating with Cookies
  4. Authorizing by User Roles
  5. Managing User Accounts

Structuring a Growing Flask Application

by Mateo Prigl

Dec 7, 2020 / 1h 38m

1h 38m

Start Course

Once you're familiar with creating Flask applications, you need to learn how to structure them in a proper way. In this course, Structuring a Growing Flask Application, you’ll learn how to make your application productionized. First, you’ll explore and learn about design architectures with application factory and blueprints. Next, you’ll discover how to group routes with URL processors and class-based views. This can be further optimized with the help of request hooks and signals. Finally, you’ll learn how to implement caching and custom CLI commands. When you’re finished with this course, you’ll have the skills and knowledge of structuring applications required to make it grow and scale in production.

Table of contents
  1. Course Overview
  2. Implementing Modular Design Patterns
  3. Structuring Routes and Views
  4. Managing Signals and Callbacks
  5. Productionizing an Application

Building Reliable Flask Applications

by Abdul Rehman Yousaf

Sep 1, 2020 / 1h 24m

1h 24m

Start Course

Flask is a micro-framework written in Python. It provides you with tools, libraries, and mechanics that allow you to build a web application quickly. Flask is very flexible in terms of dependencies and project structure, and this flexible nature makes the management of Flask challenging. In this course, Building Reliable Flask Applications, you will learn the important concepts to make your Flask applications more reliable. First, you will learn how to write unit tests for your Flask applications. Next, you will discover how to implement view functions and create customized error pages. Finally, you will explore Logging in Flask where we will talk about how to log useful information to the console stream and save in log files. When you are finished with this course, you will have the skills and knowledge of testing, logging, and debugging needed to manage Flask applications more effectively.

Table of contents
  1. Course Overview
  2. Revisiting the Flask Basics
  3. Testing Flask Applications
  4. Creating View Functions with Custom Error Pages
  5. Logging in Flask
Offer Code *
Email * First name * Last name *
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By providing my phone number to Pluralsight and toggling this feature on, I agree and acknowledge that Pluralsight may use that number to contact me for marketing purposes, including using autodialed or pre-recorded calls and text messages. I understand that consent is not required as a condition of purchase from Pluralsight.

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit