Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Enhancing Flask with Additional Features

via CodeSignal

Overview

In this course, you'll delve into advanced Flask techniques to elevate your application. You'll learn how to implement middlewares, create custom error handling to improve user experience, apply CSS for styling your app, and manage sessions to enhance functionality and user-friendliness.

Syllabus

  • Lesson 1: Implementing a Timer Middleware
    • Observe Middleware in Action
    • Add Before and After Request Decorators
    • Fix the Timing Middleware Issue
    • Complete Middleware Setup
  • Lesson 2: Custom Error Handling in Flask
    • Triggering the Error Handler
    • Modifying Route to Trigger 404 Error
    • Fix the Custom Error Handler
    • Create a Custom Error Handler
  • Lesson 3: Styling Flask Applications with CSS
    • Flask Styles Coming to Life
    • Fix the CSS Link Mistake
    • Adding Styles to HTML Templates
    • Dark Theme Styling
  • Lesson 4: Using Sessions to Manage Theme Preference
    • Session Managed Theme Switching in Action
    • Altering Session Default Values
    • Debug Session Management in Flask
    • Session Handling in Flask

Reviews

Start your review of Enhancing Flask with Additional Features

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.