Flask Framework for Python Developers, Part 2 of 3: Database and Migration
with expert Jorge Escobar
Course description
Flask is the most popular python web framework and you'll learn how to make a Flask application in this course. The topics covered are: setting up the database, making a database driven application, an introduction to migrations and how to test infrastructure.
Prerequisites
• A computer with internet access (optional: administrative access to install packages)
• A basic understanding of the Python language
• A basic understanding of how to use the internet and text editors
Meet the expert
Jorge Escobar is an engineer at FINDMINE. In addition to being a consultant and working with companies like MongoDB, Venmo and Knewton he also has a passion for teaching and is an instructor for Stone River eLearning
Course outline
Database
Setup Database (15:16)
- Introduction (00:13)
- Setting Up Our Database (05:07)
- Installing MySQL (00:11)
- Installing MySQL On Mac (03:09)
- Installing MySQL On Windows (02:45)
- Setting Up MySQL On PythonAnywhere (01:45)
- MVC And The Object Relational Mapper (01:56)
- Summary (00:08)
Database Driven App (16:22)
- Introduction (00:08)
- First Database Driven Application (00:36)
- Initial Application Setup (01:25)
- Initial Application Setup on PythonAnywhere (02:17)
- Application Libraries (01:02)
- Environment Settings (01:47)
- Application Factory (02:41)
- Building Modules with Blueprints (01:24)
- Our First Blueprint (02:22)
- Counter Model (02:27)
- Summary (00:08)
Introduction to Migrations (14:01)
- Introduction (00:08)
- An Introduction to Migrations (05:29)
- Database Operations from the Shell (05:59)
- The Pageviews Counter Application (02:16)
- Summary (00:08)
Test Infrastructure (12:20)
- Introduction (00:08)
- Setting Up Our Test Infrastructure (09:46)
- First Test (02:17)
- Summary (00:08)