Yes, thank you , I know these events . But I meant something else.
At these events, another "target" - Application.
As I've said , "dispatch" in reality works as "dispatch.post".
So I have to create a "capture" method  for the event MvcEvent ::
EVENT_ROUTE.
This method uses RouteMatch and ControllerManager  to pre-load the main
controller .
So I can emulate event "dispatch.pre".
That is, my code does the same job as the framework. As a result - wet code,
tangled code , low productivity .
It looks just awful. Events are designed to avoid this .
This is the reason for my interest.



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-dispatch-pre-tp4661523p4661525.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to