Pro JavaScript with MooTools

By Mark Obcena

Go beyond JavaScript basics—learn advanced JavaScript features and techniques, as well as how to put MooTools to work to create both browser and desktop applications.

Full Description

  • ISBN13: 978-1-4302-3054-0
  • 428 Pages
  • User Level: Beginner to Advanced
  • Publication Date: December 21, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $44.99
  • eBook Price: $31.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

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

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
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published