Pro JavaScript with MooTools

Pro JavaScript with MooTools

by Mark Obcena
     
 

View All Available Formats & Editions

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

…  See more details below

Overview

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.

Table of Contents

  1. JavaScript and MooTools
  2. Functions
  3. Objects
  4. Classes
  5. Classes: The Extras
  6. Types
  7. JavaScript in a Window
  8. Elements
  9. Selector Engines
  10. Events
  11. Request
  12. Animation
  13. JavaScript without Limits
  14. MooTools on Deck
  15. Resources


Read More

Product Details

ISBN-13:
9781430230540
Publisher:
Apress
Publication date:
12/21/2010
Edition description:
2010
Pages:
428
Product dimensions:
7.40(w) x 9.20(h) x 1.00(d)

Meet the Author

A bio is not available for this author.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >