Several Javascript development frameworks and libraries

Source: Internet
Author: User
Tags mootools
Prototype, the earliest and most famous JavaScript Library, is now equipped with a new partner, that is, script. aculo. us, a prototype-based development framework that provides a considerable number of upper-layer application components and functions. You can understand this. If prototype is compared to msil, then script. aculo. us is.. NET language. The latest version of prototype is 1.6, and the latest version of script. aculo. Us is 1.8,
For more information, see: http://script.aculo.us/

Next we will introduce jquery, which is also a new star in the Javascript development framework, although it has been around for some time. Compared with prototype, jquery is more mature and supports better scalability. Currently, many open-source JavaScript controls are based on jquery, and their powerful selector functions are absolutely powerful, select HTML elements like CSS selector.
For more information, see http://jquery.com /.
In addition, jquery also integrates some UI controls into a set of libraries called UIS. jquery, you can go to the http://ui.jquery.com % C2 % A0/Look at the demo (it is recommended that you do not drink water, eat, will spray out ).

Next we will introduce dojo, which is also a set of prototype-Similar libraries. However, I have never used it much. It seems that the functions are basically the same as those of prototype, and they are still relatively low-level libraries. Currently, some Dojo-based controls and applications are available. To learn more about dojo,
Please see http://dojotoolkit.org/

The other two well-known frameworks are Yahoo UI and Google Web Toolkit, both of which are familiar to everyone. In particular, Google Web Toolkit solves the problem of using JavaCodeTo write JavaScript, that is, through the compiler and parsingProgramGenerate JavaScript, which is a good function.

This ,. net, we still need to use a large number of registerscriptblock to solve the problem of dynamic JavaScript generation. From the perspective of development experience, it is easy to spread the experience of programmers, this is because programmers have to switch their thinking modes in an ordinary way. net code. JavaScript code will be written later. However, some people have noticed this problem and developed script # to solve it. net Javascript development experience under the question, personal use is good, you can go to http://projects.nikhilk.net/projects/scriptsharp.aspx?c2=a0script# (http://www.nikhilk.net/ScriptSharpIntro.aspx ).

another Javascript development framework that has to be introduced is extjs. Someone on cnblogs has already introduced some development experiences of this library. This development framework is not just like jquery and prototype. in a strict sense, jquery and prototype can only be regarded as development libraries, while extjs is the real development framework, it not only solves the problem of browser compatibility at the bottom layer and some common development functions, but also provides developers with a large number of built-in control libraries, such as borderlayout and viewport for layout, the formpanel used to generate table orders. Note that these controls are built-in instead of developed based on extjs. This difference directly improves the integrity of the entire development framework, for developers, rather than putting many third-party controls developed based on a set of libraries into a project, it is better to directly use built-in controls for convenience, higher integration, and high code reliability. Extjs is also commendable, that is, it provides compatible adapters for other Javascript development libraries, mainly jquery, prototype + script. aculo. us and Yahoo UI provide adapters, which are not involved in other development libraries. This directly shows that developers of extjs are far-sighted and have a great reputation, introduce other good libraries directly for my use. For more information about extjs, visit http://extjs.com /.

In addition, Microsoft's ASP. net Ajax and Silverlight also introduce corresponding JavaScript libraries. Although from my perspective, these libraries cannot compete with third-party open source libraries, however, it is sufficient for Microsoft's own products. Of course, this is a signal that JavaScript will occupy a considerable proportion in Microsoft's future development libraries, especially when Silverlight is released later. Here I want to clarify that I have seen someArticleMicrosoft's Silverlight and ASP. net Ajax, so some people think that ASP. net Ajax is meaningless. It is Microsoft's decision-making mistake. But from my perspective, in the current Silverlight 1.0 (1.1 currently does not have release and is not included in the scope of discussion, it works with ASP. net Ajax does not conflict. Silverlight is for high-end Ria applications, while ASP. net Ajax is more targeted at low-end Ria. As to whether the two products will be integrated in the end, I do not dare to assert at present, but from the perspective of technological development trends, microsoft is likely to launch the RIA Foundation in the next two to three years (I guess it does not represent Microsoft's official opinion ). From a technical point of view, there is a natural reason for Silverlight to use JavaScript as a script engine. On the one hand, it is because it reduces repeated development and there is no need to create another ActionScript like Adobe Flash ~~ On the other hand, it is wise because it can be well integrated with existing Ajax and low-end JavaScript applications. If you want to port the application to flash, there are still a considerable number of ActionScript to be rewritten (although flash also supports JavaScript interaction), if it is not necessary to port to Silverlight, Silverlight can complement previous programs, this is the difference.

 

From: http://hi.baidu.com/sj_lj/blog/item/20b905248de33330c8955936.html

Supplement:

Mootools

Mootools is a simple, modular, and object-oriented JavaScript framework. It helps you write scalable and compatible JavaScript code faster and simpler. Mootools is similar to prototypejs, with almost the same syntax. However, it provides more functions than prototypejs and is more powerful. Such as adding animation effects and drag-and-drop operations.

Mootools isCompact,Modular,Object-orientedJavascript framework designed for the intermediate to advanced JavaScript developer. It allows you to writePowerful,Flexible, AndCross-browserCode with its elegant, well known ented, andCoherent API.

 

Official English: http://mootools.net/

Http://www.mootool.net/

 

Books:

Conquer Ajax: parsing and instance of the dojo, prototype, script. aculo. US framework (attached with a CD)

 

Using existing mature frameworks for project development can not only improve code stability and compatibility, but also greatly shorten project development time. This book details three famous Ajax Development Framework: dojo, prototype, and script. aculo. Us. A typical application case is provided based on the principles and usage of the framework.

The book is divided into eight chapters, Chapter 1st introduces the basic concepts and technical basics of Ajax technology; Chapter 2nd and Chapter 3 introduce prototype framework and script respectively. aculo. US framework; Chapter 1 and Chapter 5 Use prototype and script together. aculo. the US framework implements two AjaxApplication Instance-- Web bookmarks and personalized home pages; Chapter 6th describes the principles and usage of the dojo development kit in detail; Chapter 7th describes the advanced topics of dojo; chapter 4 uses the dojo Development Kit to implement an email system with basic functions. By studying this book, you can not only understand and master dojo, prototype, and script. aculo. the US development framework is prototype based on the examples provided in the book, and similar application systems can be developed quickly using the mature framework.

 

Basic jquery tutorial

This book introduces the basic concepts of jquery in an easy-to-understand way, it mainly includes jquery Selection Characters, events, special effects, Dom operations, Ajax, table operations, form functions, drag and rotation, and plug-ins. The last few chapters are mainly instance operations, based on the previous content, the common client problems are raised and their solutions are provided.

This book focuses on the combination of theory and practice.Basic tutorialSuitable for Web developers to read and reference.

 

Prototype

Prototype Chinese User Manual: http://www.ruby-china.cn/prototype/ (prototype 1.5.1 RC1)

 

 

 

 

 

 

 

 

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.