Welcome Guest, Not a member yet? Register   Sign In
Splitting one controller into multiple files
#3

[eluser]Xeoncross[/eluser]
ya, just do it.

We had a controller here recently that actually split into 4 other controllers to help speed up the system. Splitting up un-related functionality among controllers makes your system faster.

Take a blog
1) view controller
2) CRUD controller
3) Archive controller
4) etc...

You could put all that in one huge view - but then you would have a HUGE file to load on each request.


Messages In This Thread
Splitting one controller into multiple files - by El Forum - 02-18-2009, 02:20 PM
Splitting one controller into multiple files - by El Forum - 02-18-2009, 03:51 PM
Splitting one controller into multiple files - by El Forum - 02-18-2009, 04:49 PM
Splitting one controller into multiple files - by El Forum - 02-18-2009, 04:58 PM
Splitting one controller into multiple files - by El Forum - 02-18-2009, 05:02 PM
Splitting one controller into multiple files - by El Forum - 02-18-2009, 05:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB