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

Time for action—creating a design sheet for our plugin


We are going to create a design sheet for the auto image captioning plugin that we're going to build. The format that you should use for this design sheet should be one that you and/or your team is comfortable with. In this example, I will show you how to create a design sheet arranged as a table: you can do this by depicting it in a notebook, or on a word-processing application (such as Microsoft Word or OpenOffice).

  1. Create the headings of the design sheet: Plugin name, What will it do, How will it do it, and Plugin Options.

    Plugin name

    What will it do

    How will it do it

    Plugin Options

  2. Write in the plugin name. The plugin name must be capitalized. MooTools best practices for naming a class is by camelcasing words of the class name, that is, where each elements initial letter is capitalized. When coming up with a class name, make sure that it's as intuitive as possible and outlines what it does. Since we're creating an image auto captioning...