Accessibility

Ajax features

Ajax (Asynchronous JavaScript and XML) applications have exploded onto the web development landscape in recent years. This technique uses a collection of technologies — including XHTML, CSS, and JavaScript — and is often used to create richer user experiences on the web. Ajax applications are asynchronous, which means they can exchange data with the server independent of the loading and reloading of the entire web page. The result is a more interactive, engaging experience for users. Unfortunately, creating Ajax applications presents some difficult technical challenges. For example, there are many frameworks and user interface element libraries, and it is not easy to connect the client-side code with server-side resources such as databases. Adobe® ColdFusion® 8 software simplifies Ajax development with a large collection of new features, tags, and functions to help you quickly build and deliver this new class of application.

Ajax Features


Ajax user interface controls

If you are not currently familiar with Ajax development techniques, ColdFusion 8 delivers a large set of user interface controls that leverage Ajax techniques. For example, you can enhance your web application with rich text editors, data grids, and dropdown list boxes — all of which can be bound to data on the ColdFusion server and updated without reloading the HTML page. There are also many page layout and behavior controls, including popup windows, tab navigators, tree controls, and panels. All of these rich Ajax controls can be implemented with easy to use CFML tags and functions, requiring no knowledge of JavaScript or other Ajax elements.

View a demo of this new functionality

Ajax proxy for data exchange

If you are already using an Ajax framework such as Spry, ColdFusion 8 makes it simple to exchange data between the Ajax client and the ColdFusion server. With a simple CFML tag, your applications can create a JavaScript proxy that represents a ColdFusion component (CFC) on the server. It manages the communication between the client and server and provides several functions to simplify and manage the resulting data. What Flash® Remoting does for ColdFusion and Adobe Flex™ or Flash applications, the Ajax proxy does for Ajax applications.

View a demo of this new functionality

Ajax logging and debugging

ColdFusion 8 even makes it easier to debug Ajax applications, with an optional floating window that displays information and error messages as calls are made between client and server. In this logging and debugging window, you can see what CFCs are being accessed, what variables are being passed, and additional information, including the structure of complex data variables.