Florian Lagg wrote:
> If I understand A.L.E.C.'s Ideas right:
> * Each plugin has an init.php which registers to events:
>  /myplugin/init.php:
>       init_plugin('init', 'functionname');
>       init_plugin('showmail', 'functionname');

Yes, but I'd prefer an object-oriented approach:
http://lists.roundcube.net/mail-archive/dev/2008-06/0000038.html

> * the Controller does a loop over the plugin/subdirectories to get these
> registries

Right. This procedure could even be cached for performance reasons.

> I think it does not make sence to implement a full featured plugin monster
> if we do not need it right now.
> But we should be able to extend it to a monster if we need to do so later

Exactly!

~Thomas

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to