On Thu, Aug 13, 2009 at 1:32 AM, debussy007 wrote:
>
> In that case one must update the doc:
> *
> The following route more-or-less mimics the Module route behavior:
> $route = new Zend_Controller_Router_Route(
>':module/:controller/:action/*',
>array('module' => 'default')
> );
> $ro
In that case one must update the doc:
*
The following route more-or-less mimics the Module route behavior:
$route = new Zend_Controller_Router_Route(
':module/:controller/:action/*',
array('module' => 'default')
);
$router->addRoute('default', $route);
*
this will not match /serv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
debussy007 wrote on 12.08.2009 21:47:
> I would have had less routes if the default values were working like it is
> suggested in the manual.
> E.g.
> Zend_Controller_Router_Route(':lang/:controller/:pageid/*',
> array('controller' => 'index'), array('
I would have had less routes if the default values were working like it is
suggested in the manual.
E.g.
Zend_Controller_Router_Route(':lang/:controller/:pageid/*',
array('controller' => 'index'), array('lang' => 'fr|nl|en'));
doesn't catch an URL like:
/fr/services-webmaster (I expected that :con
Soz, didn't reply all
On 12 Aug 2009, at 19:41, Daniel Latter wrote:
Don't worry about performance until it becomes an issue, my 2p
On 12 Aug 2009, at 18:52, debussy007 wrote:
My CMS allows the user to define custom URLs or to leave the
default ZF URL
system for a specific page. Also
Yes, routes like e.g.
$route = new MyZend_Router_CustomUrlRoute(
':lang/:pageid/*',
array(),
array('lang' => 'fr|nl|en')
);
$router->addRoute('custom_9', $route);
jasonistaken wrote:
>
> I assume you mean routes, not routers? Correct?
>
> On 12/08/2009 9:59 AM, debu
I assume you mean routes, not routers? Correct?
On 12/08/2009 9:59 AM, debussy007 wrote:
Hi,
I defined 8 custom routers in my bootstrap, including the default router
that makes it 9 routers.
For every request, it will check the routers one by one as long as one
didn't match. Thus I wondered if
My CMS allows the user to define custom URLs or to leave the default ZF URL
system for a specific page. Also the URL usually includes the language /fr/,
/en/, etc. and if there is none, it's the default locale that will be taken.
-> custom url
1. ':pageid/*'
(user rewrites the whole url module/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
debussy007 wrote on 12.08.2009 18:59:
> Hi,
>
> I defined 8 custom routers in my bootstrap, including the default router
> that makes it 9 routers.
> For every request, it will check the routers one by one as long as one
> didn't match. Thus I wondere
Hi,
I defined 8 custom routers in my bootstrap, including the default router
that makes it 9 routers.
For every request, it will check the routers one by one as long as one
didn't match. Thus I wondered if I have to worry about performances for e.g.
the URLs matching the last checked route or if
10 matches
Mail list logo