Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

For quite a while I'm trying to make a plugin system. Googled a lot for some examples which I must say I didn't find and I consider at least someone should write an article with a base example of how things work.

  1. What is a plugin system?

  2. What can you consider a plugin system?

  3. From point of OOP how an implementation would look?

  4. Can someone provide here an example of implementation that anyone can use it further if they find this topic?

From my research over this topic I discovered that Wordpress uses some kind of hook system, but I didn't understand how it changes the html template to output the content there; exactly on the position the user want's or the plugin... like bottom of the page or right sidebar etc.

Then I was thinking if this is only a hook system... why can't I just use an event manager like bind that method to that and trigger it in my controller? The more I've read about it I've became more confused about all of it.

share|improve this question
possible duplicate of AddIn, AddOn, And Plugin – gnat Apr 15 at 7:54
1  
There is at least one very interesting question in this. Though I fear as it stands now it may get closed for not being specific enough. Plus it may be considered a duplicate of this question. Maybe remove the "failed search diary" part and merge those four questions into one. – thorsten müller Apr 15 at 7:54
@gnat I think the question you link is more about the definition while Bogdan seems to be more interested in implementation guidelines. – thorsten müller Apr 15 at 7:55
when i asked what is a plugin system i referred from point of programming how one should work what's his job it's more about implementation here guys. – Bogdan Apr 15 at 7:57
@thorsten müller that's correct.. i'm looking for guidelines, examples, ideeas, concepts, something more.. not just go for that or something like that. i've got no clue from where to start. – Bogdan Apr 15 at 7:59
show 3 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.