ZF2-247: Http\SimpleRouteStack router ?

Issue Type: Improvement Created: 2012-04-01T19:39:44.000+0000 Last Updated: 2012-04-29T10:18:29.000+0000 Status: Resolved Fix version(s): Reporter: BLANCHON Vincent (blanchon_vincent) Assignee: Ben Scholzen (dasprid) Tags: - Zend\Mvc\Router

Related issues: Attachments:


There is actually : - SimpleRouteStack, deconnected of the current request - TreeRouteStack, use the current request, but save childs routes, plugin, and the match use offset.

Why not a Route between SimpleRouteStack & TreeRouteStack ? At work, we use always static (or regex route sometimes), not tree or thing like this, performance will be better. Why not Http\SimpleRouteStack, which know current request, so no problem to generate canonical url, and don't use tree or plugin etc ...


Posted by Ben Scholzen (dasprid) on 2012-04-29T10:18:29.000+0000

You don't have to use tree routing when using the TreeRouteStack. Also, please don't claim that performance is better here or better there without supplying any benchmark.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.