Flask Essential Training

Flask Essential Training

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 06m | 460 MB

Flask is a Python framework for building lightweight and dynamic web applications. It helps speed up tedious behind-the-scenes development work, such as URL mapping, and offers more control than its closest competitor, Django. If you want to learn Flask, this course provides the training and hands-on examples you need to get started quickly. Join instructor Nick Walter as he covers the pros and cons of working with Flask, and steps through how to create your first app with the framework. Nick covers data flow in Flask; working with templates using Jinja, the template engine in Flask; using blueprints and views for organization; testing your Flask app; and deploying your project with Gunicorn.

Topics include:

  • The pros and cons of Flask
  • Creating your first route in a Flask project
  • Working with page templates in Flash with Jinja
  • Using GET and POST requests in Flask
  • Data flow in Flask
  • Setting up an API in Flask
  • Templating flask with Bootstrap
  • Testing your app
  • Deploying your app with Gunicorn
Table of Contents

Introduction
1 Web development with Flask
2 The pros and cons of Flask
3 Technologies to use
4 Demo project overview
5 Flask for Windows users

First Flask App
6 Install Flask and Pipenv
7 Create your first route in a Flask project
8 Flasks development environment
9 Page templates in Flask with Jinja
10 Passing data into Flask apps with forms
11 Passing form variables to other routes in Flask
12 Using GET and POST requests in Flask

Data Flow in Flask
13 Using redirect and url for for error handling
14 Saving to a JSON file
15 Parsing a JSON file for conflicting entries
16 Alerting users with message flashing
17 File uploads from users
18 Variable rules in URLs
19 Working with static files
20 Displaying custom error pages

Templates and Style
21 Implementing sessions and cookies
22 Creating JSON APIs
23 Template blocks and base templates
24 Templating Flask with Bootstrap

Deployment and Testing
25 Blueprints and views for organization
26 Testing your Flask app
27 WSGI servers and how they work
28 Deploy your Flask app with Gunicorn

Conclusion
29 Next steps