MVC (Model – View – Controller)

MVC, with its three segments: Model, View, Controller is a well-proven pattern* for human-machine interaction.

Independent of programming language, MVC is a de-facto standard for abstract description and the rough drafting of complex software systems. The functional zones of the three segments are: 

  • Model: Data model – contains the data to be expressed and, depending on the situation, also the commercial logic
  • View: Presentation segment – expression of the modelling data and reception of user actions
  • Controller: Program control – administers views, receives user actions from them, evaluates these and replies accordingly

Reusable components, each with its defined function, can be developed on the basis of this architecture. However, the threefold division need not be strictly adhered to. For example, it might make sense to express the reception of user commands in view, controller or model. GUI control elements, such as multiple select lists or filters, can combine aspects of view and controller.

The most important advantage of MVC is that the pattern method enables the creation of reusable components within a flexible program design. Maintenance-, modification- and extension-friendly solutions for complex tasks can be realized with MVC.

(*) A “Pattern” is a proven solution template for repetitious tasks.

Read more about:
“Red-green” testing and “movable” code

More Information

Agility and user focus

More Information

Visitor history