Introduction to the AJAX framework

Source: Internet
Author: User
Tags interface advantage
Ajax|ajax Framework

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, and the difference is:

    • DWR uses a custom simple text protocol, while Buffalo uses the burlap protocol. As a result, buffalo can be slow to parse large amounts of data, but could be applied to a variety of server and client, and the integrity of the burlap protocol and the data types supported are richer
    • Buffalo based on prototype, if your AJAX applications are also based on prototype, you can reduce the bandwidth of repetitive load prototype and get fairly consistent programming concepts
    • DWR server-side implementations are better than buffalo
    • DWR is more versatile, the user is broader, and Buffalo is written by Michael at home, with fewer users (less famous)
    • Recommended use of buffalo, relatively more user-friendly, but server-side features to be improved
JavaScript Component Library-prototype vs Qooxdoo vs Dojo vs YUL
    • Prototype is a very elegant JS library, defined JS object-oriented extension, DOM operation API, events, and so on, on top of the rico/script.aculo.us to achieve some JS component functions and effects (but at present is not very perfect), To prototype as the core, forming a peripheral of a variety of JS expansion library, is a pretty promising JS bottom frame, worthy of recommendation, prototype and rico/ Script.aculo.us is an outstanding feature is very easy to learn to use, the threshold is very low, often one or two lines of JS code can be done with a related function. At the same time it is also ROR integrated Ajax JS Library.
    • Qooxdoo is a very powerful JS component library that completely mimics the GUI components of the Windows operating system. Feature is not through the normal HTML to construct the page, complete use of JS-like vb/delphi style of programming the Web GUI interface, more suitable for intranet-oriented C/s style of Web applications, and not suitable for the Internet-oriented interface of the application of variable style. 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 visually dragging and dropping the design in the IDE. Qooxdoo disadvantage is that JS file volume is too large, more than 200KB, the initial download will be slower, and not suitable for Internet consumer Web sites.
    • Dojo is a fairly perfect JS library in all aspects, including JS's own language extensions, as well as various aspects of the tool class library, and a relatively complete library of UI components, but also widely used in many projects, his UI components are characterized by adding tag to the HTML tag to expand the way, Rather than by writing JS to generate, Dojo's API mimics how Java class libraries are organized. The advantage of dojo is that the library is quite perfect, development time is also relatively long, the disadvantage is that the file volume is also relatively large, more than 200 KB, the initial download is very slow, in addition, Dojo's class library is not so easy to use, at least to my feeling is quite clumsy, especially compared with prototype, more difficult to use.
    • Yul is Yahoo's newly released Ajax component library, and it is a comprehensive JS library that includes various aspects, from tool class library to communication, to UI components. Yul's advantage is that the document is very complete, and there is Yahoo support, the disadvantage is that the library is still not very full, the function is not strong.


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.