At first, i decided to change my library's name from Mtwd to Bolzz. So, the links and the classname changed again. Sorry for that!
http://sources.online-skripte.de/PluggerPlugin.phps Source http://php.online-skripte.de/Bolzz_Zend_PluggerPlugin/api/ API + Documentation in one @Ralph Schindler Thanks for your feedback. I implemented the PluginLoader you said, and the benefit was great. There are no more constants for file extension and a default path. Also the member array $paths could be canceld. And further a new feature for my Manager is coming with this PluginLoader class - class names and filenames can be different now. So, i don't have to implement this by myself. Thanks a lot. David Toniolo wrote: > > Hi @ll, > > inspired by some postings about plugins on zfforum.de, i decided to write > a plugin manager class handles my plugins by request. This means, e.g. my > Plugin_Auth class does not load, when there is a request on a site which > does not need an authentication. > > I could write much text now about how to implement the plugin manager in > your bootstrap and about the many possibilities and options, but i don't. > Feel free to copy the source and edit it if you want. > > I would be happy, about some feedback and suggestions for improvement. > > http://sources.online-skripte.de/Mtd_Plugin_Plugger.phps highlighted > source code > > http://php.online-skripte.de/Mtd_Plugin_Plugger/api/ API and > Documentation in one ;) > -- View this message in context: http://www.nabble.com/A-simple-plugin-manager-class-to-handle-all-plugins-by-request-or-more-tp15001950s16154p15807214.html Sent from the Zend Framework mailing list archive at Nabble.com.
