10 major Ajax development frameworks

Source: Internet
Author: User
Tags mootools
1. APs. Net official Solution
ASP. NET Ajax
URL: ajax.asp.net
ASP. NET Ajax is a solution on the Microsoft. NET platform. It provides the Ajax technology and JavaScript integration mechanism required by servers and clients.
By downloading and installing ASP. NET ajax to Visual Studio 2005, you can use the preset control items to develop some visual effects and non-synchronous transmission applications.
In addition, ASP. NET Ajax also provides a toolkit for control items, including the basic categories and project templates required by developers to develop Ajax applications on their own.
ASP. net Ajax not only handles browser compatibility issues, but also allows JavaScript on the user end to add object-oriented features during development, such as type systems, data types, namespaces, and events, this makes code debugging, maintenance, and reuse easier.
Although ASP. net Ajax provides server and client solutions. With the support of visual studio2005, it also reduces the difficulty of Development and debugging. However, compared with other Ajax frameworks, many Ajax effects and functions are still in the testing phase (for users to test in the CTP version), and the functions that can be applied are limited.
2. Support for "Previous Page" and adding "My favorites"
Dojo
URL: dojotoolkit.org
Some lightweight Ajax frameworks are designed to solve the ease-of-use or special effect problems encountered by JavaScript. In contrast, dojo is more like a comprehensive JavaScript tool package, it can reduce the front-end development speed of web pages or web applications.
Dojo supports drag, fade out, fade in, move, transparency, and operations on dynamic effects such as SVG images. Its widgets also allow users to easily Use menus and tabs), tree structure, calendar, text editor, and other effects. Of course, non-synchronous processing Ajax is also supported.
In addition, Ajax operates dynamically Composition As a result, the user is unable to use the previous or next page features, and cannot use features like "My favorites" to properly bookmark the pages required by the user, however, all these requirements have been addressed by dojo.
Compared with other lightweight Ajax frameworks, it is obvious that it takes a lot of effort to get familiar with dojo. Currently, it is also a problem to have fewer files. However, because of its more complete functions, developers need to process less on their own.
3. Java syntax can be called by JavaScript
DWR (Direct Web remoting)
URL: www. getahead. Ltd. uk/DWR
DWR is an Ajax framework designed for Java, allowing developers to call Java syntax using javascript programs.
The operation of DWR can be divided into two parts: on the one hand, it is used in the browser to process the Java program connected to the server side, and on the other, it is used to display the return data. By calling Java via DWR, it will process the connection processing details. when the data is processed, DWR will execute the callback function for subsequent processing.
When installing DWR, you must edit the deployment description file of the Web application and the specific DWR file. The DWR configuration file specifies the categories that can be created remotely and called. The file contains the JAR file containing the server code, and the Javascript file, which provides some auxiliary functions to process the interactive presentation effect.
The biggest benefit of DWR is that Java developers can use familiar syntax to process pages and materials and use them with Struts and tapestry. However, there are still some security concerns when calling Java programs on the remote server from the user end. You must pay attention to these concerns during use.
4. Aiming at ease of use and simplified syntax
Jquery
URL: jquery.com
Jquery is a recently popular Ajax framework. It is prototype-oriented and simplifies and improves the functions of JavaScript syntax.
Jquery is a bit like pushing prototype to the extreme, allowing users to change the original JavaScript writing method. Its most commendable feature is its powerful page element access function. You can use the $ () function to quickly access a file, whether it is a file node, a CSS selector, or an XPATH expression, and give it more features.
In addition, its chainable method can combine a string of processing functions to make the code more concise. In addition, jquery also provides some dynamic effects, but compared with other frameworks, this part is much more exciting.
The advantages and disadvantages of jquery are actually on the same thing. On the one hand, it simplifies the Javascript syntax and makes programming easier. It is indeed quite successful for the purpose of being easy to use. However, this makes JavaScript code develop into another way. For Beginners, it takes some time to adapt to it at the beginning.
5. Download modular tools as needed
Mootools
URL: mootools.net
The predecessor was Moo, known for its lightness. FX, similar to prototype, has similar concepts and syntaxes, but is more thorough in object orientation and provides more functions and applications in animation effects and interactive behavior, javascript syntax that allows users to write object-oriented concepts more quickly.
The download files of mootools are divided into core, category, native syntax, webpage elements, browser windows, animation effects, drag, remote transmission, and plug-ins Based on modules. In addition to the need to download core programs, other JavaScript files can be downloaded as needed to reduce the volume of files.
Although mootools provides more thorough guidance on the export cirpt object-oriented results and facilitates program expansion and maintenance, it also challenges those who are familiar with the JavaScript Object view and need more time to adapt.
However, whether it is the website presentation, program syntax display, or even the module download interface, mootools shows a very delicate dynamic effect. participating in the demonstration of the website will soon be able to implement it.
6. greatly expand basic JavaScript Functions
Prototype
URL: prototype.conio.net
Unlike other frameworks, prototype has many dazzling dynamic effects. Instead, it focuses on improving the functions of JavaScript, making JavaScript easier to use and more object-oriented.
Prototype provides many convenient syntaxes in simplified Javascript methods. The most famous form is the $ () function. You only need to input the ID of the DOM node to this function, this Node object can be obtained, simplifying Dom operations. This method has almost become a feature extended by other development frameworks. Other functions, such as the "$ F ()" function, can directly process the values of web form elements. The "$ A ()" function can convert enumerated strings into arrays. These functions are classic prototype functions.
In non-synchronous processing, it also provides Ajax. request, Ajax. updater and other categories, allowing developers to take advantage of the methods it provides when handling non-synchronous operations, making communication behavior easier and correct.
Although prototype does not have many fancy features, it simplifies the Javascript features and still makes many web developers agree with it.
7. Smooth and rich animation Effects
Rico
URL: openrico.org
Rico is an Ajax framework based on prototype. In Spanish, "Rico" means "rich, this also shows that Rico's goal is to provide developers with a wide range of web page components and applications using JavaScript.
Rico provides non-synchronous Ajax applications that can send non-synchronous responses to one or more calls to operate on Dom or Javascript objects. In terms of animation effects, support such as drag function, zoom, pass, progress indicator, and yellow fading technology can be applied to a wide range of effects immediately.
Rico's goal is to allow JavaScript to show flash-like animation effects, so the color, shape, or drop-down effects of webpage elements are quite smooth, and Div blocks can also be rounded, make visual presentation more Web 2.0 style.
Rico's livegrid function is also well known. It enables more diverse forms of data to break through the form inspection behavior. For example, it allows users to dynamically download data when they touch the scroll axis. In this way, users can download data in segments without having to view data by page.
8. ror and CakePHP framework
Script. aculo. Us
URL: script. aculo. Us
Script. aculo. us is an Ajax framework built on prototype and a lightweight framework for solving visual effects and interactions. Ruby on Rails and PHP development frameworks, such as CakePHP, all use scripts. aculo. as an Ajax solution.
In terms of visual effects, script. aculo. by changing the transparency, size, location, and combination of the above three elements, US produces more than 10 visual effects, such as fade-in, fade-out, flashing, and prompting, this allows you to change the page effect and guide users to interact with interface programs.
The interactive interface provides drag components, in-place editing components, horizontal and vertical scroll, Automatic completion, component sorting, and shopping cart, these pre-packaged functions solve the problem of browser compatibility and make it easy for users to directly import them into existing project functions, saving time for self-development.
In addition, script. aculo. Us contains the unit test framework. It can use its own test object to verify the program execution status and support simulating mouse and keyboard functions.
9. Yahoo! Website service endorsement framework
Yahoo! User Interface
URL: developer.yahoo.com/yui/
Yahoo! User Interface (Yui) is Yahoo! The provided Ajax framework provides convenient development methods and many JavaScript libraries. You can use it to develop interactive interfaces and Ajax effects. Yui can be divided into three parts, including tools, CSS and control components. The tool is a core object and is responsible for some underlying processing functions, CSS provides Layout Planning and font tools. The control components include automatic completion, calendar, and tree structure tools.
Because Yui is actually applied to Yahoo! Therefore, the implementation reliability is quite good. Many examples and files are also provided on the Yui website to help users get started quickly. Although Yui is created by Yahoo! It follows the syntax rules of JavaScript and separates styles, content, and behavior. It is quite easy for developers to Expand functions.
Generally, Ajax frameworks need to be placed on the server side of the website. Along with the download of the page, Yui also provides the connection method in addition to this method, you only need to point the path to the Yui host on the application page.
10. enterprise-level solutions suitable for Java Development Environments
ZK
Website: www.zkoss.org
ZK is a development framework based on AJAX, XUL (XML user interface language), and Java Web applications, allowing webpage operations to behave like desktop applications.
Different from the Ajax solution of the user end, ZK starts from the server end and uses ZK to process the Ajax interaction engine to process the page behavior of the user end. Therefore, it greatly reduces the usage of JavaScript as the dynamic development syntax, browser compatibility issues.
ZK provides more than 70 XUL components and 80 XHTML components. Therefore, ZK provides ready-made tools for users to apply common functions on some web pages or applications, these components can be generated by using the XML-based interface design language of ZK. The application personnel can use the Java language at the backend to process program logic and data transmission.
Because ZK is developed in Java and is a server-centric solution, you must install an application server (such as Tomcat) that supports Java to execute.
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.