ArchReactorOS icon indicating copy to clipboard operation
ArchReactorOS copied to clipboard

Make system extendable through plugins/modules

Open kwisatz opened this issue 14 years ago • 6 comments

Allow for the creation of modules and plugins based on hooks (I <3 hooks ;)) to allow specific extra actions to be performed or code to be executed depending on the installed modules.

An example of a plugin would be to change group ids in a Mediawiki database upon payment of a membership fee.

Another example of a module would be to allow users to subscribe to custom services. (i.e. an SMS notification service) or create repositories on the organization's development server, and so on)

kwisatz avatar Apr 06 '10 14:04 kwisatz

Do you have a design for modules that you like? ones I've made or used have always felt too hackish for me to actually like them, either needing too much eval (any at all is too much for me:D) or just being clumsy.

I need to start working on FUDForum and mailman integration so this is the time to start on the plugins

chrwei avatar Apr 08 '10 16:04 chrwei

Plugins should be pretty straightforward. If you want, I can start working on that. I've done it several times already.. I'll let you know once I'm done.

Well modules would be easier if it were a mvc architecture. Maybe we shouldn't even make a distinction between both of them and treat them as mediawiki treats extensions. I'll set up a page on the github wiki and let you know once I've come up with a design.

kwisatz avatar Apr 08 '10 17:04 kwisatz

the stuff you commited seems incomplete, is it close?

chrwei avatar Apr 17 '10 01:04 chrwei

The dispatcher should work. That was when I requested the pull. (Which is why I asked you if you'd see what revision the pull request was for) The extension stuff is not yet done and I didn't get any time lately to work on it.

kwisatz avatar Apr 17 '10 17:04 kwisatz

I don't see an autoload or an include for the class

chrwei avatar Apr 17 '10 17:04 chrwei

Right, sorry. Forgot to commit. It's there now.

kwisatz avatar Apr 17 '10 17:04 kwisatz