Mastering Flask

Course

Online

£ 100 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Leverage the small but powerfully-formed Flask framework and its extensibility.Flask is a small and powerful web development framework for Python. It is called a micro-framework as it aims to keep the core simple but extensible. Even though it’s called a micro-framework, it is no way lacking in functionality, and allows you to develop applications very quickly, primarily through the development of a small codebase.This course will take you deep into the world of using Flask and its ecosystem of extensions to create web applications. We’ll walk through creating a simple IMDB clone from scratch. We’ll start by creating the boilerplate code and use Virtualenv to create an isolated development environment. You’ll then learn to work with the database using SQLAlchemy. After that, we’ll display our data to the end user using WTForms.We’ll restructure and modularize our code using Blueprints. Our site will be secured using the extensions Flask-Login and Flask-Principal. After that, we’ll create a RESTful API of our app. We’ll then give admin functionality and extend our app using various flask extensions. We’ll incorporate Celery to make our tasks asynchronous. We’ll walk you through performing unit test of our app, and then test our SQLAlchemy models. We’ll also test the URLs and finally, we’ll test how much of our code isn’t being tested. All these tests will make our app secure. Finally, we’ll deploy our Flask app to various options that are available.This course will give you an in-depth understanding of how to use Flask and its strong extensibility for more complex web applications.About the Author
.
Jack Stouffer is a programmer who has several years of experience in designing web applications. He switched to Flask two years ago for all his projects. He currently works for Apollo America in Auburn Hills, Michigan and writes internal business tools and software using Python, Flask, and JavaScript

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Build a real-world application that adheres to best practices using Flask
Use Virtualenv to incorporate dependency isolation
Work with SQLAlchemy while learning database concepts
See how to customize Jinja templates to work with dynamic pages
Create secure forms using WTForms
Modularize your code with Blueprints
Work with Flask Login and Flask Principal to secure our app
Add a REST API to our app to allow programmers to easily build off the platform the app is building
Create an administrator interface using Flask Admin
Speed up the working of the app with Flask Debug Toolbar, Flask Cache, and Flask Assets
Implement asynchronous programming using Celery
Make the app robust by performing various tests on it
Deploy the app to platforms such as AWS, Heroku, and simple VPS with Nginx and Gunicorn

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Install
  • Project
  • Web
  • Database training
  • SQL
  • Database
  • Server
  • Returns
  • Conflict

Course programme

An Advanced Introduction to Flask 3 lectures 13:15 The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
An Advanced Introduction to Flask 3 lectures 13:15 The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
The Course Overview The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
The viewer needs to have a clear picture of where this course is going to take them.
  • Explain who the authors are and what they do
  • Explain and show what application the user will have built by the end of the course
  • Explain what software is needed to follow along in the course
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
A High-level Reintroduction into Flask The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
The course assumes an understanding and familiarity of Flask's API, but we still need a basic application to build off.
  • Create a simple view that returns "Hello world"
  • Run the server with the manage.py script
  • Create a hierarchical template and have the view render it
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Dependency Isolation with virtualenv Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Python libraries are installed globally, so we need a way to isolate our project's libraries so that they do not conflict with each other.
  • Why use dependency isolation
  • Install virtualenv
  • Initialize virtualenv in the project folder
Accessing the Database 6 lectures 36:02 Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Accessing Data We have a universal connection and have set up a universal query interface. Let's start reading data.
  • Write queries to create new rows in the table
  • Create queries to read data from tables
  • Write queries to update or delete existing data
Creating and Querying One-to-Many Relationships Data is rarely isolated. We need a way to match the records of relationship A to the records of relationship B in such a way that a record in relationship A can link to multiple records in relationship B, but a record in B is linked to only one record in A.
  • Explain one-to-many relationships
  • Modify our existing models to create the relationships
  • Write queries to use these relationships
Creating and Querying Many-to-Many Relationships We need a way to match relationship A and relationship B in such a way that a record in relationship A can link to multiple records in relationship B and vice versa.
  • Explain many-to-many relationships
  • Modify our existing models to create the relationships
  • Write queries to use these relationships
Advanced Queries How can SQLAlchemy represent the more complex queries that can be created in SQL?
  • Use Python's evaluation expressions for more complex filtering
  • Use the like, and_, and or_ methods of SQLAlchemy
  • Use sqlalchemy to generate SQL aggregation functions
Accessing the Database. 6 lectures 36:02 Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Accessing Data We have a universal connection and have set up a universal query interface. Let's start reading data.
  • Write queries to create new rows in the table
  • Create queries to read data from tables
  • Write queries to update or delete existing data
Creating and Querying One-to-Many Relationships Data is rarely isolated. We need a way to match the records of relationship A to the records of relationship B in such a way that a record in relationship A can link to multiple records in relationship B, but a record in B is linked to only one record in A.
  • Explain one-to-many relationships
  • Modify our existing models to create the relationships
  • Write queries to use these relationships
Creating and Querying Many-to-Many Relationships We need a way to match relationship A and relationship B in such a way that a record in relationship A can link to multiple records in relationship B and vice versa.
  • Explain many-to-many relationships
  • Modify our existing models to create the relationships
  • Write queries to use these relationships
Advanced Queries How can SQLAlchemy represent the more complex queries that can be created in SQL?
  • Use Python's evaluation expressions for more complex filtering
  • Use the like, and_, and or_ methods of SQLAlchemy
  • Use sqlalchemy to generate SQL aggregation functions
Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Connecting to the Database Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Connecting to and querying databases can be verbose
  • Explain what SQLAlchemy is and install it
  • Show some example SQL queries versus equivalent SQLALchemy queries
  • Connect to the database with SQLAlchemy
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Creating Models We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
We have a universal connection. But now we need to create an API to make the queries.
  • Explain what an ORM is
  • Write Python objects to represent the database tables
  • Show an example query with the new API
Accessing Data We have a universal connection and have set up a universal query interface. Let's start reading data Loops and Control Structures Jinja provides an easy way to replace values in...

Additional information

Knowledge of Python Web Development is required

Mastering Flask

£ 100 + VAT