Im very new to ZF as I normally work with Symfony or my own custom rolled
framework , i have basic question about control flow/dispatching. 

In both Symfony and my custom framework, the FrontController does
preprocessing on the request, and bootstrapping and all that then executes
an implementation of the Intercepting filter pattern to send the response at
one end and to execute the action at the other. Things like view caching,
security, ssl requirements, etc.. are then globally implemented through the
use of filters in that chain.

I see that ZF doesnt seem to directly implement this pattern, but i do see
that there are pre/post dispatch methods, but despite reading the docs the
actual process of dispatching is a little fuzzy to me so im not necessarily
sure that loading this this type of logic execution into these hooks is
going to be good idea.

So the question then... What is the most "ZF way" to implement something
like this using the default components at hand as much as possible? Is it
the use of Pre/post dispatch? Is there a I.F. implementation built in thats
eluding me? 

Thanks!

-- 
View this message in context: 
http://www.nabble.com/Pre-Post-Dispatch-vs.-Intercepting-Filter-Pattern--tp22728484p22728484.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to