Plugin Writing Guidelines
Follow these guidelines to ensure your plugin success among the community.
- Your plugin shouldn't do everything on earth. Include the most common options, and let people extend it for extra customization.
- If there's text included from the script, make sure to include mechanisms for easy translation. One way is to integrate it with Lang.js from MooTools More.
- Think what events and callbacks might be useful for people who want to extend the default behavior, and include them.
- Separate into files. If you have come up with a class to do some essential functionality, and you bundle another class which extends it, make sure they're in separate files.