RTD Training & Development

Introduction to Flask Programming

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

Introduction to Flask Programming

4 days hands-on £1,940+VAT

This course can be delivered over the web

Next scheduled date:
Tuesday May 28th, 2024 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
Suitable for those with no prior knowledge of Python. Covers both Python and Flask essentials

Outline

Python Basics

  • Python Environment
  • Language Basics
  • Control Statements

Data

  • Lists
  • Dictionaries
  • Functions and Decorators
  • Modules and Packages
  • File I/O

Classes

  • Classes and Objects
  • Inheritance
  • Special Attributes and Methods
  • Exception Handling

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

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 core extensions to the framework.

In addition, participants will become proficient in Python, a very popular modern scripting language.

Objectives

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

  • Write, debug and execute Python code
  • Write, test and deploy Flask applications
  • Utilise the Jinja2 templating engine in Flask applications
  • Create interactive web applications with Flask-WTF

Audience

This course is intended for programmers and web designers who wish to create rich web applications using the Flask micro-framework but have little or no prior knowledge of Python.

Prerequisites

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

Participants with a knowledge of Python would be better served by our Flask Web Programming for Python Programmers course

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