CodeIgniter Forums
Newbie Education - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Newbie Education (/thread-20060.html)



Newbie Education - El Forum - 06-26-2009

[eluser]Unknown[/eluser]
Wondering if there might be some exhaustive help out there on MVC and more directly CI. Have a little PHP programming experience but having some difficulty understanding both these concepts.


Newbie Education - El Forum - 06-26-2009

[eluser]Jondolar[/eluser]
I recommend you dive right into CI and follow some of the tutorials out there. Within a short period of time, it should "click" and you'll get it.

Here is MVC in a nutshell:
Create view files with nothing but HTML and display logic (php code to display loops and variables)
Create models to extract data from your database (most, if not all, of your business logic goes here)
Create a controller to handle your application logic which calls the models and loads the views.

CI is a great framework that will guide you through setting this up and making it work extremely efficiently.

Good luck.