Hi Tony.
You can find a good example of the Observer pattern into the Zend_Framework
Front Controller file,as it notifies plugins etc...


2007/10/21, tony stamp <[EMAIL PROTECTED]>:
>
>
> As far as i'm aware, the model is usually implemented with an observer in
> mvc
> type 1 - mostly desktop apps that have state. Web apps are mostly written
> in
> mvc type 2, which have a slighlty different focus due to the lack of
> persistence, although i have read in the past of people applying a mvc
> type
> 1 design to web apps.
>
> http://msdn2.microsoft.com/en-us/library/ms978748.aspx msdn explanation
> (read around figure 4)
>
>
>
>
>
>
> dinok wrote:
> >
> > Hi guys,
> >
> > as I think, the model part in the framework isn't really given and there
> > aren't any standards.
> > So I often heard something about the Observer Pattern, in common... Not
> > only for php.
> > But I don't find any good articles on this pattern. In the SPL library
> > exists a Component for the Observer Pattern, but without any examples.
> > So what I want to know:
> > 1. Is there already a good implenentation for the framework
> > 2. Any good articles (no books if it's possible :-) ) known?
> > 3. Or something else where I can get some good informations and examples
> > relating Observer Patterns
> >
> > Best regards
> >
>
> --
> View this message in context:
> http://www.nabble.com/Models-with-Oberserver-Pattern-tf4666720s16154.html#a13332811
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to