Skip to content

Instantly share code, notes, and snippets.

@robertbasic
Created October 8, 2012 19:01
Show Gist options
  • Select an option

  • Save robertbasic/3854257 to your computer and use it in GitHub Desktop.

Select an option

Save robertbasic/3854257 to your computer and use it in GitHub Desktop.
If you are a developer with knowledge of the routing system in Zend Framework 1.x, you should know that some of
the old terminology does not apply in Zend Framework 2.x. In the new routing system we don't have a router as
such, as every route can match and assemble URIs by themselves, which makes them routers, too.
That said, in most cases the developer does not need to worry about this, because Zend Framework 2.x will take
care of this "under the hood". Chances are that the work of the router will done by ``Zend\Mvc\Router\SimpleRouteStack``
or ``Zend\Mvc\Router\Http\TreeRouteStack``.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment