Flask Essential Training (2019)
2h 7mBeginner2019-12-05
Authors

Nick Walter
Mobile and web developer, instructor, and coding enthusiast
Course details
Flask is a Python framework for building lightweight and dynamic web applications. It helps speed up tedious behind-the-scenes development work, such as URL mapping, and offers more control than its closest competitor, Django. If you want to learn Flask, this course provides the training and hands-on examples you need to get started quickly. Join instructor Nick Walter as he covers the pros and cons of working with Flask, and steps through how to create your first app with the framework. Nick covers data flow in Flask; working with templates using Jinja, the template engine in Flask; using blueprints and views for organization; testing your Flask app; and deploying your project with Gunicorn.
Learning objectives
The pros and cons of Flask
Creating your first route in a Flask project
Working with page templates in Flash with Jinja
Using GET and POST requests in Flask
Data flow in Flask
Setting up an API in Flask
Templating flask with Bootstrap
Testing your app
Deploying your app with Gunicorn
Learning objectives
The pros and cons of Flask
Creating your first route in a Flask project
Working with page templates in Flash with Jinja
Using GET and POST requests in Flask
Data flow in Flask
Setting up an API in Flask
Templating flask with Bootstrap
Testing your app
Deploying your app with Gunicorn
Skills covered
FlaskBack-End Web DevelopmentPythonEssential TrainingWeb DevelopmentOpen Source
Concepts
Introduction
- Web development with Flask
- The pros and cons of Flask
- Technologies to use
- Demo project overview
- Flask for Windows users
First Flask App
- Install Flask and Pipenv
- Create your first route in a Flask project
- Flask's development environment
- Page templates in Flask with Jinja
- Passing data into Flask apps with forms
- Passing form variables to other routes in Flask
- Using GET and POST requests in Flask
Data Flow in Flask
- Using redirect and url for for error handling
- Saving to a JSON file
- Parsing a JSON file for conflicting entries
- Alerting users with message flashing
- File uploads from users
- Variable rules in URLs
- Working with static files
- Displaying custom error pages
Templates and Style
- Implementing sessions and cookies
- Creating JSON APIs
- Template blocks and base templates
- Templating Flask with Bootstrap
Deployment and Testing
- Blueprints and views for organization
- Testing your Flask app
- WSGI servers and how they work
- Deploy your Flask app with Gunicorn
Conclusion
- Next steps