Introduce the framework of paragraph eight and comparison JS (transfer) March 26, 2009 Thursday 05:41 PMDojo

Dojo is the most powerful JS framework, which give up their own Wiki has a definition, Dojo is a JavaScript prepared with open-source DHTML toolkit. Dojo would like to make a "unification" of the toolbox, not just the browser level, the ambition is still very large. Dojo, including Ajax, Browser, Event, Widget, such as cross-browser API, including the expansion of JS language itself, as well as all aspects of the tool library, and a fairly complete library of UI components, has also been widely used in many projects, he the characteristics of the UI components are passed to the HTML tags TAG way to increase the expansion, rather than through JS to generate Writing, Dojo's API mimic the organization of Java class libraries. Dojo Writing with Web OS is very convenient. Dojo is now 4.0 a, Dojo is to place a strong interface and effects package, allowing developers to quickly build a number of standards-compliant interface.

Advantages: a comprehensive database, development time [img] [/ img] a long and powerful, it is said the use of Dojo's io.bind () to see the comet can be a powerful non-general, received the support of IBM and SUN.

Disadvantage: large file size, more than 200 KB, download very slow the first time, in addition, Dojo seems to use the class library is not so easy to use, JS enhancement grammar as Prototype

Official site: http://dojotoolkit.org/

Prototype

It is a very elegant JS libraries, the definition of a JS object-oriented expansion, DOM operation API, and so on case to Prototype as the core, the formation of a peripheral expansion of various JS libraries, are very promising JS underlying framework, it is recommended the application of sense of reality is the most extensive type library (RoR integrated AJAX JS library), above the Scriptaculous also realize some JS function and the effect of components.

Advantages: the basic ground floor, easy to learn and use, and even special effects are the development of a number of other js bottom package size is the smallest.

Disadvantage: If the disadvantage is probably the function of the weaknesses of his

Official site: http://www.prototypejs.org/

Scriptaculous

Scriptaculous is a framework based on the JS effect prototype.js. Js includes six documents, different js files to different results, so that if the bottom of the case with prototype, Scriptaculous to do it with js effects are more suitable for even the well-known at digg all his shows do not generally .

Benefits: Based on the prototype are the greatest advantage of because of the extensive use of prototype, book no doubt add to the user.

Disadvantage: just the rise, it takes time to hone their

Official website: http://script.aculo.us/

Yui-ext

Based on the expansion of Yahoo UI package are yui-ext with a CS-style Web user interface components, to achieve a complex layout Layout, backbase interface effects can be comparable to, and the development of the use of pure javascript code. The real table editable Edit Grid, and Json support XML data types can directly move to Grid. Many components of the data source implementation support, such as the layout of dynamic, editable table controls, dynamic loading of the Tree control, dynamic drag-and-drop effects and so on. 1.0 beta version from the beginning of cooperation with Jquery launched jQuery based on the Ext 1.0, provides a more interesting features.

Advantages: the structure and the structure is similar to java, clarity, use the bottom of some of the Jquery function, so that integration with the use of selection, the most important point is that the interface so that people are too shocked.

Disadvantages: too complicated, the whole structure of the interface is too complicated.

Official website: http://extjs.com/

jQuery

JQuery is a prototype with the same type of outstanding library js development, especially for the css and XPath support, so that we become more convenient to write js! If you do not want to write js master js excellent results, then you JQuery can help achieve their goals! And brief introduction of the grammar and high efficiency has been a goal pursued by jQuery.

Advantages: high-performance-oriented and brief introduction, js have the effect of selection of the yui-ext, yui-ext reuse because a lot of jQuery function.

Disadvantage: It is said太嫩, history is not long.

Official website: http://jquery.com/

Mochikit

MochiKit is a lightweight self-js framework. Python and MochiKit mainly by Python standard library provided by the Department to facilitate a lot of inspiration, in addition to easing the browser inconsistency between versions. In particular, one of the MochiKit.DOM convenient to be able to more than the original JavaScript friendly approach to DOM objects. MochiKit.DOM most of them are customized for XHTML documents, if combining MochiKit and Ajax, using XHTML format packaging in particular, the micro-Convenience. Mochikit or directly on the figure format string output, more practical and easier. It also has its own interpreter js code.

Advantages: MochiKit.DOM this part is very useful, brief introduction is also very prominent

Disadvantages: lightweight disadvantage

Official website: http://www.mochikit.com/

Mootools

MooTools is a compact, modular, Object-Oriented JavaScript framework. It can assist you faster and more scalable preparation easy and the JavaScript code compatibility. Mootools with similar prototypejs, nearly the same grammar. But it provides prototypejs than many of the features, and more powerful. Animation effects such as increased, drag and drop and so on.

Advantages: can be customized by the needs of their own functions, it can be said that an enhanced version of prototypejs.

Disadvantages: medium, specific analysis of specific applications.

Official website: http://mootools.net/

Moo.fx

Moo.fx is a super-lightweight javascript effects library (7k), and be able to prototype.js or the mootools framework to use. It is very quick, easy-to-use, cross-browser, standards, providing control and modify any CSS property of HTML elements, including color. Its built-checker can prevent users from clicking through on many occasions, or to destroy the effect of madness. moo.fx overall modular design, so it can be developed on the basis of any special effects you need.

Advantages: small size, has great ability to

Disadvantage: so small it has been pretty good

Official website: http://moofx.mad4milk.net/