1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of MVC

By David Bolton, About.com

Definition: MVC is short for Model View Controller and is a three layer pattern for isolating busines logic from user interface. The user interacts via a user interface. the controller then handles these inputs and directs them to the model.

The model (ie the application or part of it) manages its data and displays it to the user via views. An IDE for instance holds source code and displays it via a text editor. It may also have file views (showing all files), class views showing all classes. The user interactions are passed as actions from the controller to the model and affect the views.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
ASP.NET now has an alternative called MVC.
Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.