[fw-general] Best practice with routes management using separate .ini

2011-08-15 Thread Sergio Rinaudo
Hi all, in my ZF project I have lots of different routes that now are defined within the application.ini using the resources.router, resources.router.routes.login.* for example . Searching on the web I found that some people are using a separate ini file only for routes, called route.ini or

Re: [fw-general] Best practice with routes management using separate .ini

2011-08-15 Thread Hector Virgen
I suggest creating a new bootstrap resource plugin by the same name router, extend the ZF one, and add your own logic to pull the config from a separate file. Something like this should do the trick: http://pastie.org/2377345 Then update your application.ini with this line: