CodeIgniter Forums
query regarding controller and model - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: query regarding controller and model (/showthread.php?tid=31394)



query regarding controller and model - El Forum - 06-17-2010

[eluser]UdayD[/eluser]
Do controller work as intermediary between view and model.
Is whatever related to database and forms handled by model and and then passed to a controller?


query regarding controller and model - El Forum - 06-17-2010

[eluser]Ivar89[/eluser]
Yes ^^, at least thats the MVC way for databases
I think its easier to do your forms in controller, but thats just me.