« Not Invented Here — Time to Reframe the Development Process (Part III) | Home | 02h — You’re Killing Me Today »

MVC Architecture

By Howard Young | December 27, 2007

model-view-controller-cakephp.jpgBasic Stuff: The Model-View-Controller Architecture has three components used to partition and separate the processing from the display or GUI: The Model, View and Controller.

Basically, the inputs are mapped to the Controller and the outputs are mapped to the View. The Model maintains the persistent state of the Controller. Some MVC Architecture Diagrams show an interface between the View and Model; however, I believe that is incorrect since you want to isolate the view from the content.

For a Web Application, the Controller and View sit on top of TCP/HTTP or HTTPS with the Controller accepting HTTP Request Messages and the View providing the Request Codes and appropriate Markup Language (HTML, XML, etc.) response.

The Model provides the persistent state of the Application and typically interfaces with a Data Base.

Topics: Software Development, Websites |

Comments