Below are the steps how control flows in MVC (Model, view and controller) architecture:-
•All end user requests are first sent to the controller.
•The controller depending on the request decides which model to load. The controller loads the model and attachesthe model with the appropriate
•The final view is then attached with the model data and sent as a response to the end user on the browser