Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

Zend_Controller_Router 2.0 RoadMap

Refactoring

Goal

The current layout of the router and it's routes is not very flexible and was not made for the current problems it currently tries to solve. Thus, it is going under refactoring to solve the drawbacks. In general, the following topics should be covered with the new router:

  • Lightweight: Should be as fast or if possible even faster than the current implementation
  • Design by contract: The router and it's routes get covered by interfaces
  • The router should completly work with the request object instead of URL-strings

Routes

  • The getInstance() method will be removed from all routes. Instead we will use a unified constructor
  • getDefault() and getDefaults() will become interface methods
  • The match() method will only allow an instance of end_Controller_Request_Http

CS-Cleanup

Currently the router doesn't follow the coding standard completly, this will be solved together with the refactoring.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.