O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Professional Python Web Development Using Flask

Video Description

This course will teach you, assuming no prior coding knowledge, how to develop back end web applications the way professional coders do in the top internet startups. How do I know this? Because I've been leading tech teams in both large enterprise as well as startup companies in New York City for the past 15 years. I have seen a lot of courses and free tutorials and I can tell you 90% of them just teach bad habits while promising to turn you into a real “web developer". But let me tell you a reality: There's no such thing as a web developer these days. You're either a back end web applications developer, a front end application developer or the so-called (and rare) full stack web developer which includes the other two. However there are so many technologies to master in both the backend and frontend areas that full-stacks (or “web developers") are a rarity in professional environments -- You're either a back end or a front end web developer. This course doesn't promise to turn you into a professional back end developer after you complete it...but it will give you a good foundation from where to start and continue your training, knowing the right path to become a real professional backend web applications developer using Python. My goal is to make a second course, which would introduce more advanced back end concepts and then start the front end courses (basic and advanced) soon after that. The course goes through a step by step process of developing web applications, teaching you the Python basics for web development, introducing Flask and using Cloud9 as your development environment. It then moves to explore SQL databases, using MySQL and finally showing you how to develop a blogging application using all these learnings.

Table of Contents

  1. Introduction
    1. The From Zero approach 00:03:10
    2. What is back end development 00:03:30
    3. Why Python 00:04:04
  2. Setting up the Cloud9 Environment
    1. Introduction to Cloud9 00:02:36
    2. Closer look IDE 00:05:54
    3. Shell commands 00:10:27
  3. Python Basics
    1. Python Shell 00:02:13
    2. Arithmetic functions 00:02:32
    3. Variables 00:04:25
    4. Checking types 00:01:56
    5. Variable format 00:03:35
    6. Strings 00:04:17
    7. Lists tuple dicts 00:06:34
    8. Date and Time 00:04:30
    9. Loops 00:03:13
    10. Functions 00:03:09
    11. Classes and objects 00:14:35
    12. Conditionals control flow 00:04:16
    13. Modules 00:11:54
    14. Parameters 00:13:41
  4. Introduction to Flask
    1. Our First Flask Workspace and Introduction to Virtual env 00:08:53
    2. Install flask 00:03:06
    3. Python Path 00:06:25
    4. Minimal app 00:13:11
    5. Starting with GIT 00:03:52
    6. Debugging 00:11:43
    7. Routing with vars 00:10:28
    8. URL for 00:04:51
    9. Get method 00:08:49
    10. Post method 00:07:00
    11. Intro templates 00:09:37
    12. Login template 00:08:07
    13. Login Function 00:08:28
    14. Redirect after post 00:06:54
    15. Flash messages 00:08:50
    16. Better html 00:03:35
    17. Template inheritance 00:12:05
    18. Block super 00:04:51
    19. Cookies 00:12:21
    20. Static folder 00:04:18
    21. Sessions 00:06:23
    22. Loggers 00:07:14
    23. Intro MYSQL 00:12:32
    24. User table 00:15:03
  5. Our First Flask application: Flask Blog
    1. Introduction 00:14:20
    2. The basic structure 00:09:16
    3. Setting up the ORM 00:12:30
    4. The author model 00:08:08
    5. Interacting with the ORM 00:12:53
    6. The base template and bootstrap 00:08:24
    7. Intro to WTForms 00:15:46
    8. Form errors 00:11:02
    9. Macros 00:08:05
    10. Blog model and form 00:08:17
    11. Blog admin and setup templates 00:14:39
    12. Blog creation database 00:11:31
    13. Author Login 00:17:03
    14. Requirements 00:01:08
    15. Login Required Decorator 00:14:48
    16. Introduction to Migrations 00:13:46
    17. More Secure Password 00:17:22
    18. Checking is author 00:10:05
    19. The Post and Category Model 00:13:35
    20. Post Migration and Testing 00:12:01
    21. Introduction to Markdown 00:09:56
    22. Post Form 00:11:46
    23. Saving the Post to Database 00:09:33
    24. The Article View 00:14:44
    25. List articles 00:17:30
    26. Logout links footer 00:04:00
    27. Pagination 00:12:13
    28. Setting up Flask uploads 00:13:40
    29. Adding Image Blog Post 00:09:29
    30. View Image Index Article 00:06:51
    31. Deleting Article 00:13:57
    32. Editing Articles 00:17:18
  6. Unit Testing
    1. Introduction to Unit Testing 00:15:39
    2. Create Blog Test 00:15:45
    3. User Tests 00:08:27
  7. Final Project
    1. Final Project 00:02:54