Creating and Processing Web Forms with Flask 1
Web forms are the main point of interaction between the client and the web server. Learn to utilize the Flask-WTF (WTForms) package to implement them in a poweful Flask web framework.
What you'll learn
At the core of building modern web applications is a thorough knowledge of web forms. In this course, Creating and Processing Web Forms with Flask 1, you'll learn how to build functional forms and process their input. First, you'll see how to create the templates and views. Next, you'll explore processing the user input and making sure that the form data is safe from potential threats. Finally, you'll discover how to improve the user experience by adding error and flash messages, plus making the forms asynchronous with AJAX so users don't have to wait for the page to refresh. When you're finished with this course, you'll have a foundational knowledge of building web forms in Flask that will help you as you move forward to creating web applications with the Flask framework.
Table of contents
- Version Check 0m
- Overview 1m
- Case Study: Globomantics Web Shop 2m
- Demo: Creating Templates and Views 5m
- Demo: Navigation Bar and Items List 6m
- The Basics of Web Forms 3m
- Demo: Requests with Form Data 6m
- Demo: Setting up SQLite for Storing Form Data 1m
- Demo: Application Context 3m
- Demo: Flashing Messages 3m
- Demo: Introducing Flask-WTF 3m
- Summary 1m