Welcome Guest, Not a member yet? Register   Sign In
multiple controllers url mapping in routes.php file
#1

[eluser]Unknown[/eluser]
Hi,

I have separated my main controller into 7 contorllers different controllers to minimize the size of the single controller. And my application is running on php 4 server so i can not use modular extention (HMVC) or modular separation approach.

The problem which i am facing is that i have to write rules for remapping the urls on these new contorllers methods. I have about more than 250 methods in these controllers. Can you please guide me how i can write these rules in routes.php file. Is there a handy approach to write minimum rules which could satisfy all controllers methods and its parameters.

Thanks
Shah Nawaz
#2

[eluser]InsiteFX[/eluser]
250 methods in 7 controllers? Sounds like an application structure
problem to me.

Maybe Libaries and Models.

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB