![]() |
Confusion between Model and controller - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Confusion between Model and controller (/showthread.php?tid=24288) |
Confusion between Model and controller - El Forum - 11-05-2009 [eluser]stormlead[/eluser] Hi! all i have a slight confusion between what do we have in model and what do we have in controller. I often think both have same things?? Confusion between Model and controller - El Forum - 11-05-2009 [eluser]rogierb[/eluser] 1 sec. of google got me - http://en.wikipedia.org/wiki/Model–view–controller - http://java.sun.com/blueprints/patterns/MVC-detailed.html - http://c2.com/cgi-bin/wiki?ModelViewController And a lot of other resources. In short: Model = data Controller = logic View = screen (Html, xml etc) Confusion between Model and controller - El Forum - 11-05-2009 [eluser]umefarooq[/eluser] check it also http://ellislab.com/forums/viewthread/134174/ |