Developing Web Applications with Flask

24 Ratings

Course Number: PYTH-140

Duration: 3 days (19.5 hours)

Format: Live, hands-on

Flask Training Overview

Accelebrate's Flask Training: Developing Web Applications with Flask course teaches Python developers to create professional web applications with the Flask microframework.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some Programming courses are available as live, online classes for individuals.

Objectives

  • Create complete Flask applications
  • Work with session data
  • Design Jinja templates using inheritance
  • Integrate a SQLite database
  • Test and debug Flask applications

Prerequisites

All attendees must have basic Python programming skills and an understanding of HTML fundamentals.

Outline

Expand All | Collapse All

Introduction
An Overview of Flask
  • Origins and purpose
  • Views, controllers, but no models
  • What Flask can and cannot do
Diving Right In
  • A simple application
  • Configuring routes
  • Defining view functions
  • Using templates
  • Deploying the application
Simple Views
  • HTTP Methods
  • Returning content
  • Templates and variables
Organizing the Application
  • Configuring routes
  • Static files
  • Configuration
  • Context locals
  • Sessions
Integrating a SQLite Database
  • The g (global) object
  • Creating a table
  • Inserting rows
  • Making queries
  • Walkthrough of minor changes necessary for integrating other databases (SQL Server, Oracle, MySQL, etc.)
Jinja Templates
  • The big picture
  • Simple syntax
  • Block statements
  • Loading and rendering
  • Inheritance
  • Advanced syntax
  • Filters and tests
HTTP Responses
  • String responses
  • Setting the status code
  • Getting the response object
  • Adding response headers
HTML Forms
  • Simple forms
  • Form submission
  • Retrieving user data
  • Re-submitting forms
Advanced Views
  • Redirects
  • Auto-escaping HTML
  • Message flashing
  • Built-in decorators
Error Handling
  • Handling an unrouted URL
  • Aborting a page view
  • Customizing the error page
Testing and Debugging
  • Using unittest
  • Simple tests
  • Accessing sessions
  • Mocking resources
Advanced Topics
  • Custom filters and tests
  • Class-based views
  • Support for JSON
  • Blueprints
Conclusion

Training Materials:

All attendees receive comprehensive courseware and a textbook.

Software Requirements:

  • Any Windows, Linux, or macOS operating system
  • Python 3.x installed (Anaconda bundle recommended)
  • The Flask Library
  • A text editor or IDE (PyCharm Community Edition recommended)


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan