Introduction and comparison of the current popular JavaScript libraries _jquery

Source: Internet
Author: User
Tags mootools
To simplify the development of JavaScript, some JavaScript libraries have been created. The JavaScript library encapsulates a number of predefined objects and usage functions that help users easily build rich-client pages with Web2.0 features that are highly difficult to interact with, and are compatible with large browsers. The following is an introduction and comparison of the currently popular JavaScript libraries.

Prototype

Prototype is one of the first JavaScript libraries to be built, with a large number of extensions to JavaScript's built-in objects such as String objects, array objects, and so on. There are a lot of projects using prototype now. Prototype can be seen as a great extension of a lot of good, built-in objects for JavaScript (such as String objects, array objects, and so on). There are a lot of projects using prototype now. Prototype can be seen as a JavaScript library that combines a lot of good, useful JavaScript methods, and can be pulled out of several pieces of code at any time when the user needs it. However, due to the early years of prototype forming, the object-oriented programming thought is not grasped very well in the whole, which leads to the loose structure. But now prototype is also slowly improving.

Dojo

The power of Dojo is that Dojo offers a number of features that are not provided by other JavaScript libraries. Examples include offline storage APIs, components that generate icons, vector graphics libraries based on SVG/VML, and comet support. Dojo is a very good JavaScript library for enterprise applications and is supported by some large companies such as IBM, Sun, and Bea. But the drawbacks of dojo are obvious: The learning curve is steep, the document is not complete, the most serious is the API is unstable, each upgrade may cause an existing program invalidation, but since the Dojo 1.0.0 version of the situation has improved, Dojo is a very promising library.

YUI

Yui is developed by the Yahoo Company a complete, scalable and good interactive Web page program tool set. Yui encapsulates a series of rich features, such as DOM operations and AJAX applications, but also includes a core CSS file. The library itself is fully documented and well coded.

Ext JS

Ext JS abbreviation for ext, originally is to Yui an extension, mainly used to create front-end user interface, now has developed to can use a variety of JavaScript framework including jquery as the base library, and ext as an interface extension library to use. Ext can be used to develop rich and gorgeous appearance of rich client applications, can make B/s application more dynamic. But because ext focus on the interface, the more bloated itself, before use, please want to weigh the pros and cons. Also, it is necessary to note that Ext is not completely free and, if used for commercial purposes, requires a fee to obtain a license.

MooTools

MooTools is a lightweight, concise, modular, and object-oriented JavaScript framework. MooTools's syntax is almost the same as prototype's, but it offers more powerful features, better scalability, and compatibility. Its modular thinking is very good, the core code is only 8KB. No matter which module you use, you can import it immediately, even if the full version size is no more than 160KB. MooTools completely implements the Object-oriented programming idea, the syntax is concise and intuitive, the document is perfect, is a very good JavaScript library.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.