I have done something similar for a CMS that I am busy writing.

First look here: http://cakealot.com/2009/04/eventful-a-cakephp-event-system/
That was my inspiration.

Then look here: http://github.com/dakota/CMScout/tree/master/controllers/
That is my event component. Basically, each plugin has a single
plugin_name_events.php file which has all the events in.

On Dec 18, 11:41 pm, Aargh <[email protected]> wrote:
> In the mean time i found this :
>
> http://teknoid.wordpress.com/2009/08/10/observer-pattern-the-cakephp-way
>
> Should be easy following the same idea to make the interesting apps
> controllers "observable", the interested plugin controllers
> "observers", and based on some observers's side config to initialise
> the correct $observers array in every observed controller. Anyway, I'm
> just messing arround, to find a decent solution. SpliceIt looks cool.
> To bad is unmantained.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to