Stackoverflow
I am looking for a way to make a plugin (as I do not know it) a web application with PHP. With this, I meant that I want to create a system in which the user can add / remove plugins (extensions, if you want) through the browser (not by adding some code to the configuration). A good example is WordPress, in my opinion. The end user can simply install any plugins and work almost nothing as expected, and very often has many settings for changes, etc.
In addition, I would like to make it as convenient as possible. With this, I meant that the plugin can use parts of other plugins, so there is less rewritten code. For example, there is a plugin that is designed for authorization / authentication and all other things related to users. Then there is a blog plugin. A blog, of course, needs to be mentioned before, right? Therefore, he simply uses this before the mentioned plugin will work. I understand that there will be many dependencies, etc .... but this is normal. :)
My question is ... with what technique can I do this? What are the advantages and disadvantages of such a system? I assume that it will be a little slower and will not put very large sites such as Facebook (well, that's too much), but for simple blogs, portfolios, whatever that is!
I heard about event-based programming (or event-based programming), and I read the Wikipedia article about it, but still ... I am very confused and, moreover, not sure if this is what I am looking for.
Thanks for reading this. Give me some answers if possible .: D
source share