Basics of MooTools for CSS3 Sites - dummies

Basics of MooTools for CSS3 Sites

By John Paul Mueller

The opening page for MooTools says that it’s targeted at intermediate to advanced CSS3 developers. This powerful framework of functions helps you perform all sorts of tasks, including some appealing special effects and transitions. In addition to the standard core framework, there’s also a standard server-only framework you can download when client functionality isn’t required. You can see an overview of the functionality this product provides.

One of the more important things to know about this particular tool is that it provides a lot less hand-holding than do other tools. However, it also provides some superior functionality (provided you can figure out how to use it). For example, detecting a browser’s name and functionality is probably easier using MooTools than any other framework or library available.

It also comes with built-in support for Adobe Flash that’s simple to use (see MooTools for details). You have to use a plug-in to get the required support with jQuery and Dojo’s method of working with Flash seems convoluted at best. One of the more interesting classes is Chain, which lets you execute a series of commands one after another as a single entity.

The Google CDN supports versions 1.1.1 through 1.4.5 of MooTools. As with other libraries, you can change the link for MooTools to request a specific version. Here’s an example of the link used to access this framework (even though the URL wraps in the book, it should appear on a single line in your code).