Simple play icon Course
Skills

Creating a Model Layer for Flask 2

by Chris Green

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.

What you'll learn

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.

About the author

Chris is a Security Engineer, who has been variously employed as a DevOps Engineer, Developer, Data Engineer and Infrastructure Analyst. He has extensively studied Cyber Security and holds an MSc in Computing from Cardiff University in the UK. Chris believes the best way to learn is to teach, which is why you find him here on Pluralsight.

Ready to upskill? Get started