php - Request handling in Zend Framework 2 compared with request handling in Zend Framework 1 -
itemprop = "text">
The Bible "Zend Framework 1.8 Web Application Development" in Z Framework 1: Handling ZF1 request by Keith Pope is described as follows:
The process can break like this:
- A request is made and the request object is created.
- The route startup event is removed.
- The router processes this request.
- The route shutdown event has been removed.
- The dispatch loop startup event has been removed.
- The dispatch loop has started.
- The Preset event has been removed.
- The Dispatcher Calls the Action Controller.
- The action controller writes the Response object.
- The post dispatch event has been removed.
- If there is any action left to call, then go to Step 7.
- The dispatch loop shutdown event has been removed.
- The response is sent back.
![]()
Is it still applicable to the request in Zend Framework 2? If not: What's new? What does the new schema look like?
The flow of the request in ZF2 differs from ZF1, because ZF2 MVC is an event-driven architecture. See the flowchart here:
I think it is available in many languages.
Hope it helps :)
Comments
Post a Comment