Flask Introduction

So, before moving further, it will be good to know a few basic things like What is a web framework ? Well, the answer is – Web framework is a collection of libraries and modules which enables a web application developer to write codes without bothering about the low-level things like protocols and thread management, etc.

What is Flask?

Flask is a web based application framework, which is written in Python and is developed by Armin Roncher, who also heads the international group of Python enthusiasts, known as Pocco. Flask is based on 2 major projects of Pocco group,WorkzengWSGI toolkit and Jinja2 template engine.

Now, we talked about a few things in the above description Let’s learn about them first..

What is WSGI ?
And the answer is WSGI stands for Web Server Gateway Interface and has been adopted as a standard for Python web application development. WSGI is a specification for a universal interface between the web server and the web applications.

What is Workzeng ?
It is a WSGI toolkit, which implements requests, response objects, and other utility functions. This enables building a web framework on top of it. The Flask framework uses Werkzeug as one of its bases.  –  The best answer that I found on the web.


What is Jinja2 ?
jinja2 is a popular templating engine for Python. Basically a web templating system contains the HTML structure of web pages which are put together with some variable / data by the system to generate dynamic website.

Flask is generally referred as mirror framework. Flask keeps the core of the application as the simplest yet extensible. Flask supports extensions to be added on for getting new features which we will discuss in the course as we move..