CodeIgniter Forums
benifit of using to many controllers - 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: benifit of using to many controllers (/showthread.php?tid=12538)



benifit of using to many controllers - El Forum - 10-22-2008

[eluser]Programming Life[/eluser]
What is the benifit of using to many controllers?
How many controllers are possible in framework?


benifit of using to many controllers - El Forum - 10-22-2008

[eluser]Colin Williams[/eluser]
Controllers let you logically separate how objects and actions are handled. If I'm writing a personal management app, I probably have objects like tasks, projects, milestones, users, etc. So, I probable have a Task controller, a Project controller, a Milestone Controller, a User controller, and on and on..