Model-View-Controller

MVC is a software architecture that separates application logic from presentation. permitting independent development, testing and maintenance.

  • The Model represents your data structures. Typically contains necessary code for retrieve, insert, and update information in your database.
  • The View renders the data obtained through Models into a form suitable for presentation, in this case HTML.
  • The Controller receives user input and initiates a response by making calls on model objects and putting the data obtained into views. It's the “glue” between Models and Views.

See also

Navigation
Print/export
Toolbox