Hello, friends, in this video, we shall have an overview of flask web application framework.
So what is a Web application framework?
It is a collection of utilities and modules that are required for the development of Web enabled application.
So for the Web application, the all the utilities and modules that are required are provided in a Web
application framework.
For example, if you want to develop a Web application.
Normally, the Web server has the Web pages that are posted on it, and when your browser browser is
a client of your Web server, then it requests in particular you are in from the premier's address bar.
Then the Web server accepts the request.
Maps the request to a particular Web page and renders the data back to the browser.
So in all these activities, different lower level activities like the server binding to a particular
hostname, the server listening to the external requests.
The client sends the request to the server and then server sends back to.
The clients bought no and lost their data that is requested by.
So all these low level activities are involved in a Web application.
What does the Web application framework do, it frees the user or the developer from all the lower-level
activities, such as what are the protocols, what are what is how the management is done that is all
taken care of by the Web application framework.
All these different Web application frameworks are essentially a server side technology, what it is
called the server side technology.
But of late, modern frameworks are also taking care of certain AJAX based activities in order to help
the developer perform certain blindsight, you know, development or coding.
As part of the.
By Tom's Web application frameworks are concerned.
There are many popular Web application frameworks like Django is one of the very popular ones, flask,
pyramid, turbochargers, etc..
All these Tom Bassler Web application frameworks are.
W w g, I complained.
What is this guy stands for Web server Gateway Interface, WRGA is not a software, it is not a module,
it is not a package, but rather it is a standard prescribed for.
The development of PyCon based Web applications, so all these frameworks that I have listed, these
frameworks are all WGI compliant frameworks.
So.
The flock is also WGI Complan.
Web application framework.
What is the flask flask is a Web application for the mug, as we have seen written in by Tom.
It is developed by Armin Renascent.
Now, he is the person who is heading a group of Python enthusiasts, and the name of the group is called
Poco Poker is a group of Python developers which have developed different Python based modules or projects,
for example, flosses one.
Then there is a work
group that.
He's also a part of the Pokot group.
Then there is Ginger, too.
This is a complete.
Then this group has also developed a document document processor framework Sphynx, so all these activities
are done by the Spokeo group.
Is.
This framework is based upon these two.
Activities are utilities.
This one is a.
Toolkit for all WGI processes that you would want to do and Ginge to is a template processor.
So these two are the basis of their application framework.
Different.
Framework that I have mentioned.
The different frameworks are classified to be of two types.
One is called as the full spectrum framework.
For example, the general is a full stack framework, different frameworks.
Are called the full stack, but if those frameworks contain all the utilities that are required, the
required for the complete Web application development, on the other hand, something like Flossie's
called it micro framework.
It's called the micro framework.
What is the difference between a full stack of a framework and a micro framework?
Micro framework is supposed to be a minimalistic approach.
He doesn't he doesn't have all the requirements that are required for the application development,
that all of them are not present in a micro framework.
So it is a minimal application, minimal framework that is provided and.
It depends upon the external extensions for.
Performing different kinds of activities, for example, the flash doesn't have an abstraction layer
for database connectivity, doesn't have the autism processor.
It also doesn't have a form, validation, support.
So in order to perform these activities flask.
Framework can be extended by adding or by importing the different extensions that are developed specifically
for a flask like, for example, for obstruction liver, for further obstruction, then.
Frame flat framework can take use of a flask,
yes, dual alchemy
and for the form validation it get take use of WP forms.
So such Suchart Extensible Network for the framework is called a micro framework on the other end.
There are some others which are full fledged, having everything, the templates, the abstractions,
etc. are in built into the frameworks like Django.
But the flask is called the micro framework.
Coming to the one of the basis of the Flast framework, the work Zielke, now this is a German term,
so I hope that I am getting the pronunciation right.
This one.
What Keyzer WGI toolkit.
We saw that the WGI is a set of standards for the python.
You know, we observe all the activities that are needed to be performed for WGI compliance framework,
all these tools are provided in the what?
The toolkit.
Now, this enables the building of a framework on the top of it, on the top of the world to keep the
web framework is built.
Flask is built upon it.
One of the pieces is what do what does it contain?
What does the work toolkit contain?
It contains the.
There's DTP header passing and dumping.
There are response and request objects that are embedded into it, as I didn't expect any to the hundred
percent WGI compatible tool kit.
This is available on Wighton two one six two point seven and three point three versions of Python on
these versus the this toolkit is available.
It also has a inbuilt Unicode support and more importantly, it also supports the session and cookies.
So this is all the characteristic features of this work group toolkit.
And second base of our Flast framework is called the Ginge to Templating Engin.
Now, at Ginge two is the templating system, what is a victim democratic system, it compact, it combines
the framework or the skeleton, which is the template with the different data sources.
DataSource, there is one datasource, one, there is one template, and taking different debtors' items
and integrating with the template creates a different dynamic webpages.
That is the activity done by a web templating system.
So.
This is also a second base for the flask framework on the top of the frame, what is built.
So these are these are the two main basis of the framework.
This is just an overview of how the framework is arranged, what is what is the framework and what are
the different requirements that are required to build a micro framework like flask.
So in the next video, we shall see what are the environment of the flask is set on.