MVC Model View Controller

The MVC is just that a model a view you and a controller user makes a request to the respected URL it is received by the controller and a controller is like a traffic controller which controls various types of traffic like GET, POST , PUT ,DELETE the controller ask for any respective data to the model  and the model ask the database then the database returns the data to the model then  the model change the data to the controller then the controller injects the data to the respective view and then the view is compiled and sent to the browser then  the browser parses the HTML and we see the webpage


No comments:

Post a Comment