You are on page 1of 1

Init_autloader.

php

public/index.php

public/.htaccess

Apache load configuration from <vhost>

Zend\Mvc\Application::init() Zend\Module\Manager

Zend\ModuleManager\ModuleManager::loadModule() <module or vendor>/<module_name>/Module.php

Event: loadModules.pre

getAutoloaderConfig()

Init()

All modules loaded? No = next module

Zend\Mvc\Application::run() Event: route Match the give URL to a action (notFound route.)

Event: dispatch (finally the called action gets executed)

For each module defined in application.config.php Executed in the order from config! Event: loadModule.resolve Event: loadModule Event: loadModules.post Event: bootstrap Zend\View\View Event: dispatch (finally the action gets executed) Event: render (HTTP, Console, ...) Event: finish

getConfig()

ZF2 Dispatch process diagramm


EARLY PREVIEW VERSION!!!!

Created by: Martin Keckeis

Event: renderer

Event: response

Send response

You might also like