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

Learning Path : Up and Running with Flask

Video Description

Rapidly build web applications with Python

In Detail

You might already know some Python, but did you know that it’s also great for rapid prototyping and web application development? This Learning Path shows you how you can apply Flask to real-world projects so that you can ship quick, professional, market-leading products.

Prerequisites: A working knowledge of Python

Resources: Code downloads and errata:

  • Mastering Python

  • Rapid Flask

  • Learning Flask

  • Web API Development with Flask

  • This path navigates across the following products (in sequential order):

  • Mastering Python (2h 35m)

  • Rapid Flask (42m)

  • Learning Flask (2h)

  • Web API Development with Flask (1h 40m)

  • Photo Credit: ©iStockphoto.com/AleksandarNakic

    Table of Contents

    1. Chapter 1 : Mastering Python
      1. The Course Overview 00:03:42
      2. Downloading and Installing Python 00:03:03
      3. Using the Command Line and the Interactive Shell 00:03:30
      4. Installing Packages with pip 00:02:55
      5. Finding Packages in the Python Package Index 00:03:09
      6. Creating an Empty Package 00:04:10
      7. Adding Modules to the Package 00:04:37
      8. Importing One of the Package's Modules from Another 00:05:02
      9. Adding Data Files to the Package 00:02:33
      10. PEP 8 and Writing Readable Code 00:06:20
      11. Using Version Control 00:06:01
      12. Using venv to Create a Stable and Isolated Work Area 00:03:26
      13. Getting the Most Out of docstrings Part 1 – PEP 257 and Sphinx 00:06:24
      14. Getting the Most Out of docstrings Part 2 – doctest 00:02:52
      15. Making a Package Executable via python – m 00:04:15
      16. Handling Command-line Arguments with argparse 00:05:21
      17. Text-mode Interactivity 00:03:38
      18. Executing Other Programs 00:05:04
      19. Using Shell Scripts or Batch Files to Launch Programs 00:01:54
      20. Using concurrent.futures 00:09:57
      21. Using Multiprocessing 00:08:38
      22. Understanding Why Asynchronous I/O Isn't Like Parallel Processing 00:05:51
      23. Using the asyncio Event Loop and Coroutine Scheduler 00:05:26
      24. Futures 00:06:04
      25. Making Asynchronous Tasks Interoperate 00:05:51
      26. Communicating across the Network 00:03:16
      27. Using Function Decorators 00:05:02
      28. Using Function Annotations 00:04:55
      29. Using Class Decorators 00:04:28
      30. Using Metaclasses 00:04:56
      31. Using Context Managers 00:04:42
      32. Using Context Managers 00:05:37
      33. Understanding the Principles of Unit Testing 00:03:32
      34. Using unittest 00:05:37
      35. Using unittest.mock 00:05:39
      36. Using unittest's Test Discovery 00:03:56
      37. Using Nose for Unified Test Discovery and Reporting 00:03:59
    2. Chapter 2 : Rapid Flask
      1. Introducing Flask 00:02:54
      2. "Hello, World" 00:03:05
      3. Routing 00:03:28
      4. Returning Data to the Client 00:04:04
      5. Using Jinja Templates 00:03:34
      6. Using Logic in Jinja Templates 00:03:21
      7. Getting a Custom City 00:03:45
      8. Adding User-friendly Input 00:05:03
      9. Adding CSS Styles 00:03:44
      10. Adding User Sessions 00:04:21
      11. WhereNext? 00:05:21
    3. Chapter 3 : Learning Flask
      1. The Course Overview 00:02:00
      2. Text Editor 00:02:20
      3. Command-line Interface 00:01:52
      4. Version Control 00:01:54
      5. Database 00:01:02
      6. Flask 00:02:26
      7. Heroku 00:01:12
      8. Summary 00:00:59
      9. Project Structure 00:02:04
      10. The Request-Response Cycle 00:00:33
      11. Creating a Home Page 00:01:13
      12. Making Templates 00:01:41
      13. Routing 00:01:53
      14. Using Static Files 00:01:46
      15. Saving to GitHub 00:02:05
      16. Deploying to Heroku 00:03:01
      17. Creating an About Page 00:01:58
      18. Summary 00:04:28
      19. Creating the "users" Table 00:05:08
      20. Connecting Flask to Postgres 00:02:12
      21. Writing the User Model 00:02:38
      22. Installing Flask-WTF 00:02:09
      23. Creating a Form 00:01:26
      24. Rendering a Form 00:07:49
      25. Validating Form Data - Part 1 00:04:16
      26. Validating Form Data - Part 2 00:02:02
      27. Saving a New User 00:02:14
      28. Sessions 00:03:33
      29. Sign In 00:05:23
      30. Sign Out 00:02:31
      31. Authorization 00:02:17
      32. Protecting the Home Page 00:01:55
      33. Protecting the Signup and Login Pages 00:02:41
      34. Overview 00:01:55
      35. Adding a Form 00:03:33
      36. Querying for Places 00:05:29
      37. Rendering Places 00:03:14
      38. Conclusion 00:00:49
    4. Chapter 4 : Web API Development with Flask
      1. The Course Overview 00:02:42
      2. Setting Up Flask and Creating Your First Flask Application 00:06:09
      3. Custom Routing Configuration 00:09:15
      4. Flask Template Usage 00:06:35
      5. Flask Flash Messages and Custom Error Pages 00:03:25
      6. CRUD and REST Basics 00:03:08
      7. Using SQLAlchemy for Model Mapping 00:03:54
      8. Implementing Create 00:03:12
      9. Implementing Read 00:02:45
      10. Implementing Update 00:03:54
      11. Implementing Delete 00:02:43
      12. Hypermedia 00:04:36
      13. Implementing Pagination 00:02:36
      14. RESTful Authentication 00:06:27
      15. HTTP Caching 00:03:07
      16. Error Handling in RESTful APIs 00:04:43
      17. Guidelines for Building Large Projects 00:04:14
      18. Why Use HTTPS? 00:03:03
      19. Token Authentication 00:04:44
      20. Usage of Cookies 00:02:49
      21. Storing Passwords 00:03:49
      22. Using the Flask Test Client 00:02:36
      23. Testing Custom Flask Routes 00:03:17
      24. Testing CRUD 00:03:14
      25. Testing Authentication 00:03:16