Anatomy of a MVC Request Response



Diagram for MVC Request Response

To be short and precise:
  • When a user sends a HTTP request through a browser, the controller which is the traffic hub receives the request and interacts with model to perform the operation.
  • Model perform the business operation to complete the task and respond back to controller.
  • Then the controller selects a View and passes requested data to the view to generate a page.
  • The View engine reads view template and dynamically generates HTML that is sent to the user.

No comments:

Post a Comment

Recent Posts