Now, Lawrence, in this video, we shall see what the flask extension's.
In the beginning, we mentioned that flask is a micro framework in the sense that it only provides the
minimal sort of state of the utilities to build a flask application.
But many of the other players, like the data abstraction layer, are the form validation facilities.
These kinds of activities or these facilities are not provided in built into the flask application framework.
So in order to provide this this support, this kind of support, like, for example, the Aughrim support
or the form, validation, support, etc., Flast depends upon the external extensions.
So.
The additional functionality that has to be provided with the help of the these extensions, in addition
to the framework different, you know, utilities like providing the support, etc., that is already
present in the in the form of a flask framework.
This is not enough for the development of the full fledged or full stack, as I call it, full stack
framework facilities.
Our features are not available in the micro framework, so therefore the flask extensions must be incorporated
into the flask environment.
The Flask Extension Registry is there, which gives you the list of all the available flask extensions.
This is a directory of extensions that are available.
Required extensions can be downloaded from the depository with the help of the utility utility so on.
On one hand, the flask is a micro framework, but on the other hand it is extensible.
So you can plug and play the different extensions into your working environment and enhance or increase
the capability of your flask installation or in a virtual environment that you have created with the
help of the pluggable extension that can be downloaded from the repository of the extensions with the
help of this BP utility.
Here are a few of these extensions are listed under, you say, utilities being explained.
For example, there is an extension cord that flies in.
This extension allows you to have an S&P interface.
Assembly B is a well-known protocol for handling or managing the e mail services so that Assembly B
interface, if you want to provide to your application, all you have to do is to add the flask mail
extension into your application flask.
WITF, W-2 forms is a very useful form.
Celebrity Web form celebrity.
Flask WTT of either extension or is a module which, you know, incorporates this W.T. forms library
into the flask invertebrate.
So it adds the rendering and validation of their W-2 forms that is called the flask WPA of another very
important extension that is very widely used is called Flask as Tuell Alchemy.
Actually, Eskil Alchemy is a very popular or a Mappa object relationship mapper.
Later on during the course, we will see what is the actual alchemy and what are its features.
But for the time being, it is sufficient to know that Eskil Alchemy is a mappa between the object oriented
Biton program and the database database products like CircuLite or Myersville or anything.
So this is a mapping activity is done by this Ezekial Alchemy.
It maps the database with the classes and objects that are defined in the Python program.
Flask Eskil Alchemy is an extension which.
Brings the Ezekial Alchemy support into the Flask of Lascher application.
Then there is a flask, Digex.
We know that the Ajax's are JQ Library, very lively, is a very popular Clydeside in a programming
tool that is very popular to use nowadays.
So this flask Digex provides you an interface with Jaquie so that the Ajax features can be easily incorporated
into your flask applications.
So such like mini flask extensions are available in the extension registry.
I'm just trying to explain a few of them.
And in fact, we are going to study in more depth the last minute.
The beauty of Eskil Alchemy during the course of our further use since an extension is nothing but a
Python module.
What are you to do?
You have to import that extension or that module into your flask application by scene from whatever
the name of the extension, for example, ramrodding flask full.
So flask from flask who import any module, as you know, is a collection of different classes and functions.
So from this particular module, which class or function or classes or functions you want, you can
import.
So this is a general syntax of importing a desired resource from a python module that is applicable
to the extension also.
But then there are two different in Austin, Texas, that are used for importing.
This particular syntax is currently prevailing in the flask development.
No point one zero onwards.
If you have an installation of Lask, which is between point seven to one ten point one, so you can
have this particular syntax applicable or usable only if you run fluffs in the first place, you run
this flask compared not be white.
So you get hold of this python script.
Execute this, then only you will be able to use this way of importing the module or extension.
Otherwise you'll have to do what we just say.
Import Flast underscore for specific resources of the module.
If you want to incorporate or import using this syntax first, you will have to get hold of this, execute
this and then the import flask compact.
Plus, he actually compared that activity to activities.
Feature first and then only you'll be able to do this if you do not have this, then you can only say
import flasks.
That is the difference in syntax for the last person prior to point one and after point one.
Of course, you can use this.
So this is a slight bit of difference in between these two, the two different ways of.
Importing the flask extension into your program.
So having seen this now, we will try to find out more about the different extensions, specifically
the flask male extension.
We will see first, then followed by this killer alchemy like that.
So this was a sort of a brief overview of the flask extension's.