Controllers in CodeIgniter
Posted
by
Dileep Dil
on Programmers
See other posts from Programmers
or by Dileep Dil
Published on 2011-11-30T04:32:33Z
Indexed on
2011/11/30
10:32 UTC
Read the original article
Hit count: 355
I little bit new to the CodeIgniter framework and this is my first project with this framework. During a chat on StackOverflow somebody said that we need to make controllers tiny as possible.
Currently I have a default controller named home
with 1332 lines of codes (and increasing) and a model named Profunction
with 1356 lines of codes (and increasing).
The controller class have about 46 functions on it and also with model class.
I thought that Codeigniter can handle large Controllers or Models well, is there any problem/performance issue/security issues regarding this?
© Programmers or respective owner