CodeIgniter - MVC Framework

CodeIgniter is based on the Model-View-Controller (MVC) development pattern . MVC is a programming approach that separates application logic from presentation. In practice, this allows your web pages to contain minimal scripting, since the presentation is separated from PHP scripts.
- The modelrepresents your data structures. Typically, your model classes will contain functions to help you retrieve, insert, and update information in your database.
- The viewis the information that is presented to the user. A view is usually a web page, but in CodeIgniter a view can also be a page fragment such as a header or footer. It could also be an RSS page, or any other type of "page".
- The controllerserves as an intermediary between the model, the view, and any other resources needed to process an HTTP request and create a web page.
The model represents your data structures. Typically, your model classes will contain functions to help you retrieve, insert, and update information in your database.
The view is the information that is presented to the user. A view is usually a web page, but in CodeIgniter a view can also be a page fragment such as a header or footer. It could 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 an HTTP request and create a web page.