Oreilly - An Introduction to Flask
by Miguel Grinberg | Publisher: O'Reilly Media, Inc. | Release Date: August 2014 | ISBN: 9781491912386
Get started with Flask, the popular web framework that's small, lightweight, and powerful. This video tutorial uses use short and simple examples to help beginning Python developers explore the features of Flask and some of its extensions. You'll learn topics central to most web applications—routing, templates, web forms, and user sessions—along with a brief introduction to databases and user logins.Miguel Grinberg walks you through each exercise systematically, commenting on the code as he produces it on his screen. Once you complete a small working application, you'll write unit tests for it and then learn about deployment.If you've taken some Python classes and are anxious to get your feet wet with web development, this video is for you. It's a perfect prequel to Grinberg's book, Flask Web Development.Miguel Grinberg has over 25 years of experience as a software engineer. In his current position at Rackspace he spends most of his time contributing to open source projects in the OpenStack ecosystem. He blogs at http://blog.miguelgrinberg.com about a variety of topics including web development, robotics, and photography.
- Introduction
- Welcome and Set Up 00:07:56
- Hello, Flask!
- A Simple "Hello World" Application 00:10:53
- Templates
- Introduction to Templates 00:05:23
- Using Jinja2 Templates 00:14:59
- Using Flask-Bootstrap 00:07:18
- Custom Error Pages 00:06:03
- Page Links 00:04:39
- Web Forms
- Working with Web Forms 00:07:50
- Form Management and Validation with Flask-WTF 00:14:27
- Rendering Forms with Flask-Bootstrap 00:03:15
- File Uploads 00:10:20
- Flask In Depth
- Understanding Contexts 00:04:24
- Request Dispatching 00:03:38
- Request Hooks 00:05:18
- Responses 00:07:55
- Databases
- Using Flask-SQLAlchemy 00:16:49
- User Logins
- Password Security 00:07:26
- Using Flask-Login 00:25:36
- Scalable Application Structure
- Scalable Application Structure 00:21:47
- Testing
- Writing Unit Tests & Code Coverage 00:14:32
- End-to-end testing with the Flask Test Client 00:09:23
- Deployment
- Running in Production Mode 00:06:15
- Deploying to Heroku 00:13:17
- Deploying to a Linux Server 00:19:11