Apress Access

Pro JavaScript with MooTools

By Mark Obcena

  • eBook Price: $31.99
Buy eBook Buy Print Book
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

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

Related Titles

  • Go Recipes
  • Building APIs with Node.js
  • Pro MEAN Stack Development
  • Pro Marketing and Search Engine Optimization
  • Java XML and JSON
  • JSON Quick Syntax Reference
  • Reactive Programming with Node.js
  • Beyond jQuery
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.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. Pro JavaScript Techniques


      View Book

    2. Introduction to React


      View Book

    3. JavaScript Quick Syntax Reference


      View Book

    4. Pro jQuery 2.0


      View Book