MVC5 Classic
MVC Basics

Model-View-Controller (MVC) is a design pattern commonly used by applications that require multiple views of the same data. The MVC pattern reqires the separation of individual objects into the following three categories:

The concept of MVC is depicted in the following diagram:

Typically, the control flow in an MVC application would be as follows:

  1. Someone interacts with the UI in a way that triggers an event.
  2. The controller notifies the model of the user’s interaction and requests an action.
  3. Model performs the requested action.
  4. The controller requests for the view to display the result of the action.
  5. The view (or views) query the model to generate the new view and grabs the data from the model.
  6. The view displays the results.
  7. But before we do that, it might help to understand how a view is formatted and ComponentOne widgets are accessed.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback