Welcome Guest, Not a member yet? Register   Sign In
Controller File Size/Length
#5

2000 - 3000 lines is still Okay. I think even 10,000 lines of source code is still okay as long as it applies good algorithm and MVC rule and make it the code easy to read, such as pay attention about indentations.
In addition, especially for speed, the first part to execute in Controller is construct method, if not so many libraries or class load there, for example Models, let's say under 5 models not load there, it is still okay, i think.
Reply


Messages In This Thread
Controller File Size/Length - by Poetawd - 09-27-2018, 10:59 PM
RE: Controller File Size/Length - by ignitedcms - 09-27-2018, 11:27 PM
RE: Controller File Size/Length - by kaitenz - 09-30-2018, 10:16 PM
RE: Controller File Size/Length - by Pertti - 10-01-2018, 01:58 AM
RE: Controller File Size/Length - by sofwan - 10-11-2018, 08:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB