Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make plugin-like web application with PHP?
    text
    copied!<p>StackOverflow!</p> <p>I'm looking for a way to make plugin-like (I didn't know how to call it) web application with PHP. With that I meant that I want to make system where user can add/remove plugins (extensions, if you like) via browser (not by adding some code to configuration). Good example is WordPress, in my opinion. End-user can simply install any kind of plugins and by doing almost nothing they work as expected and, very often, have a lot of settings to change and so on.</p> <p>Also, I would love to make it as usable as possible. With that I meant that a plugin can use parts of other plugins so there are less rewritten code. For example, there are plugin that is for authorization/authentication and all other stuff that is related to users. Then, there are plugin that is for blog. Blog, of course, needs before mentioned, right? So it simply uses that before mentioned plugin to work. I understand that there will be a lot of dependencies and so on... but its just normal. :)</p> <p>My question is... with what technique I can accomplish it? What are advantages and disadvantages of that kind of system? I assume that it will be a little slower and will not fit very huge sites like Facebook (okay, that's just too huge), but for simple blogs, portfolios, whatever it will be just fine!</p> <p>I have heard about event-driven programming (or event-based programming) and I have read article about it <a href="http://en.wikipedia.org/wiki/Event-driven_programming" rel="nofollow">on Wikipedia</a>, but still... I'm very confused and, even more, not sure that its the thing that I'm looking for.</p> <p>Thanks for reading this. Give me some answers, if its possible. :D</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload