-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin architecture #20
Comments
The ircjsbot has some interesting plugin architecture: https://github.com/nlogax/ircjsbot Basically there is a config.json with a plugins variable in which the user can specify which plugins to enable. Then there is a plugins directory which is another repo with a bunch of plugins included as a submodule. Not sure I like the idea of all plugins being in the same repo, but rather each one being it's own module so that anyone can create and maintain there own, but I could be persuaded if others thought this approach was viable. |
Here's an excellent short presentation on some module patterns: http://darrenderidder.github.io/talks/ModulePatterns/#/ |
Done. |
This issue is to discuss a general approach for plugins. Here are my thoughts so far, and as they change through discussion I'll update this original post.
init()
. Format and standards to be figured out in the future, but this PR is a good start.Note that we don't have to start out with this sort of thing, we could include a few standard ones I think and use them to work out the architecture, but I want to allow for others to be able to create their own plugins without needing to actually commit them to this repo.
The text was updated successfully, but these errors were encountered: