Blog

A Basic Explanation of the MVC Framework Using the Codeigniter PHP Framework as an Example
Posted on June 24, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

In the CodeIgniter PHP MVC framework files:

  1. All or most files dealing with data or database(s) go into a directory called models located at:
    /application/models
  2. All or most files dealing with HTML rendering go into a directory called views located at:
    /application/views
  3. All or most files dealing with business logic and handling URL requests go into a directory called controllers located at:
    /application/controllers

Leave a Reply

To Top ↑