Flasks in Python
Flask is a micro web framework written in Python.
A web framework is a software framework that is designed to support the development of web applications and deploy them.
Flask is classified as a micro-framework because it does not require particular tools or libraries.
The ‘micro’ in micro-framework means Flask aims to keep the core simple but extensible.
Flask won’t make any decision for you such as what database to use; the decisions that it makes are easy to change.
Flask allows us to build a web application eg, web pages, a blog, Wiki, etc.
Pros and Cons of a Micro-Framework-
- Light framework.
- Little dependency to update and watch for security bugs.
- More work done by the user.
- If work not to be done by the user, then increase the list of dependencies by adding plug-ins.
Flask Supported Dependencies-
- Werkzeug — WSGI utility library — The Web Server Gateway Interface (WSGI) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python.
- Jinja2 — Template engine.