Zend_Controller_Router_Rewrite is the standard framework router. Routing
is the process of taking a URI endpoint (that part of the URI which
comes after the base URL) and decomposing it into parameters to
determine which module, controller, and action of that controller should
receive the request. This values of the module, controller, action and
other parameters are packaged into a Zend_Controller_Request_Http object
which is then processed by Zend_Controller_Dispatcher_Standard. Routing
occurs only once: when the request is initially received and before the
first controller is dispatched.
Zend_Controller_Router_Rewrite is designed to allow for mod_rewrite-like functionality using pure PHP structures. It is very loosely based on Ruby on Rails routing and does not require any prior knowledge of webserver URL rewriting. It is designed to work with a single Apache mod_rewrite rule.
Zend_Controller_Router_Rewrite is designed to allow for mod_rewrite-like functionality using pure PHP structures. It is very loosely based on Ruby on Rails routing and does not require any prior knowledge of webserver URL rewriting. It is designed to work with a single Apache mod_rewrite rule.
No comments:
Post a Comment