| php Programming Glossary: pluginnameWordPress Plugin: How do I avoid “tight coupling”? http://stackoverflow.com/questions/8688738/wordpress-plugin-how-do-i-avoid-tight-coupling  needs class MyPluginFactory public static function build pluginName  plugin NULL switch pluginName  case 'MyPlugin'  dictionary.. static function build pluginName  plugin NULL switch pluginName  case 'MyPlugin'  dictionary new Dictionary  plugin new MyPlugin.. ... public static plugins public static function bootstrap pluginName  plugin self build pluginName self plugins plugin return plugin.. 
 Design pattern for implementing plugins in PHP applications http://stackoverflow.com/questions/9244313/design-pattern-for-implementing-plugins-in-php-applications  params array this hooks hookName foreach this plugins as pluginName hooks if in_array hookName hooks  plugin new pluginName this.. as pluginName hooks if in_array hookName hooks  plugin new pluginName this this view this controller  plugin hookName params  This.. 
 |