Book Image

MooTools 1.2 Beginner's Guide

Book Image

MooTools 1.2 Beginner's Guide

Overview of this book

MooTools is a simple-to-use JavaScript library, ideal for people with basic JavaScript skills who want to elevate their web applications to a superior level. If you're a newcomer to MooTools looking to build dynamic, rich, and user-interactive web site applications this beginner's guide with its easy-to-follow step-by-step instructions is all you need to rapidly get to grips with MooTools.
Table of Contents (14 chapters)
MooTools 1.2 Beginner's Guide
Credits
About the Authors
About the Reviewer
Preface

Converting the script to a flexible plugin


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: