Imad Posted October 14, 2008 Share Posted October 14, 2008 Hi Guys, I was wondering about this for quite some time. We all know that Joomla!, MyBB, Drupal, and others contain Modules or Plugins. MyBB uses something called hooks, that are placed within files throughout the software. Now, if I call that hook in a created plugin, it places the code I added their in that spot. Anyone know any good innovative ways to improve on this? I was thinking of creating a software of what contains a module system. I'm just looking for your ideas of other ways to do this. Best Regards. Quote Link to comment https://forums.phpfreaks.com/topic/128406-plugins-modules-and-others-whats-your-opinion/ Share on other sites More sharing options...
Daniel0 Posted October 14, 2008 Share Posted October 14, 2008 You could always use the good old observer pattern. It will allow you to step into code execution at specific points. Quote Link to comment https://forums.phpfreaks.com/topic/128406-plugins-modules-and-others-whats-your-opinion/#findComment-665311 Share on other sites More sharing options...
Imad Posted October 14, 2008 Author Share Posted October 14, 2008 Hmm.. I'll take a look at it. Quote Link to comment https://forums.phpfreaks.com/topic/128406-plugins-modules-and-others-whats-your-opinion/#findComment-665467 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.