An explosion of libraries and frameworks has been one of the fortunate consequences of the Ajax phenomenon. They come in all shapes and sizes and in any licensing model you’d care to name. Throughout the Ajax Patterns, the importance of using frameworks and libraries has been emphasized—it’s worth knowing the low-level details, but often not worth implementing them yourself. For this reason, the listing here makes a good companion to the Ajax Patterns.
The initial list was published back in June 2005, when I documented what seemed like an overwhelming 20 products. Maintained in an openly editable wiki, it’s blossomed to 160-odd products, and doubtless many still to come—stay tuned to http://ajaxpatterns.org/Ajax_Frameworks for the latest updates.
People getting into Ajax often ask me for a “quick-fix” framework to help get started. So at risk of offending many worthy projects, each section points out a few of the frameworks that have generated buzz. This is, of course, a subjective measure, and it is one of popularity more than intrinsic value; do investigate further for any serious development work. In addition, look at the patterns, many of which discuss specific frameworks.
Open architecture for updating and retrieving data from the backend
Automatic synchronization of data and UI
Easy customization of look-and-feel through well-defined stylesheets
Online demo (http://www.vertexlogic.com/demo.html)
Commercial license by VertexLogic
Backbase (http://www.backbase.com) is a comprehensive browser-side Ajax framework with cross-browser support. The Backbase Ajax framework is compatible with any server-side platform (e.g., Java, .NET, PHP, or Coldfusion).
Free community edition for noncommercial/noninstitutional use
Advanced tooling for .NET developers—Visual Studio 2005 plugin
Advanced tooling for Java developers—JSF taglib/Eclipse integration
Over 80 Ajax widgets/components at Backbase Explorer (http://www.backbase.com/demos/explorer/)
Active Ajax developer community at Backbase DevNet (http://www.backbase.com/#dev/home.xml)
Online Ajax demos/starter kits at Check Out (http://www.backbase.com/#home/pulldown/demos.xml)
Commercial license by Backbase (formed in 2003)
The Bindows Framework provides you with the following:
A class-based, object-oriented API
A complete windowing system with a wide array of supported widgets including menus, forms, grids, sliders, gauges, and more
The leading toolkit for developing zero-footprint SOA client-side applications
Native XML, SOAP, and XML-RPC support
Single-user to enterprise-level support
Built-in support for Ajax
The Bindows development environment includes:
Enterprise scale projects support
Cross-browser, cross-platform support
Server independent architecture
Interoperability with new and existing resources
Uniform development methodology
Commercial license, by MB Technologies (based in GA, USA, with the main development center in Sweden, formed in 2002)
Dojo (http://dojotoolkit.org/) offers comprehensive widget and browser-server messaging support:
Library of pre-built widgets
Solid drag-and-drop, effects, and generic animation support
Browser-server messaging support such as
XMLHttpRequest and other
Support for bookmarkability and manipulating URLs in the browser
EBA (http://www.ebusiness-apps.com/) offers self-contained Ajax components enabling data entry and lookup:
Library of prebuilt widgets supporting multiple backends (Java, PHP, ASP, and .NET)
Active user community (EBA Developer Forums at http://forums.ebusiness-apps.com)
Online Ajax demos (EBA Grid at http://developer.ebusiness-apps.com/technologies/webdevelopment/codeandcomponents/ebagrid/productdemos/griddemos.htm)
Commercial license by eBusiness Applications
Engine for Web Applications (http://www.imnmotion.com/projects/engine/) is a framework for building modular components for web applications and separating content from functionality:
Registry for storing, retrieving, and destroying objects that conform to the common interface
Message service for intraobject publications and subscriptions
Transaction service for asynchronous multiobject communication
Task service for bootstrapping client-side modules of a web application and for creating dependency-based task lists; can load an XML-based task.
Ability to easily create scoped and redistributable components in XML with automatic event hook-up and containment
Store and retrieve form field values regardless of whether the form field still exists
Monitor service for easily creating beacon and Ajax monitoring solutions
API Documentation (http://www.imnmotion.com/projects/engine/api/engine_api.html)
Demonstrations with source (http://www.imnmotion.com/projects/engine/demonstrations/)
Open source license (custom license) by Stephen W. Cote (http://www.imnmotion.com/)
Geared toward single-screen, zero-latency web applications.
Excellent scalability (much less server roundtrips).
True MVC separation.
True server-side/client-side code separation.
Very light footprint; only a handful of methods to learn (the framework is 25 KB uncompressed).
Based on Open Standards (XML/XSLT).
Works with any modern web browser: IE, Firefox, Safari, and Opera.
See Tutorials (http://www.csscripting.com/wiki/index.php?title=Freja#Tutorials) and Documentation (http://www.csscripting.com/wiki/index.php?title=Freja_Documentation).
Open source license (CC-GPL).
functional programming and useful comparisons
DOM manipulation API
abstraction with CSS3 support
“What time is it anyway?”
formatting goes here
all tired of
Open source license (MIT license or Academic Free License, v2.1) by Bob Ippolito
OpenRico (http://openrico.org/demos.page) is a multipurpose framework with support for Ajax infrastructure and user interaction.
response can be routed to one or more callback operations, DOM
Ajax animation such as scaling and transitions (and presumably the increasingly common idioms such as progress indicators and fading technique)
“Behaviors,” which is essentially a widget library
External tutorial by Yonah Russ of Mirimar (http://www.mirimar.net/mailbrowser/)
Builds on prototype library
Open source license; grew from Sabre Airline Solutions internal product, by Bill Scott, Darren James, Richard Cowin, and others (http://looksgoodworkswell.blogspot.com)
Full set of widgets such as datagrid, tree, accordion, pulldown menus, DHTML window manager, viewstack, and more (over 60 libraries)
Markup driven (makes it easy to build the interface)
Interface components can be easily themed with CSS
Client side XSLT for IE and Mozilla
Well-documented with examples
Multiple remoting transport options such as
IFrame (an RSLite cookie-based coming
Back button support (complete history management for all components)
Support for YAML serialization
No animation framework
Open source license (GPL, LGPL, or Artistic License; your choice) by Richard Hundt.
A project run in conjunction with Ruby on Rails, but can be (and certainly is) used independent of Ruby or RoR
Open source license by Sam Stephenson
qooxdoo (http://qooxdoo.oss.schlund.de/) is another ambitious framework with a broad range of UI and infrastructural features being developed.
Portable abstraction of the DOM and event/focus management
Timer class for easy scheduling
Widget framework and library of prebuilt widgets
Image caching and portable PNG transparency
Open source license (LGPL) by various contributors
Open source license by Thomas Fuchs and others. A project run in conjunction with Ruby on Rails, but can be (and certainly is) used independent of Ruby or RoR.
SmartClient (http://www.smartclient.com) from Isomorphic Software is a cross-platform Ajax RIA system.
Cross-browser foundation classes and services:
JSON or XML programming
Browser abstraction layer
GUI component services
Logging and debugging services
Extensible GUI components
Navigation and command controls
Form controls and managers
Flat, hierarchical, and multidimensional grids
Containers and layout managers
Data and services stack:
Client data caches and local operations
Client data model managers
Communication and protocol services
Visual development tools:
Component inspector and editor.
Integrated developer reference.
SmartClient Ajax applications run on Internet Explorer, Mozilla, Netscape, Firefox, and Safari web browsers, and on Windows, MacOS, Linux, and Solaris operating systems. Unlike other Ajax systems, SmartClient applications are fully functional even when ActiveX is disabled.
See www.smartclient.com for a product brief, live demos, and downloadable SDK.
Commercial license by Isomorphic Software.
ThyAPI (http://www.sf.net/projects/thyapi/) is a library of DHTML reusable components. Ajax is only one of its features. Its main purpose is to allow the creation of full desktop-like applications in a browser. ThyAPI is a library based on DynAPI (http://www.sf.net/projects/dynapi/), and open source (LGPL).
Totally object-oriented and extensible.
Follows XMLRPC protocol, for data exchange with the server. Plans to implement JSON-RPC.
Interface definition entirely in CSS.
Works in Mozilla Firefox (version 1.0+)(http://www.mozilla.org) and Internet Explorer (version 6+).
Cross-browser, cross-platform support (it inherits this characteristic from DynAPI).
Aimed to provide RAD development of browser-based applications and reuse of custom-made widgets.
Open source license (LGPL).
TIBCO General Interface (http://www.tibco.com/software/business_optimization/rich_internet_applications.jsp) is a mature Ajax RIA framework that’s been powering applications since 2001. In fact, the framework is so mature, that TIBCO General Interface’s visual development tools themselves run in the browser alongside the Ajax RIAs as you create them.
Dozens of extensible GUI components.
Vector-based charting package.
Support for SOAP communication (in addition to basic HTTP and XML).
Full visual development environment.
WYSIWYG GUI layouts.
Demo in Jon Udell’s coverage at InfoWorld (http://weblog.infoworld.com/udell/2005/05/25.html).
The next version of the product and many sample applications at the developer community site (https://power.tibco.com/app/um/gi/newuser.jsp).
Commercial license by Tibco; more info at http://developer.tibco.com.
Interactive Website Framework (http://sourceforge.net/projects/iwf/) is a project aiming to support the various aspects of Ajax infrastructure in the browser.
Has a thread-safe
Contains a wrapper around the XML document, so you can make more readable code, instead of manual navigation:
var node = doc.groceries.frozen.pizza.size; var node = doc.documentElement.firstChild.firstChild.getAttribute("size");
Open source license by Brock Weaver (http://circaware.com).
Full support of drag-and-drop in all widgets. Widgets include data list, wizard, button, text node, rich text editor, tree, menus, etc.
Build system uses Ant, and hosting is based on JSP and Tomcat.
Very strong client-side MVC architecture based; architect is ex-Javasoft lead developer.
Communications support for client-side SOAP,
XmlHttpRequest, and IFrames.
Strong multibrowser capabilities: IE 5.5+, Firefox 1.0+, latest S.
High-quality widgets have commercial quality, since this is a commercial open source product.
Widget library is available as a separate build target set from the main product.
Debugging facility is built into the library and displays communications request and response.
Does not currently support keyboard commands in menus and in-place datasheet editing.
Does not support graceful degradation to IFrames if other transports are unavailable.
Documentation is lacking, but a PDF whitepaper describing widget set and drag-and-drop is available.
Open source license (Zimbra Ajax Public License ZAPL, derived from Mozilla Public License MPL) by Zimbra.
As many of the Ajax Patterns establish, Web Remoting
(Chapter 6) is error-prone,
tedious, and broad in functionality, which makes it ideal to
encapsulate in a library or framework like those covered here. The
multipurpose frameworks covered earlier will do it too, but if you’re
looking for a standalone simple option, SACK is a popular choice.
HTMLHttpRequest is a good option
for compatibility as it supports IFrames as well as
XMLHttpRequest. A more feature-rich API is
offered by Ajax Client Engine (ACE).
is a basic, threadsafe wrapper around
XMLHttpRequest that is mainly for Ajax
newcomers packaged with the Ajax Patterns demos. See TestAjaxCaller
RESTful calls to the server (GET/POST/PUT/DELETE) with plain-text or XML routed to a callback operation
Aimed at Ajax newcomers—instead of optimizing performance or footprint, the library aims to be a readable code base and provides debugging support
Open source license (Creative Commons) by Michael Mahemoff (http://softwareas.com), with some ideas from John Wehr and Richard Schwartz
Ajax Client Engine (http://www.lishen.name) is a powerful remoting wrapper.
Flexible features: request options; request parameter validation; callback argument; callback option; callback timeout; tracing service; caching service; polling service; common callbacks; and exception handling
Open source license (MIT) by Li Shen
AjaxGear (http://www.ajaxgear.com) is a simple and cross-platform Ajax toolkit.
Enables a web browser to make asynchronous call to the web server without the need to refresh the whole page.
Use the Ajax class to communicate with the web server.
A complete web site is available for download to see AjaxGear in action.
Use the AjaxGear.PageEngine.js file to learn how a web site can easily use the toolkit.
Three objects are currently being developed as part of the AjaxGear toolkit—namely, progress bar, autocomplete, and form validator.
AJFORM (http://redredmusic.com/brendon/ajform/) is an extremely easy to use Ajax framework. It is designed to be for entry-level Ajax coders. Its single purpose is to send data from any HTML form via XMLHTTP. The AJFORM framework provides you with:
Automatic support for any HTML form
Ability to implement with little coding knowledge
Open source license (BSD)
IFrames for improved compatibility.
Tested and works in IE6, IE5.5, IE5, and IE4 for Windows; Mozilla for Windows; Opera7 for Windows; and in Safari and IE5 for the Mac
Untested, but probably works in IE4 and Mozilla for the Mac; Opera for other programs; and Konqueror for Linux
Open source license (LGPL) by Angus Turnbull of Twin Helix Designs (http://www.twinhelix.com/)
Using WDDX and the
) function within ColdFusion makes converting your
Reduced latency due to less parsing of the responses.
Parameters can be sent to the server in multiple formats, including strings, objects, and entire forms, without having to build extra logic to handle each type.
API has no server-side components, which makes it more portable.
Extremely simple syntax shortens the learning curve and speeds up development:
params = document.myForm; http( "POST" , "remote.cfc?method=dosomething", my_callback , params );
Open source license (Creative Commons Attribution-ShareAlike) by Todd Kingham.
is a thin wrapper around
Synchronous and asynchronous
postXML( ) methods
XSL and XPath utilities
for copying XML nodes into an HTML document
Source protected by standard copyright by Stephen W. Cote (http://www.imnmotion.com/)
is yet another very thin wrapper for
XMLHttpRequest. The idea is to have a
really simple interface to send and receive ASCII content.
Provides handy callback interface for doing actions—e.g., upon server response
Open source license (GPL or LGPL) by “Peter F”
is a thin wrapper around
Caller can specify callback function or callback DOM object. With a callback DOM, the response text is pushed directly into the DOM.
Open source license (modified MIT license) by Gregory Wild-Smith.
is an Ajax framework with
XMLHttpRequest support and dynamic “script
src” generation to emulate Ajax functional for old browsers that are
not compatible with
Open source license (LGPL 2.1 or later) by Dmitry Koterov
thin wrapper around
).connect("mypage.php", "POST", "foo=bar&baz=qux",
Open source license (Creative Commons Attribution-ShareAlike License) by Brad Fults
Open source license (stated as Creative Commons in the page comments) by Adam Michela
Moo.fx (http://moofx.mad4milk.net) builds on a lite version of the Prototype library to provide an extremely compact effects package.
Cookie memory for effects
36 KB total file size
Open source license (MIT) from Volerio Proietti
AMFPHP (http://amfphp.sourceforge.net/) is an open source implementation of the Flash Remoting framework.
Fast, reliable, 100 percent free, and open source. With this new version, we strived to make a product as stable and full-featured as ColdFusion-based remoting (the reference implementation). You also get to use the wonderful NetConnection debugger, which shows you exactly what’s being sent between the client and server. Remoting uses AMF, a very lightweight binary format that cuts the bulk out of packets, meaning data exchange is a lot faster than with XML.
Open source license (GPL) created by Wolfgang Hamann and maintained by various developers.
All major data types can be passed between the two environments.
Open source license (modified Apache 1.1) by multiple open source Flash contributors.
Ideal for chat, monitoring, and client interaction systems that would requiring polling.
Sessions (per-session and per-page state tracking).
Event monitoring (Interact with mouse events, including maximum fire rate throttling).
Currently at the Alpha, technology preview, proof of concept stage. Download at http://beta.stormtide.ca/files/StreamReleases/StreamAlphaGPL20050709.zip?source=ajaxpatterns.
Dual license open source (Commercial License and GPL) by StormTide Digital Studios. Full source available.
Builds on Google Map work
Open source license (BSD) by Google
Portable XPath queries
Portable DOM manipulation
Portable serialization to XML
Open source license (GPL 2.0 or LGPL 2.1, your choice) by various contributors
These are a couple of useful libraries that don’t fit well in other sections.
Open source license (LGPL 2.1 or later) by Walter Zorn
Supports both PHP and ASP
Supports both remote scripting and XML
Supports both local and remote functions
Single or multiple XMLHTTP objects
Can support both POST and GET requests
Backend proxy functions for accessing remote functions and data
Tested with all major browsers
Open source license (GNU, GPL, and LGPL) by various contributors
Implementations (http://www.json-rpc.org/impl.xhtml) exist for several server-side platforms such as Java, Python, Ruby, or Perl.
Initially developed back in 2000
Known browsers: IE4+, NS4.x, NS6.x, Mozilla, Opera7, and Galeon
Server-side support for ASP, ColdFusion, PerlCGI, PHP, Python, and JSP (servlet)
Open source license (very flexible custom license) by Brent Ashley (http://www.ashleyit.com/)
Because it is technology agnostic, it can be encapsulated in Java/JSP/JSF, .NET, or PHP-graphic components.
The widgets library includes forms, drag-and-drop, tree, data list with fix header and resizable columns, pop up, and splitter.
Enables single-page interface-application development.
Demo available (http://rialto.application-servers.com/demoRialto.jsp).
Open source license (Apache) by multiple contributors.
SAJAX (http://www.modernmethod.com/sajax/) routes
“x_calculateBudget( )” will go the server and call an
calculateBudget( ) method, and then return
See a demo walkthrough in the "Real-World Examples" of Ajax Stub.
Capable of stubbing calls to numerous server-side platforms: ASP, ColdFusion, Io, Lua, Perl, PHP, Python, or Ruby.
Open source license (BSD) by various contributors.
ZK (http://zk1.sourceforge.net/) is an Ajax-based, event-driven, XUL-based, all Java framework designed to enable Web applications to have both rich user experiences and a simple programming model.
With ZK, represent and manipulate RIA in XUL/HTML components that are all running at the server, as has been done for years in desktop applications.
Script in Java and EL expressions.
Demo available (http://www.potix.com/zkdemo/userguide).
Open source license (GPL) by Potix Corporation.
Wt (http://witty.sourceforge.net/) is a C++ widget library, which uses Ajax to render changes to the widget tree when available.
API inspired by existing GUI libraries. It targets C++ application developers.
Documentation is at http://jose.med.kuleuven.ac.be/wt/doc/index.html.
Open source license (Affero General Public License) by Koen Deforche.
ColdFusion components following the best practices of object-oriented programming and design patterns. Programming with AjaxCFC involves extending components and creating your own Ajax facades.
Restricted open source license (free to use in any context but not redistributable) by Rob Gonda.
Reduced latency due to less parsing of the responses.
Parameters can be sent to the server in multiple formats including strings, objects, and entire forms without having to build extra logic to handle each type.
API has no server-side components, which makes it more portable (planned).
Extremely simple syntax shortens the learning curve and speeds up development:
params = document.myForm; http( "POST" , "remote.cfc?method=dosomething", my_callback, params );
Open source license (Creative Commons Attribution-ShareAlike) by Todd Kingham.
In the .NET world, all eyes are on Microsoft with their in-progress Atlas framework. It’s not yet clear exactly what it covers, how portable it will be, and how it will affect the existing frameworks here. In any event, Michael Schwartz’s Ajax.NET is one popular choice, and for a broader-scoped framework, the Monorail project—similar to Ruby on Rails—has a lot of interest too.
Ajax.NET (http://ajax.schwarz-interactive.de/csharpsample/default.aspx) is an Ajax framework for ASP.NET 1.x/2.0.
A basic Ajax library for ASP.NET that provides the very basic Ajax capability to make XMLHTTP callbacks. Does not have any Ajax-enabled controls or support for Viewstate, etc.
Open source license by Michael Schwartz.
Anthem.NET (http://anthem-dot-net.sourceforge.net/) is Jason Diamonds’ new version of a long-established Ajax library, now a SourceForge open source project.
Open source license by Jason Diamonds.
Use Ajax with web services.
Standard SOAP and WSDL is reused for the communication between client and server.
No need for special implementations in web services.
Multiple types, arrays and XML objects are supported as parameters and return values.
Caching on the client and server.
Many Ajax controls available that integrate in standard ASP.NET web forms.
Supporting ASP.NET 2.0.
Full source code available.
Demo web site available (http://www.mathertel.de/AjaxEngine/).
Open source license (Creative Commons license) by Matthias Hertel (http://www.mathertel.de).
Atlas (http://www.asp.net/default.aspx?tabindex=7&tabid=47) is Microsoft’s in-progress Ajax project. ASP.NET Atlas is a package of new web development technologies that integrates an extensive set of client script libraries with the rich, server-based development platform of ASP.NET 2.0.
Commercial (license terms unclear at time of writing) by Microsoft
Bitkraft (http://www.tiggrbitz.com) is a CLR-based (.NET) web framework that allows distributed web content to be created and served in a unique fashion. It is written in C# and compiles for operation under the Microsoft .NET Framework 1.1+ or the .Mono Framework, making it portable to almost any platform.
At its core, the Bitkraft framework extends the ASP.NET
as a transport layer in Ajax.
Known browsers: IE5+, Firefox1+, and Netscape 6
Server-side support for ASP.NET, Mono XSP, Cassini, and Apache (modMono) .NET Framework 1.1+
Supports all .NET types and custom classes mapped to the JSON object on the client
Uses JSON instead of XML
Open source library by Wayne Lee-Archer
Automatically transfer only changes between ASP.NET postbacks, which leads to significantly faster response for low bandwidth connections and less overall HTML traffic (up to 90 percent, depending on new postback data)
Reduce page reloads and use hidden postbacks instead
Ajax/DHTML-like client experience (but without programming any Ajax/DHTML directly)
Keep browser history free of postback entries (the Back button no longer irritates your users)
Autodisable form and prevent user input while using postback or multiple form postbacks
Control web client scroll position and focus from the server-side code
Switch back at all times to original ASP.NET when you need it—even dynamically at runtime
Open source license by Daniel Zei
Just make the initial setup, put the controls you want to Ajax-enable inside an AjaxPanel, and you’re done!
Many other features also available if you really want the advanced features as well.
Open source license (LGPL) by various contributors.
MonoRail (http://www.castleproject.org/index.php/MonoRail) is a platform for developing C# web applications using templates instead of the webform-based approach.
Functionally similar to Ruby on Rails
Functions on the .NET and .Mono platforms on both Windows and Linux
Open source license by multiple developers
WebORB for .NET (http://www.themidnightcoders.com/weborb/aboutWeborb.htm) is a platform for developing Ajax and Flash-based rich client applications and connecting them with .NET objects and XML web services (see online examples at http://www.themidnightcoders.com/examples).
WebORB includes a client-side library called Rich Client System (http://www.themidnightcoders.com/rcs/index.htm). The Rich Client System provides a simple one-line API to bind to and invoke any method on any .NET object or XML web service.
Supports synchronous and asynchronous method invocations.
Does not require any modifications on the server-side code, and there is no need for custom method attributes, special signatures, or argument types. Does not require design-time stub generation.
Synchronous invocations return data from the same invocation (no callback needed). Asynchronous invocations rely on a callback.
Any server-side method can be invoked synchronously or asynchronously.
Client application can request special activation modes for the server objects. As a result, objects can easily become stateful without any special programming.
Provides a special API for handling database query
results—server code can return
DataTables and the client presents it
as a special
names as well as row data.
Supports data paging. Client applications can retrieve data in pages, thus streamlining user experience.
Supports all server-side argument types as well as return values—primitives, strings, complex types, arrays, native .NET collections, and remote references.
Dual license (standard edition is free, professional is commercial) by Midnight Coders.
With zumiPage (http://www.zumipage.com), postbacks to the server are automatically captured on the client side and sent via an XMLHTTP mechanism.
zumiPage requires no code changes to existing projects, so you can write code for ASP.NET as you always do, using the standard web controls and methodology. zumiPage will take care of the rest. Your web application should be smoother, faster, and more interactive.
Works with ASP.NET 2.0 and 1.1.
Fully compatible with Internet Explorer and Mozilla Firefox.
Save up to 90 percent of the traffic.
Easy to integrate with existing projects.
Fast, invisible XMLHTTP postbacks.
Full control over returned controls on each postback.
Wait behaviors (for server-loading times).
Commercial license by Amir Leshem.
Java has always had many wide and varied frameworks. With Ajax, we’ve seen new ones emerge, and we’ve also seen add-ons for the earlier projects. Two popular libraries have been the Ajax JSP Tag Library and Direct Web Remoting.
Does not break existing server-side MVC architecture.
Easy to integrate. AjaxAnywhere does not require changing the underlying application code.
Graceful degradation. Switch whenever you need to between Ajax and the traditional (refresh-all-page) behavior of your web application. Your application can also support both behaviors.
Open source license (Apache 2).
Retrieves a list of values that matches the string entered in a text form field as the user types.
Displays a callout or pop-up balloon, anchored to an HTML element with an onclick event.
Based on a selection within a drop-down field, a second select field will be populated.
Switches a hidden form field between true and false and at the same time switches an image between two sources.
Updates one or more form field values based on response to text entered in another field.
Open source license by multiple contributors.
AJAX-JSF (http://smirnov.org.ru/en/ajax-jsf.html) will make any existing Java Server Faces applications use Ajax functionality. Most existing components can be used as is or easily converted to support Ajax.
See a worked example called MyFaces JSF Tree, with table scroller and a tabbed pane as Ajax components (http://smirnov.org.ru/myfaces-ajax/ajax.jsf).
Minimal differences from JSF specifications. This is proposal to the MyFaces project.
Open source license (Apache Software License 2.0) by Alexander Smirnov.
Can be used with any web framework: Struts, Tapestry, etc.
Follows Spring-like KISS/POJO/orthogonality philosophy
Being incorporated into next WebWork release (http://www.opensymphony.com/webwork/)
Coordinates messages between browser and server. Provides messaging in XML
Open source license (Mozilla Public License or GNU LGPL) by Next App, Inc. (http://www.nextapp.com/)
A true application framework, written completely in Java
Allows developers to think in terms of component and events instead of HTML generation and DOM programming
Provides controls, modal dialogs, flyovers, and more
Flexible commercial license, with free full-featured development version available for immediate download by Global Mentor Inc.
ICEfaces (http://www.icesoft.com/products/icefaces.html) is a standards-compliant extension to JavaServer Faces (JSF) for building and deploying rich Ajax applications.
Smooth, incremental page updates with in-place editing and no full page refresh
User context preservation during page update, including scrollbar positioning and user focus
Asynchronous page updates driven from the application in real-time
Fine-grained user interaction during form entry that augments the standard submit/response loop
Commercial license by IceSoft
Handles marshalling/unmarshalling of arbitrarily complex nested data structures
Lightweight protocol similar to XML-RPC
Leverages the J2EE security model with session specific exporting of objects
Open source license (LGPL) by Michael Clark and others
JSP Controls Tag Library (http://jspcontrols.sourceforge.net/) provides the lifecycle for portlet-like JSP components. The library does not require a portal engine or other central controller. The components built with the Library can be used in any JSP-based application.
Supports dual-mode components (non-Ajax and Ajax). Therefore, it works even with Netscape 4.
In non-Ajax mode, components utilize synchronous HTTP request/response cycles via the Redirect-After-Post pattern.
In Ajax mode, components are updated in place.
Component reload in non-Ajax mode is completely automatic and transparent.
See the demo at http://www.superinterface.com/jspcontrols/index.html.
Open source license (Apache 2.0) by Michael Jouravlev.
jWic (http://www.jwic.de) is a Java-based development framework for developing dynamic web applications with the convenience and familiarity of rich client-style programming.
Component-based, event-driven programming model.
Controls are rendered using templates (i.e., Velocity).
Dynamically updates a control using Ajax mechanisms.
Open source licence (Apache Licence, Version 2.0) by Florian Lippisch and Jens Bornemann.
Struts-Layout (http://struts.application-servers.com) is a tag library for Apache Struts that provides easy and fast interface creation. This is achieved by powerful tags that display panels, input fields, tables, treeviews, sortable lists, datagrids, popups, calendars, etc. With those tags customized to your own preference, some of the developers in your team don’t have to write or even know HTML.
The Struts-Layout tag library now allows to put Suggest fields on your web pages (http://struts.application-servers.com/suggest/index.html).
Open source license (Apache 2) by Jean-Noel Ribette and others.
The server-side Java library can be easily deployed in all Servlet 2.3+-compatible containers.
Uses JSON to marshal the data of your POJOs (Plain Old Java Objects) on the server side.
Easy and flexible configuration using
web.xml. Comes with Spring
Comes with several reusable components (Auto-suggest Textbox, JS Template, JS Logger, etc.) that help you develop your web apps easier.
Online demo available at http://swato.throughworks.com.
Open source license (Apache) by Zhijie Chen.
Component library hosts extensive set of production quality code, with a built-in functionality that includes dialogs, floating windows, tons of effects, tree, autocompleter, Inline Editor, etc.
Extensive form-based Ajax support includes client-side validation, field observers, partial form submissions, etc.
Open source license (Apache) by multiple contributors.
ThinkCAP JX (http://www.clearnova.com) is designed to build industrial strength transactional business applications.
Contains Visual Workbench.
Based on over 20 open source projects, including Struts, Hibernate, JFreeChart, and many more.
Handles complex Ajax updates using TransactionSafe. This guarantees no connection leaks and automates complex master-detail updates.
Rich data-aware controls include Scrollable Updateable DataView Data Grid, Client Sorting, Outlook Bar, Accordion, Tab Panes, Trees, and Autocomplete.
Smart data binding provides declarative binding to HTTP Request or Session Parms.
Client and Server Layout Management automatically directs component/Ajax call output to the appropriate default or named areas of a page.
Dual license (GPL or commercial) by ClearNova.
WebORB for Java (http://www.themidnightcoders.com/weborb/aboutWeborb.htm) is a platform for developing Ajax and Flash-based rich client applications and connecting them with Java objects and XML web services. (See online examples at http://www.themidnightcoders.com/examples.)
See the earlier discussion "WebORB for .NET (from August 2005)" for more details.
Dual license (standard edition is free, professional is commercial) by Midnight Coders.
WidgetServer (https://wiser.dev.java.net) enables you to code Ajax applications in pure Java.
Coordinates messages between browser and server
Applications run as web, Swing, and Swing client/server Apps
Dual license (higher-performance commercial version and lower-performance open source version) by Dirk von der Weiden
The export function script is as follows:
May be integrated into SAJAX.
Open source license (custom, very flexible, license) by Richard Newman (http://www.holygoat.co.uk/).
Can be used to link any Perl code to an HTML event, including fetching other URLs (using LWP, for example)
Nestable, so an HTML event can start a chain of Ajax
onClick= "do_this( );
now_that(); finally_this( )")
Can handle GET or POST
Not necessary to have your exported subroutines named in a specific way—name them what you want
Very small overhead—allows you to keep thinking Perl and not get bogged down
Active development community
Open source library (Perl and Artistic license) by Brian Thomas
Basically similar to the Prototype helpers in Ruby on Rails
Open source license (GPL and Artistic) by multiple contributors
AJASON (http://ajason.sourceforge.net/) is a PHP-based framework.
Open source license by multiple contributors
AjaxAC (http://ajax.zervaas.com.au/) encapsulates the entire application in a single PHP class.
Built-in functionality for creating subrequests and handling them.
Allows for custom configuration values, so certain elements can be set at runtime.
Easy to integrate with templating engine.
Easy to hook in to existing PHP classes or MySQL databases for returning data from subrequests.
Open source license (Apache 2.0) by Zervaas Enterprises (http://ajax.zervaas.com.au/).
Simple server-side programming
Handler for server-side events
A suggest handler like Google’s
Plugin for multiple selects (like country/state/city)
Plugin for submitting forms though
Open source library (LGPL) by Thiago Pappacena
HTSWaf (http://www.htsdesign.com/index.php?§ion=htswaf&page=index) provides seamless client-to-server event handling.
Visit the web site for more info and examples (http://www.htsdesign.com/index.php?§ion=htswaf&page=index).
Currently in demo stage, by Bert Rosell.
Open source license
Open source license (LGPL) by multiple contributors.
Open source license with commercial add-ons in development by Picora Pipeworks.
Symfony (http://www.symfony-project.com) integrates a server-side Ajax layer together with helpers “à la” script.aculo.us, to provide an easy way to build Ajax applications in PHP.
A step-by-step tutorial is available (http://www.symfony-project.com/tutorial/symfony_ajax.html) describing the creation of an interactive shopping cart. This demonstrates the tight integration of prototype, script.aculo.us, and the MVC model.
The Advent Calendar initiative (http://www.symfony-project.com/askeet) illustrates how to build a real Ajax application in 24 short tutorials, complete with downloadable code. Interactive form submission, Folksonomy, and visual effects are some of the Ajax features of the askeet web site (http://www.askeet.com) they are building live. A must see.
Open source license (MIT License), sponsored by Sensio.
The response is created using the XAJAX response object, which provides numerous commands, such as assigning HTML to an element, displaying an alert, and more. Custom script output is also supported.
All browser-specific code (such as using
XMLHttpRequest) is abstracted, and
sending various types of data to the server (including form
submission via Ajax) is very easy to accomplish.
It supports a number of configuration options to allow easy integration with existing web apps and frameworks.
Well-supported via forums and a new wiki with documentation and tutorials.
Open source license (LGPL) by J. Max Wilson and Jared White.
XOAD (http://www.xoad.org) is a PHP-based Ajax/XAP object-oriented framework.
It uses JSON Messages and native PHP serialized objects to communicate.
Special attention has been paid to security.
Supports server-side events (Distributed Events [Chapter 10]).
Supports client-side events (XOAD Events).
Supports server and client extensions.
Supports HTML manipulation (extension).
Supports caching (extension).
Each class, method and variable is documented.
Provides easy tutorials to get started using XOAD.
Provides examples that demonstrate various functionality.
Won the PHP Programming Innovation Award of August of 2005 (http://www.phpclasses.org/winners.html).
Open source license (PHP 3.0 license) by Stanimir Angeloff.
Open source license by Peter Hunt
Turbo Gears (http://turbogears.org) is a “mega-framework” combining many libraries and frameworks.
Open source licence (MIT license) and multiple licenses from incorporated frameworks by multiple developers
Ruby On Rails (http://www.rubyonrails.org/) is a general web framework with strong Ajax support.
Rails was still in its early days when Ajax hype began, so Ajax may become increasingly important to the Rails framework.
Supports calling server side.
Provides scheduling support.