Flask is a micro web application framework written in Python. It is based on Werkzeug WSGI toolkit and Jinja2 template engine. This tutorial has been prepared under DevIncept Contribution Program for anyone who has a basic knowledge of Python and has an urge to develop websites.
- Hello World! in Flask
- Templates
- Web Forms
- Databases
- Email Support
- Application Programming Interfaces (APIs)
Installing Flask and how to create simple web application in Flask
- Installing Flask
- Routes and View Functions
- Create Simple Web Application
How Flask supports Templates and ease our presentation layer using Jinja2
- Jinja2 Templating Engine
- Operations in Jinja2
- Conditional Statements
- Loops
- Template Inheritance
How to create web forms in Flask to accept user data
- Configurations
- Form Classes
- Rendering HTML Forms
- Form Handling
Databases using Flask
- SQL vs NoSQL Databases
- Database Management using Flask-SQLAlchemy
- Model and Relationships
- CRUD Operations
- Database Migrations using Flask-Migrate
How to send email using Flask
- Email Support with Flask-Mail
- Integration with Web App
- Sending Asynchronous Email
How to create APIs using Flask
- Introduction to REST
- RESTFul web services with Flask
- Serializing Resources to and from JSON
- Implementing Resource Endpoints