Pro JavaScript with MooTools is unlike any other JavaScript book on the market today. While similar books focus on either JavaScript as a language of the browser or how to use JavaScript Frameworks, Pro JavaScript with MooTools fills the gap between these topics and moves beyond—exploring the advanced features of JavaScript and how the MooTools framework uses these features to further improve the language itself.

The book itself takes a unique three-pronged approach. It first walks you through the advanced features of JavaScript and the MooTools framework, including native augmentation and type creation, a comprehensive discussion of JavaScript functions, Object-Oriented programming with native JavaScript and MooTools Classes, and the MooTools Class internals. You’ll then learn all about Javascript in the DOM: the Elements classes and its internals, the MooTools Event system, Selector engines and MooTools Slick, Ajax and the Request Object, and Animation and the Fx classes.

The final section really sets the book apart from all others, as it discusses JavaScript outside the browsers. You’ll take an in-depth look at CommonJS and MooTools, using MooTools outside the browser to build ORM, creating simple CommonJS applications via the MooTools Deck framework, and creating complex Server-Side applications using Raccoon. What you’ll learn

How MooTools augments natives and creates new types via the Type constructor and how it uses the advanced features of JavaScript functions to extend the language.
All about Object-Oriented programming in native JavaScript and MooTools Class counterpart—the internals of the Class Type and other special object-oriented features that the framework adds to the language.
How MooTools improves the DOM API via Element and the Events Types; and how Slick, the MooTools selector engine, uses advanced JavaScript features to create a fast and easy way to control the DOM.
How MooTools wraps the native XMLHttpRequest to create a truly cross-browser implementation and how the MooTools Fx classes create smooth, powerful animations for the browser.
About the CommonJS initiative and MooTools support for it and how MooTools can be used without the DOM to create an ORM that talks to a database outside the browser.
About Deck and Raccoon: two simple, yet powerful, frameworks built atop MooTools that enable you to create server-side JavaScript applications.

Who this book is for

The book is for beginner to advanced MooTools users who want to learn about the internals and deeper areas of the framework, and beginner to advanced users who want to learn about MooTools 2.0. JavaScript programmers will also benefit from learning about the more advanced features of the language and how MooTools uses them.