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