what is routing and how it\'s work?

Answer

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, controll
er, 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.

All zend Framework 2 Questions

Ask your interview questions on zend-framework-2

Write Your comment or Questions if you want the answers on zend-framework-2 from zend-framework-2 Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---