concept request in category php

This is an excerpt from Manning's book Zend Framework in Action.
Figure 1.5. The MVC flow in a Zend Framework application uses a front controller to process the request and delegate to a specific action controller that uses models and views to craft the response.
![]()
The Zend_Controller family of classes provides a Front Controller design pattern, which dispatches requests to controller actions (also known as commands) so that all processing is centralized. As you’d expect from a fully featured system, the controller supports plug-ins at all levels of the process and has built-in flex points to enable you to change specific parts of the behavior without having to do too much work.
As we have discussed, Zend Framework’s controller system is based on the Front Controller design pattern. which uses a handler (Zend_Controller_Front) to dispatch action commands (Zend_Controller_Action) that work in tandem. The dispatcher component allows for multiple action commands to be processed within a single request, which provides for flexible application architectures. The action class is responsible for a group of related action functions, which perform the real work required by the request. Within Zend Framework’s front controller, it is possible to have a single request result in the dispatch of multiple actions.
The router determines which code to run, based on the parameters within the request. This is done by a class that implements Zend_Controller_Router_-Interface. The framework also supplies Zend_Controller_Router_Rewrite, which handles most routing requirements.