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
correct.
- the Controller does a loop over the plugin/subdirectories to get these
registries
Right. This procedure could even be cached for performance reasons.
as log as we have only some plugins caching shouldn't be a topic.
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!
Isn't open source great ;-)
OK, I think we got a good idea of how it should be implemented. I hope I could code a small prototype this weekend, but I do not guarantee. I will ask the list to test it afterwards.
Thanks for your comments.
<br/> <br/> ---------------------------------------------------------------<br/> Webhosting komplett mit Plone-CMS, Spam- und Virenfreies E-Mail<br/> Hotspot-Systeme (Internet für Ihre Gäste)<br/> Netzwerkbetreuung, Fernwartung, uvm.<br/> Web: www.lagg.at - Mail: info@lagg.at<br/> Florian Lagg, Juch 7, 6631 Lermoos, Austria<br/> ---------------------------------------------------------------<br/>
List info: http://lists.roundcube.net/dev/
Hi,
I have made a couple of patches for changing user password and spam assassin settings stuff like that. I guess you have seen Alec’s sieve plugin (http://alec.pl/roundcube/managesieve/).
There is a guy on the forum called rosali, he has been working on a plugin arc. I told him he should send what he has got to this list but I don’t think he has.
Regards,
Phil
On Thu, 31 Jul 2008 11:13:34 +0200, Florian Lagg info@lagg.at 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
correct.
- the Controller does a loop over the plugin/subdirectories to get
these
registries
Right. This procedure could even be cached for performance reasons.
as log as we have only some plugins caching shouldn't be a topic.
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!
Isn't open source great ;-)
OK, I think we got a good idea of how it should be implemented. I hope I could code a small prototype this weekend, but I do not guarantee. I will ask the list to test it afterwards.
Thanks for your comments.
<br/> <br/> ---------------------------------------------------------------<br/> Webhosting komplett mit Plone-CMS, Spam- und Virenfreies E-Mail<br/> Hotspot-Systeme (Internet für Ihre Gäste)<br/> Netzwerkbetreuung, Fernwartung, uvm.<br/> Web: www.lagg.at - Mail: info@lagg.at<br/> Florian Lagg, Juch 7, 6631 Lermoos, Austria<br/> ---------------------------------------------------------------<br/>
List info: http://lists.roundcube.net/dev/
List info: http://lists.roundcube.net/dev/