I already used them. Right now I am starting a new project, which I
would like to opensource, so other developers can write plugins
without messing with the core app. So instead of "to install this
plugin add x lines in the user controller file in before filter
function and y lines in the posts controller file, the plugin to have
some (predefined) hooks. This usually means a event driven approach.
And most of the more featured cake apps out there have aldeady
somewhat implemented this. I'm just looking around for the best
approach to this kind of functionality. Of course this can be done
instantiating a list of the plugins and then execute in the
BeforeFilter() the the functions that start with "BeforeFilter" in a
certain hooks.php file in every plugin directory. Quick and dirty, and
it works. But I am looking for a more elegant solution.


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to