Daily Archives: September 20, 2008

MVC Architecture

Model-View-Controller architecture, in short known as MCV, is an architectural as well as a design pattern that finds its application in software engineering. MVC architecture is an effective pattern, which isolates the business logic from the users interface (UI) considerations to form an easy application that either enables modifying the visual appearance of the application or the inherent business logic, without affecting of the scope of each other.

MVC architecture integrates two aspects; namely the view and the controller. The view corresponds to the items in the checkbox and the text, generally the elements of the user interface, while the controller is responsible for managing every details of the users’ action, such as keystrokes and movement of the mouse, which involves communication to the user.

As as architectural pattern, MVC is often used in web applications, where the view is an actual HTML page, and the controller is a code used to gather dynamic data and generate the content within the HTML itself. The whole model is then represented by the actual content, stored normally in XLM nodes or in a database and the business rules, which transforms the content of the webpage based on the response of the users’ action.

One can find various frameworks that support MVC architecture pattern. Java Swing, a Graphics User Interface (GUI) framework, Java Enterprise Edition (Java EE), and Xforms are such selected frameworks. The application of MVC architecture can be largely found in diverse platforms, such as .NET, ABAP Objects, Informix 4GL, Perl, PHP, Python, Ruby, Smarttalk, and XML.