Welcome Guest, Not a member yet? Register   Sign In
Performance Questions
#1

[eluser]Jagar[/eluser]
Hello everyone,

I have some questions which is bugging me while working on a project right now.

Is there any disadvantages to have many routing done in the routes.php?

Is it a good idea to have one controller do many things, such as admin section, or have it separate?

If it's a good idea to have one controller do many functions, how do you organize and/or redirect request to different function within controller. I currently use if and switches in my index function. Good or bad idea.

That's all the questions I have now, and I'm trying to prevent any problems down the road that may happen with this project.

I'm always looking for advices on good coding and management.

Thank you all and CI Rocks!


Messages In This Thread
Performance Questions - by El Forum - 05-04-2009, 08:35 AM
Performance Questions - by El Forum - 05-04-2009, 08:50 AM
Performance Questions - by El Forum - 05-04-2009, 08:57 AM
Performance Questions - by El Forum - 05-04-2009, 09:12 AM
Performance Questions - by El Forum - 05-04-2009, 09:47 AM
Performance Questions - by El Forum - 05-04-2009, 09:49 AM
Performance Questions - by El Forum - 05-04-2009, 10:07 AM
Performance Questions - by El Forum - 05-06-2009, 11:30 AM
Performance Questions - by El Forum - 05-06-2009, 01:21 PM
Performance Questions - by El Forum - 05-06-2009, 04:30 PM
Performance Questions - by El Forum - 05-06-2009, 06:04 PM
Performance Questions - by El Forum - 05-06-2009, 07:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB