Where is the model view controller concept and they see.
And multicultural, usually known as NVC, is a software design pattern that is commonly used for developing
user interfaces, that's widely related program logic into three interconnected elements.
And she can see we have the model, we have the view and we have the controller.
And there let us continue.
The MVC components, the first thing we have give the model and where is the motor?
The motor is the central components of the pattern and it is the applications dynamic data structure
independent of the user interface.
It directly manages the data, logic and rules of the application.
And insurance records say a model contains the data to view and there is no special thing on it.
And a model is Daas just contains the data.
So if you.
As you can see, we have, for example, in our.
Rather different information to view, which comes from the data from the database and the model contains
the data to view and if they can feel regressivity view they view, what is the view?
The view?
Is there any representation, as you can see, of information such as it charts the or table and multiple
views of the same information are possible, such as a martial arts for management and its hablar review
for a contents.
If you control the presentation of the graphical interface, as you can see, this is the modules you
control.
The model is what you have in your database.
A model contains what a model contains, what you have in your database.
But the view is what you are seeing in your brother or your brother, for example.
You have a form in order to feel different information in these different inputs.
What you have to see in your browser, the graphical representation.
This is what we call the view.
Very simple.
And there is the controller.
Hence we can see here except inputs and convert it to commands for the model or the view.
A controller contains the logic concerning the actions performed by the user.
As you can see, the controller is like an interface, is a concern, is like any difference between
the view.
This is the view, for example, and this is the model and the interference, the concert is like a
nightmare for us because if you fail, for example, some inputs in your view in order to be served
in a database, this information must first fall.
A must first pass via the controller and the controller will convert this information in order to be
served in your database and the mother will get all data which contains all data you have serving in
a database.
This is the controller like little Forrest.
I think that you are going to really understand this concept where we are going to record the controller
very simple and very is.
And let us see this insurrection that we have here.
This is the view what you have in your brother.
I can, for example, a simple user here.
I'm going to say, for example, here and there, I'm here.
I'm seeing what's.
I have on my brother, this is The View and his you can see here, here, if the model fails the view
because different information we have in our database must appear in our view and reason.
Why has the data contents different data of our database and the model fills this information in our
views.
And if it wants, for example, to save something in my database, what I'm going to do, I'm going
to read, for example, his you can see here the user by using this view, it cannot only see but can
also, for example, rights, civil service, for example, something through the database via the controller
and the consultant will be like, any difference?
And then I'm going to update the information in my database.
And the model will also be updated and fills the new information, in my view.
And hence you can see these other means.
If, for example, I write something, I said something to the database by using the controller.
If they control if the if the service is succeeded or consulate, the consulate must notify me a reason
why you can see if you notifies the consulate, notifies the user, which is who is using the view.
You can see, for example, if you create an account after feeling different inputs and you click on
the validation button, you're going to get, for example, a notification.
The account has been created successfully and this is what I can so I can talk about the models.
You control the concept very simple and very clear.