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 routes.ini, omitting the
"resources.router" part when adding a route.
So my questions are:
- is it a good practice to store route configuration in a separate file?
- is there a standard name for this file?
- how and where load it?
- I've already an idea about the above questions answers, so I give it a try,
and loading the routes with "resources.router" throws a
Zend_Controller_Router_Exception 'No route configuration in section 'routes'',
why?
Thanks to everyone will help me to make it clear.
Regards
Sergio Rinaudo