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

Pluralsight

Creating a Model Layer for Flask

via Pluralsight

Overview

A model layer is a common and useful abstraction in web development.
This course will teach you how to implement a model layer within Flask.

Embedding SQL queries within the backend of a web application can make it hard to maintain and extend functionality. In this course, Creating a Model Layer for Flask, you’ll learn to implement a model layer using SQLAlchemy and avoid these issues. First, you’ll explore the setup of SQLAlchemy and how to replace existing SQL queries. Next, you’ll discover how to extend an application using the model layer. Finally, you’ll learn how to manage authorization on views for both interactive and automated users. When you’re finished with this course, you’ll have the skills and knowledge of Flask needed to refactor or extend a model layer.

Syllabus

  • Course Overview 1min
  • Setting up Flask - SQLAlchemy 15mins
  • Replacing SQL Queries with Models 20mins
  • Extending an Application with a Model Layer 25mins
  • Handling Authorization with Flask-Login 17mins

Taught by

Chris Green

Reviews

3.6 rating at Pluralsight based on 12 ratings

Start your review of Creating a Model Layer for Flask

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.