In this section, we will take the previous script and convert it into a MooTools plugin. We'll be using, to the best of our abilities, MooTools More coding conventions and standards so that MooTools developers using your plugin can easily read it and modify it (if needed).
The best way to learn MooTools coding conventions is by reading the Core library's code. Perhaps a more pertinent method in this chapter is to read a MooTools More plugin's source code by downloading an uncompressed version of it.
Additionally, you can take a look at the following web page in GitHub, which is where the MooTools project is stored for Core developers:
Note
Syntax and Coding Style Conventions on GitHub
http://wiki.github.com/mootools/mootools-core/syntax-and-coding-style-conventions