Course
Skills
Introduction to the Flask Microframework
This course teaches the basics of web development with the Flask microframework. It will teach you everything you need to become a productive Python web developer with this new and popular framework.
What you'll learn
Flask is a relatively new framework that has taken the Python web development community by storm: in a short time it became one of the most popular frameworks around. It offers a lot of flexibility and clean code with a lot of extensibility. You won't feel dragged down by a huge framework that tells you what to do; instead, you'll feel free, productive, and creative!
Table of contents
Course Overview
7mins
Getting Started
29mins
Basic Templates and Views
28mins
- Introduction 1m
- Demo: Starting a Project 7m
- Review: Debug Mode and render_template 1m
- Demo: HTML Templates With Jinja2 4m
- Review: Jinja2 Basics 2m
- Demo: Using url_for to Generate Links 2m
- Demo: Template Inheritance 4m
- Review: Maintainable Links With url_for 3m
- Review: Template Inheritance 1m
- Demo: Custom Error Pages 2m
- Resources and Summary 1m
Forms and View Logic
40mins
- Introduction 1m
- Demo: Views and Forms 5m
- Review: Views, Forms, Post-Redirect-Get 5m
- The Session and Message Flashing 5m
- If and For 3m
- Demo: Using WTForms 8m
- Demo: Showing Form Errors 2m
- Review: Using WTForms 4m
- Demo: Custom Validation 3m
- Demo: A Jinja Macro for Rendering Forms 3m
- Resources and Summary 2m
Persistence
35mins
- Introduction 1m
- Demo: Our First Model Classes 5m
- Review: Models With Flask-SQLAlchemy 3m
- Demo: Storing and Retrieving Data 5m
- Review: Storing Data and Simple Queries 2m
- Demo: Storing and Retrieving New Bookmarks 3m
- Demo: A Manager Script With Flask-Script 1m
- Demo: A One-To-Many Relation 4m
- Review: One-To-Many Relations and Lazy Loading 2m
- Demo: Breaking the Project Up into Smaller Files 2m
- Demo: Adding a User Page 3m
- Final Review 1m
- Resources And Summary 1m
Users and Authentication
24mins
Managing Bookmarks
47mins
- Introduction 2m
- Demo: Fixing the Bookmark Layout 5m
- Demo: Editing Bookmarks 5m
- Review: Jinja Filters and Populating Objects 5m
- Demo: Database Migrations With Flask-Migrate 4m
- Demo: A Many to Many Relation 5m
- Review: Flask-Migrate 2m
- Demo: Forms and Views for Tagging 5m
- Demo: Integrating JavaScript 5m
- Demo: A Context Processor 3m
- Demo: Context Processors and Super() 1m
- Demo: A Delete Page 3m
- Resources and Summary 2m