AJAX is the cornerstone of Web. Several open-source AJAX frameworks are popular on the Internet, such as jQuery, Mootools, Dojo, and Ext JS.
Let's take a look at the basics of choosing an AJAX framework:
◆ Your project requirements are what features you need, such as whether to require exquisite interfaces, special effects, or other functions)
◆ Is Browser IE and Firefox of Level A supported )?
◆ Document quality: whether the document includes complete tutorials, APIs, Sample Code, etc)
◆ What is the scalability of the framework? Is it easy to write plug-ins for the framework?
◆ Do you like its API style?
◆ Can most of your JavaScript code be unified?
◆ A framework with a large size may prolong the download time)
◆ Does the framework force you to change the way HTML is written )?
◆ Code execution speed: What is the performance?
◆ Is the code modular? Mootools is highly modular )? How can code be reused?
The Tacos package project provides some high-performance components for the Tapestry Web framework, it also applies to AJAX frameworks used in pages or their own components. (currently, it mainly supports dojo, but also supports Prototype and script. aculo. us, Rico) provides server-side Java support.
The HTMLi-100% xsl ajax framework can be integrated with Java, ASP, and PHP. Scalable And customizable. Supports multiple CSS styles. HTMLi provides some ajax ui components that we often use, such as datepicker, Menu Bar, Progress Bar, Splitter, Status Bar, TabPane, Tree, and windows.
JMaki is an AJAX framework supported by SUN. This project enables Java developers to use AJAX technology in their Java-based applications (whether JSP tag library or JSF component. JMaki uses the best part of Java and JavaScript to provide some Rich AJAX style widgets. JMaki currently provides bootstrap Widgets from components such as Dojo, Scriptaculus, Yahoo UI Widgets, Spry, DHTML Goodies, and Google. JMaki provides a public interface for these widget component libraries so that you can use these component libraries on the same page. If you are interested in using the jMaki project to quickly develop Web applications, you can use the jMaki plug-in of NetBeans 5.5. This plug-in can directly drag the jMaki component to the JSP page.
BZByte EZAjax is an open-source Ajax Web framework. The BZByte Ajax framework uses server-side Java to create DOM instead of web browser JavaScript. All updates to the framework are GUI-driven, so you don't have to worry about exposing application code and remote interfaces. GUI updates quickly and does not rely on the speed of end user computers.
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.
- Ajax: Select GET or POST?
- Solve the Problem of session expiration in Ajax applications
- No Framework Implementation of Ajax paging Function
- Source code of a general Ajax framework
- Cache controller mode in Ajax Mode