Plugin Writing Guidelines

Follow these guidelines to ensure your plugin success among the community.

  1. Your plugin shouldn't do everything on earth. Include the most common options, and let people extend it for extra customization.
  2. 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.
  3. Think what events and callbacks might be useful for people who want to extend the default behavior, and include them.
  4. 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.