Ajax Framework Analysis

Source: Internet
Author: User
[Introduction] DWR and buffalo are both web remoting frameworks. The difference is that DWR uses custom simple text Protocols, while buffalo uses the burlap protocol. The server-side implementation of DWR is better than that of Buffalo ......
 

 

Ajax framework

  • DWR-web remoting
  • Buffalo-web remoting (based on prototype)
  • Prototype-js oo Library
  • Openrico-js UI component (based on prototype)
  • Dojo-js library and UI component
  • Qooxdoo-js UI component (C/S Style)
  • Yul-js UI component

Web remoting-DWR vs buffalo

DWR and buffalo are both web remoting frameworks, with the following differences:

  • DWR uses a custom simple text protocol, while buffalo uses the burlap protocol. Therefore, Buffalo resolution of large data volumes may be slow, but it can be applied to a variety of servers and clients, and the burlap protocol's integrity and supported data types are more abundant.
  • Buffalo is based on prototype. If your Ajax application is based on prototype, you can reduce the bandwidth for repeatedly loading prototype and obtain a fairly consistent programming concept.
  • The server implementation of DWR is better than that of buffalo.
  • DWR is more common and widely used, while buffaloo is written by Michael in China and rarely used by users (less famous)
  • We recommend that you use buffalo, which is relatively easy to use. However, the server functions need to be improved.

Javascript Component Library-prototype vs qooxdoo vs dojo vs Yul

  • Prototype is a very elegant JS library that defines JS object-oriented extensions, Dom operation APIs, events, and so on. There are also Rico/script. aculo. US implements some JS component functions and effects (but it is not perfect yet). With prototype as the core, it forms a variety of peripheral JS extension libraries, it is a promising underlying JS framework and is recommended for prototype and Rico/script. aculo. A special feature of us is that it is very easy to learn and use, and the threshold is very low. It is often done by one or two lines of JS Code. It is also an Ajax JS library integrated with ror.
  • Qooxdoo is a powerful JS component library that completely imitates GUI components of the Windows operating system. The feature is that the page is not constructed through regular HTML, and the Web GUI is constructed using Js in a programming method similar to VB/Delphi, it is suitable for intranet-oriented C/S-style Web applications, rather than Internet-oriented interface-changing applications. A major selling point of qooxdoo is that qooxdoo will provide a formdesigner ide that automatically generates C/s style Web page JS Code by visual drag-and-drop design in the IDE. Qooxdoo has the disadvantage that JS files are too large and exceed kb. The initial download is slow and is not suitable for Internet consumer websites.
  • Dojo is a well-developed JS library in all aspects, including JS language extensions, tool libraries in all aspects, and a relatively complete UI component library, it is also widely used in many projects. Its UI component is characterized by adding tags to HTML tags, rather than generating them by writing JavaScript, the dojo API imitates the Java class library organization. The advantage of dojo is that the Library is quite complete and the development time is relatively long. The disadvantage is that the file size is also relatively large, more than 200 kb, and the initial download is quite slow. In addition, the usage of the dojo class library is not so easy, at least it makes me feel very clumsy, especially it is more difficult to use than prototype.
  • Yul is the recently released Ajax Component Library of Yahoo. It is also a comprehensive JS library that covers all aspects, from tool library to communication to UI components. Yul's advantage lies in its comprehensive documentation and Yahoo support. The disadvantage is that the library is not complete yet and its functions are not powerful.

 

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.