Mastering Flask [Video]

Preview in Mapt

Mastering Flask [Video]

Alexander Putilin, Jack Stouffer

1 customer reviews
Leverage the small but powerfully-formed Flask framework and its extensibility

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
Video
$80.75
RRP $94.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$80.75
$29.99 p/m after trial
RRP $94.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Mastering Flask [Video] Book Cover
Mastering Flask [Video]
$ 94.99
$ 80.75
HTML Web Development Crash Course [Video] Book Cover
HTML Web Development Crash Course [Video]
$ 19.99
Buy 2 for $100.74
Save $14.24
Add to Cart

Video Details

ISBN 139781784393915
Course Length4 hours 14 minutes

Video Description

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.

Style and Approach

This fast-paced, example-based video course starts with an advanced overview of Flask core concepts, moves on to advanced functionality, and finishes up with a running application that can serve as a blueprint for further studying or production development.

Table of Contents

An Advanced Introduction to Flask
The Course Overview
A High-level Reintroduction into Flask
Dependency Isolation with virtualenv
Accessing the Database
Connecting to the Database
Creating Models
Accessing Data
Creating and Querying One-to-Many Relationships
Creating and Querying Many-to-Many Relationships
Advanced Queries
Advanced View Usage
Loops and Control Structures
Creating and Validating Forms with WTForms
Restructuring an App with Blueprints
Creating Flask Blueprints
Restructuring Our Files
Securing the App
Installing and Configuring Flask-Login
Handling Passwords with Flask Login
Creating Login and Registration Pages
Adding User Permissions
Creating a REST API
What Is REST?
Using Flask-RESTful
Creating an Admin Interface
Setting Up
Interfacing with Models
File Storage and Retrieval
Extending Our App
Flask Debug Toolbar
Flask Cache
Flask Assets
Asynchronous Programming with Celery
Installing and Understanding Celery
Writing Tasks in Celery
Periodic Tasks in Celery
Testing Our App
What Is Unit Testing?
Testing Our Models
Testing URLs
Testing Code Coverage
Deploying Our App
Preparing Dependencies for Deploying
Using a Simple VPS
Using Amazon Web Services
Using Heroku
Where Do I Go from Here?

What You Will Learn

  • 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

Authors

Table of Contents

An Advanced Introduction to Flask
The Course Overview
A High-level Reintroduction into Flask
Dependency Isolation with virtualenv
Accessing the Database
Connecting to the Database
Creating Models
Accessing Data
Creating and Querying One-to-Many Relationships
Creating and Querying Many-to-Many Relationships
Advanced Queries
Advanced View Usage
Loops and Control Structures
Creating and Validating Forms with WTForms
Restructuring an App with Blueprints
Creating Flask Blueprints
Restructuring Our Files
Securing the App
Installing and Configuring Flask-Login
Handling Passwords with Flask Login
Creating Login and Registration Pages
Adding User Permissions
Creating a REST API
What Is REST?
Using Flask-RESTful
Creating an Admin Interface
Setting Up
Interfacing with Models
File Storage and Retrieval
Extending Our App
Flask Debug Toolbar
Flask Cache
Flask Assets
Asynchronous Programming with Celery
Installing and Understanding Celery
Writing Tasks in Celery
Periodic Tasks in Celery
Testing Our App
What Is Unit Testing?
Testing Our Models
Testing URLs
Testing Code Coverage
Deploying Our App
Preparing Dependencies for Deploying
Using a Simple VPS
Using Amazon Web Services
Using Heroku
Where Do I Go from Here?

Video Details

ISBN 139781784393915
Course Length4 hours 14 minutes
Read More
From 1 reviews

Read More Reviews

Recommended for You

HTML Web Development Crash Course [Video] Book Cover
HTML Web Development Crash Course [Video]
$ 19.99
From 0 to 1: Hive for Processing Big Data [Video] Book Cover
From 0 to 1: Hive for Processing Big Data [Video]
$ 49.99
$ 42.50
Scalable programming with Scala and Spark [Video] Book Cover
Scalable programming with Scala and Spark [Video]
$ 49.99
$ 42.50
Create Apps in MATLAB with App Designer (Codes Included) [Video] Book Cover
Create Apps in MATLAB with App Designer (Codes Included) [Video]
$ 24.99
$ 21.25
Fundamental Algorithms in Scala [Integrated Course] Book Cover
Fundamental Algorithms in Scala [Integrated Course]
$ 124.99
$ 106.25
Mastering Machine Learning with MATLAB [Video] Book Cover
Mastering Machine Learning with MATLAB [Video]
$ 124.99
$ 106.25