Introduction to Flask | Developing Web Applications with Flask

Geared for experienced Python developers, Developing Web Applications with Flask is a hands-on Flask training course that provides students with the core skills required to create professional web applications with the Flask microframework.

Retail Price: $2,195.00

Next Date: Request Date

Course Days: 3


Request a Date

Request Custom Course


Course Objectives

This course is approximately 40% hands-on lab to 60% lecture ratio, combining expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises.  Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom.

Working in a hands-on learning environment, guided by our expert team, attendees will learn to:

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

 

Course Prerequisites

This introductory-level course is geared for experienced Python developers who want to use Python and Flask for web development projects. Attendees should have working experience with Python basics, as well as basic skills working with HTML5 and CSS3. JavaScript is not required.

Additional Follow On Courses:  Our Python tracks include a wide variety of follow-on courses and learning paths for leveraging Python for next-level web development, data science / machine learning, networking, task automation, security and other topics. Please see the attached Python Training Suite list of courses, or inquire for recommendations based on your specific role and goals.


Course Agenda

 

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

Session: Introduction

Session: Overview of Flask

  •  Origins and purpose
  • Views, controllers, but no models
  • What Flask can and cannot do

Session: Diving Right In

  •  A simple application
  • Configuring routes
  • Defining view functions
  • Deploying the application

Session: Simple Views

  • HTTP Methods
  • Returning content
  • Templates and variables

Session: Organizing the Application

  • Configuring routes
  • Static files22
  • Configuration
  • Context locals
  • Sessions

Session: Integrating a 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.)

Session: Jinja Templates

  • The big picture
  •  Simple syntax
  •  Block statements
  •  Loading and rendering
  • Inheritance
  • Advanced syntax
  • Filters and tests

Session: HTTP Responses

  • String responses
  •  Setting the status code
  •  Getting the response object
  • Adding response headers

Session: HTML Forms

  •  Simple forms
  •  Form submission
  • oRetrieving user data
  • Re-submitting forms

Session: Advanced Views

  • Redirects
  • Auto-escaping HTML
  •  Message flashing
  •  Built-in decorators

Session: Error Handling

  •  Handling an unrouted URL
  • Aborting a page view
  •  Customizing the error page

Session: Testing and Debugging

  • Using unittest
  • Simple tests
  • Accessing sessions
  • Mocking resources

Session: Advanced Topics

  • Custom filters and tests
  • Class-based views
  • Support for JSON
  • Blueprints


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date