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:

  1. A request is made and the request object is created.
  2. The route startup event is removed.
  3. The router processes this request.
  4. The route shutdown event has been removed.
  5. The dispatch loop startup event has been removed.
  6. The dispatch loop has started.
  7. The Preset event has been removed.
  8. The Dispatcher Calls the Action Controller.
  9. The action controller writes the Response object.
  10. The post dispatch event has been removed.
  11. If there is any action left to call, then go to Step 7.
  12. The dispatch loop shutdown event has been removed.
  13. The response is sent back.

    Enter image details here

    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

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -