Definition for model view controller (MVC)

Author Topic: Definition for model view controller (MVC)  (Read 2965 times)

mahbub-web

  • Guest
Definition for model view controller (MVC)
« on: September 09, 2012, 01:03:18 PM »
Definition for model view controller (MVC)

Model View Controller (MVC) is a software architecture, currently considered an architectural pattern used in software engineering.


  • The Model represents your data structures. Typically your model classes will contain functions that help you retrieve, insert, and update information in your database.
  • The View is the information that is being presented to a user. A View will normally be a web page, but in CodeIgniter, a view can also be a page fragment like a header or footer. It can also be an RSS page, or any other type of "page".
  • The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.

For more information http://en.wikipedia.org/wiki/Model-view-controller