Welcome Guest, Not a member yet? Register   Sign In
One big controller or many small controllers?
#5

[eluser]Phil Sturgeon[/eluser]
I try and keep my controllers as small as possible. Remember that PHP will compile all the code in your files, even that which is not used. Meaning the more code in each file, the more work it has to do on each page load.

If you use modular extensions, matchbox, etc then you can make many controllers in each module and still have your work grouped nicely.


Messages In This Thread
One big controller or many small controllers? - by El Forum - 12-22-2008, 05:47 PM
One big controller or many small controllers? - by El Forum - 12-22-2008, 08:55 PM
One big controller or many small controllers? - by El Forum - 12-22-2008, 11:12 PM
One big controller or many small controllers? - by El Forum - 12-23-2008, 07:55 AM
One big controller or many small controllers? - by El Forum - 12-24-2008, 05:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB