Choose the Ajax framework you need __ajax

Source: Internet
Author: User
Tags websphere application server
The Dr Dobbs website recently published a case study on how to choose an AJAX framework, taken from T. A development team at Rowe Price. The team assesses several popular Ajax frameworks that are available in their next-generation applications:

Dojo 0.3.1 (dojotoolkit.org);
Prototype and Scriptaculous 1.4 (www.prototypejs.org and script.aculo.us);
Direct Web Reporting 1.0 (GETAHEAD.ORG/DWR);
Yahoo! User Interface Library 0.11.1 (Developer.yahoo.com/yui);
Google Web Toolkit 1.0 (Code.google.com/webtoolkit).
After the initial review, GWT was removed from the list because it was inconsistent with the team's original UI and background developer assignments, and had to learn a new java-based API. DWR is also discharged within the scope of consideration because of the need to give T. Rowe Price is patched using a WebSphere application server. As a result, the following subjects left only prototype, dojo and Yahoo UI.

The article then compares how each of the three frames is implemented to create a tagged ajax widget and a dynamic "Hub" widget with a title bar. In order to achieve the required label widget functionality, three frameworks require some customization, but Dojo already comes with the closest functionality. The team then inspected the load time:

...... The smaller the frame code you use, the less likely performance attenuation will be. Yui completely compressed JavaScript files need 22K, and prototype is 32K, significantly more than the individual custom dojo JavaScript file (220K) much smaller. These three frameworks perform well with high speed network connectivity; however, Yui and prototypes/scriptaculous in the 56K dial-up Internet connection performance is higher ...
Finally, the development team examines the overall ease of development. The conclusion is that dojo provides more features and widgets, but it's much more difficult to customize because there are a lot of files that need to be changed. Eventually, they chose the Yahoo UI because its code provided detailed documentation and a detailed introductory manual on the Yahoo site.
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.