MVC in CodeIgniter
I lied. In one of my earliest posts I said I wouldn't be talking about the MVC concept at all (because I was unqualified to do so) but now I feel like giving it a shot anyway.
MVC stands for Model View Controller. Model is for storing data, View is for displaying HTML, and Controller is for the logic of your web app. Basically, Controller is the boss and both Model and View report to him - and he can do whatever he wants with them.
With CodeIgniter, the MVC "architectural pattern" (stole that one from Wikipedia) is very loosely enforced. For example, if you have a controller called site then that controller is called when the url http://www.yoursite.com/index.php/site gets loaded. From there you would load a model to retrieve data from a database and then load the view with the data that you got from the model.
That's the gist.










