MooTools
MooTools (My Object-Oriented Tools) is a lightweight, object-oriented JavaScript framework. It is released under the free, open-source MIT License.
MooTools (My Object-Oriented Tools) is a lightweight, object-oriented JavaScript framework. It is released under the free, open-source MIT License. ==Overview== MooTools provides the user with a number of options beyond native JavaScript. These include: An extensible and modular framework allowing developers to choose their own customized combination of components. MooTools follows object-oriented practices and the DRY principle. An advanced effects component, with optimized transitions such as easing equations used by many Flash developers. Enhancements to the DOM, enabling developers to easily add, modify, select, and delete DOM elements. Storing and retrieving information with Element storage is also supported. The framework includes built-in functions for manipulation of CSS, DOM elements, native JavaScript objects, Ajax requests, DOM effects, and more. MooTools also provides a detailed, coherent application programming interface (API), as well as a custom downloads module allowing developers to download only the modules and dependencies they need for a particular app. var Animal = new Class({ initialize: function (name) { this.name = name; } }); var Cat = new Class({ Extends: Animal, talk: function () { return 'Meow!'; } }); var Dog = new Class({ Extends: Animal, talk: function () { return 'Arf! Arf!'; } }); var animals = { a: new Cat('Missy'), b: new Cat('Mr. Bojangles'), c: new Dog('Lassie') }; Object.each(animals, function (animal) { alert(animal.name + ': ' + animal.talk()); }); // alerts the following: // // Missy: Meow! // Mr. Bojangles: Meow! // Lassie: Arf! Arf! ==References== ==Further reading== "The Introduction to MooTools Architecture". Applied Mechanics and Materials. "Interactive Consultation Based on MooTools Long Polling Techniques". Applied Mechanics and Materials. ==External links==
Cite this
"MooTools". 1788235592. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1372554468 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy