October 3, 2018
Main components of MooTools
More: MooTools More is the official plugin collection of the framework. This includes a variety of improvements that simplify the development process and add additional features.
Class: The Class component refers to the base class needed to create (generate) instances of classes of reusable objects, as well as to modify existing classes.
Element: this is one of the most important components, with whose help it is possible to access or generate HTML objects from compatible browsers and contains the functions $ and $$.
Fx: The Effects module serves as a basis for the animation of elements and, therefore, for the realization of functions such as scrolling and sliding, among others.
JSON: module for encoding and decoding string JSON (Java Script Object Notation).
Some modules complement each other. Thus, for example, the Fx.CSS module requires the installation of the Fx module. Generally, in downloads section you can select specifically those components you need and download them as your custom MooTools framework. For this purpose, the modules have been divided into two main groups: Core and More. It is also possible to download the complete basic package with all available extensions.
For what kind of projects is MooTools used?
Nowadays, traditional static pages face difficult moments: the implementation of interactive elements is now indispensable, which means that to impress users it is even more necessary to use innovative and easy-to-use concepts. Thus, the loading speed also plays an important role that depends, to a large extent, on the frequency with which the web application must access the server to manage incoming requests during navigation. For this reason, a type of project that is increasingly used and that seems to have been created for a framework such as MooTools is the application called single page. Or one pager. These are websites that consist of a single HTML document and represent the entire content on a single page. Thus, instead of being structured in subpages, these include sections and events that facilitate navigation with few clicks or with simple scrolling.