Oreilly - Learning Flask
by Lalith Polepeddi | Publisher: Packt Publishing | Release Date: July 2015 | ISBN: 9781783554294
Get started with Flask, a powerful web framework for Python that's easy to learn and use About This VideoWork on everything you need to know about Flask - models, views, controllers, web templates, forms, validation, and interaction with an APIBuild, organize, and deploy a location-based Flask app that retrieves and shows interesting places around the user's locationCreate a reusable workflow that you can use to jumpstart your next Flask appIn DetailWith a growing skills gap, the need for talented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Flask will be a useful skill to launch you on a career as an entrepreneur or web developer. Flask is a Python micro-framework that makes web application development as easy as saying it. This course will give you a basic grounding in the fundamental concepts of web development, as well as the hands-on experience you require to successfully build web apps with Flask.We'll start by turning your computer into a modern development machine. Next, we'll move beyond static websites and develop a powerful database-backed dynamic Flask app. We won't stop there, because we'll also cover how to implement a full authentication system.Finally, we'll extend the app's functionality by learning how to integrate it with third-party APIs.When you finish this course, you will be fully equipped to build your very own custom web apps.
- Chapter 1 : Setting Up the Environment
- The Course Overview 00:02:00
- Text Editor 00:02:20
- Command-line Interface 00:01:52
- Version Control 00:01:54
- Database 00:01:02
- Flask 00:02:26
- Heroku 00:01:12
- Summary 00:00:59
- Chapter 2 : Getting Started
- Project Structure 00:02:04
- The Request-Response Cycle 00:01:13
- Creating a Home Page 00:01:41
- Making Templates 00:01:53
- Routing 00:01:46
- Using Static Files 00:02:05
- Saving to GitHub 00:03:01
- Deploying to Heroku 00:01:58
- Creating an About Page 00:04:28
- Summary 00:00:33
- Chapter 3 : Storing Data
- Creating the "users" Table 00:05:08
- Connecting Flask to Postgres 00:02:12
- Writing the User Model 00:02:38
- Chpater 4 : Signing Up
- Installing Flask-WTF 00:02:09
- Creating a Form 00:01:26
- Rendering a Form 00:07:49
- Validating Form Data - Part 1 00:04:16
- Validating Form Data - Part 2 00:02:02
- Saving a New User 00:02:14
- Chapter 5 : Logging In and Logging Out
- Sessions 00:03:33
- Sign In 00:05:23
- Sign Out 00:02:31
- Chapter 6 : Authorization/User Roles
- Authorization 00:02:17
- Protecting the Home Page 00:01:55
- Protecting the Signup and Login Pages 00:02:41
- Chapter 7 : Bookmarking Places
- Overview 00:01:55
- Adding a Form 00:03:33
- Querying for Places 00:05:29
- Rendering Places 00:03:14
- Conclusion 00:00:49