Re: Modular Approach (born from removing News Fader)
Reply #17 –
You shouldn't touch the filesystem if you don't habe to. Remember, it is the slowest part of the computer.
Make it so that it scans for people with permission to enable plugins and alerts them that there are new plugins available. Cache that and make those load from settings. Only enable plugins when an administrator says so. Require each plug in to have its own directory and make the bootstrap file either be the name of the directory which implements an interface containing a method to get the name (getPluginName) or something like "PluginBootstrap" so you're not searching for the file.