官术网_书友最值得收藏!

Rolling your own MooTools

MooTools is one of the few JavaScript frameworks that come in different components; it has a very modular design—it is divided into several interdependent parts. Because of its modularity, we're able to pick and choose which parts of MooTools we want. However, if you have a project that doesn't use all of the MooTools components, then it's a good practice to only include the components that you need to reduce page weight and improve response times.

MooTools is organized into two major parts: the MooTools Core and MooTools More (plugins that extend MooTools). Let's take a look at these two components.

MooTools Core

Let's explore the MooTools Core by using the MooTools Core Builder on the official MooTools website. This will give us a basic understanding of the MooTools Core file structure.

主站蜘蛛池模板: 桐庐县| 娄底市| 阜康市| 全椒县| 固原市| 聂荣县| 昭苏县| 勐海县| 乌苏市| 高州市| 宝山区| 怀来县| 汾阳市| 泾川县| 塔河县| 新沂市| 华阴市| 佛山市| 梅河口市| 建昌县| 宁陕县| 河曲县| 公安县| 独山县| 泾川县| 绥江县| 通道| 柯坪县| 阳泉市| 巩留县| 宜都市| 周至县| 辰溪县| 浦城县| 昆山市| 昂仁县| 牟定县| 云阳县| 兴安盟| 铜山县| 富阳市|