The best JavaScript library Tutorial In 2024, In this tutorial you can learn JavaScript framework (library),jQuery,Prototype,MooTools,Other frameworks,CDN - Content Delivery Network,Reference jQuery,Using frames,
JavaScript library - jQuery, Prototype, MooTools.
JavaScript Advanced Programming (especially complicated process of browser differences), usually very difficult and very time consuming.
In response to these changes, many of JavaScript (helper) library came into being.
The JavaScript libraries often called JavaScript framework.
In this tutorial, we will learn some of the popular JavaScript frameworks:
All of these frameworks provide functions for common JavaScript tasks, including animation, DOM operations and Ajax handling.
In this tutorial, you will learn how to start using them to make JavaScript programming easier, safer and more fun.
jQuery is the most popular JavaScript framework.
It uses CSS selectors to access and HTML elements (DOM object) operation on the page.
jQuery also provides companion UI (user interface) and plug-ins.
Many large companies use on your site jQuery:
For a more in-depth learning jQuery, visit our jQuery tutorial .
Prototype is a library that provides a simple API for performing common web tasks.
API is an application programming interface (Application Programming Interface) acronym. It is a library that contains properties and methods for manipulating HTML DOM.
Prototype by providing classes and inheritance, the realization of JavaScript enhancements.
MooTools is a framework that provides a common enable JavaScript programming simpler API.
MooTools also contains some lightweight effects and animation functions.
Here are some other frameworks are not covered by the above:
YUI - Yahoo! User Interface Framework, covering a large number of large libraries of functions, from simple JavaScript function to the full internet widget.
Ext JS - customizable widget, for building rich Internet applications (rich Internet applications).
Dojo - for DOM manipulation, event, widget, etc. toolkit.
script.aculo.us - open source JavaScript framework for visual effects and interface behavior.
UIZE - Widget, AJAX, DOM, templates, and so on.
You always want a web page can be as fast as possible. The capacity of the page you want as small as possible, and you want the browser to cache as much as possible.
If many different sites using the same JavaScript framework, then the frame is a common position on the stock for each page sharing it becomes feasible.
CDN (Content Delivery Network) to solve this problem. CDN is a shared code library contains the server network.
Google offers a free CDN as a series of JavaScript libraries, including:
However, due to Google in China frequently GFW (Great Firewall of China, the English name of the Great Firewall of China, abbreviated as the Great Firewall, Acronym GFW) shield, causing instability access, it is recommended to use Baidu public static resource library.
To use the JavaScript framework library in your page, simply refer to the <script> tag to the library:
Before you decide to use JavaScript framework for the web, the first test of the framework is wise.
JavaScript framework can easily be tested. You do not need to install them on your computer, but there is no installation program.
Normally you only need to reference a library file from a web page.
In the next chapter of this tutorial, we will give you a complete explanation of the testing process jQuery.