RTD Training & Development

Flask Web Programming for Python Programmers

Call us on +44 (0)1225 66 72 72 or send us a message

Flask Web Programming for Python Programmers

Note: During the Covid-19 crisis, courses will only be delivered over the web

4 days hands-on £1,940+VAT

This course can be delivered over the web

Next scheduled date:
Monday January 13th, 2025 Enrol Now!

Can't wait that long? It may be possible to deliver this course at an earlier date. Contact us if you're interested
For those who already know Python. Covers the core Flask framework along with extensions for database access, email, etc.

Outline

Flask Basics

  • Initialisation
  • Routing
  • View Functions
  • Static Files
  • Request/Response Cycle
  • Extensions

Templating

  • The Jinja2 Templating Engine
  • Variables
  • Control Structures
  • Links
  • Custom Error Pages

Web Forms

  • The Flask-WTF Extension
  • CSRF Protection
  • Form Classes
  • Form Processing
  • User Sessions

Databases

  • Python Database Frameworks
  • The Flask-SQLAlchemy Extension
  • Data Definition
  • Data Manipulation
  • Using Databases in View Functions

Email

  • The Flask-Mail Extension
  • Integrating Email
  • Asynchronous Sending

Application Structure

  • Directory Structure
  • Configuration Options
  • The Requirements File
  • The Launch Script
  • Unit Testing

Overview

Participants will gain a firm understanding of the essentials of the Flask framework and some of the most useful extensions to the framework.

Objectives

On successful completion of this course, participants will be able to:

  • Write, test and deploy Flask applications
  • Utilise the Jinja2 templating engine in Flask applications
  • Create interactive web applications with Flask-WTF
  • Access databases with Flask-SQLAlchemy
  • Send emails with Flask-Mail

Audience

This course is intended for programmers and web designers who wish to create rich web applications using the Flask micro-framework.

Prerequisites

Some familiarity with HTML would be helpful but otherwise this course assumes no prior knowledge.

Participants with no prior knowledge of Python should consider our Introduction to Flask Programming course

share buttons
share on twitter
share on linkedin
share on facebook
share by email