The Twelve Days of AJAX, Page 3
Here is a Google demo application that used JSON-RPC: http://code.google.com/webtoolkit/documentation/examples/jsonrpc/demo.html.
Spry Framework for AJAX
Here is a screenshot of some of the demos:
Spry has a lot of potential, not only because it can produce visually appealing applications, but also because many web developers nowadays are also web designers. If Spry can make them create better-looking application with less coding, they can be more productive.
Yahoo! User Interface Library (YUI)
Yahoo has always provided toolkits for developers to extend (or use) its rich set of online applications and API. In part due to the same good faith effort, in part due to the web 2.0 movement, and in part because of growing competition from Google and Adobe, Yahoo released the Yahoo! User Interface (YUI) Library as open source under a BSD license.
The http://developer.yahoo.com/yui/ site has lots of top-notch documentation, examples, and components cheatsheets to help developers start with the YUI.
Here is an example of the calendar UI component.
YUI also features drag-and-drop and browser Event classes. The Event class can programmatically attach an event handler to one or more elements on the page and listen for the DOM events. Some other functionality are automatic deferral of handler attachment for elements that are not yet available, automatic event scope correction, automatic listener cleanup, and so forth.
YUI has equal emphasis on the design and development sides of the web development process; at the time of this writing, it is version 0.12. It is not quite ready for the enterprise début but looks like a very solid contender in the AJAX market. Any web developer interested in the solid AJAX and DHTML library should definitely consider the YUI, and check its further evolution.
Even More Frameworks to Watch...
These are some more frameworks or toolkits that I feel need to be also motioned because they present even more options to develop with AJAX and are gaining popularity.
SAJAX is an open source AJAX Toolkit for PHP, Perl or Python. It has wrapper functions for AJAX calls. SAJAX can simplify development if you are using any of these programming languages.
Fjax (not to be confused with Adobe Flax) technology is an open, lightweight, cross-browser methodology for AJAX-style web 2.0 development: http://www.fjax.net/.
The Guise Java Web Framework for AJAX Applications addresses JSF shortcomings: www.guiseframework.com.
AJAX.NET developed in Germany by Michael Schwarz. It helps to AJAX-enable .NET applications.
Currently, people trying out AJAX put little "islands" of logic on their web pages that can asynchronously do something, and perhaps that is enough in many cases. Other, more adventurous designers design entire web applications based on the fact that they can provide fancier UI and fewer pages to refresh. Time will tell which approach will prevail, but regardless of the approach, I believe that AJAX is here to stay and evolve. I have presented most of the major players in the AJAX area; now it will be up to the readers to go and try them out and decide on the frameworks' usefulness.
I will look at some these AJAX libraries in more details subsequent articles.
- wikipedia: www.wikipedia.org/
- Dojo: http://dojotoolkit.com
- Google Web Toolkit: http://code.google.com/webtoolkit/
- Google web applications:
- Gmail: www.gmail.com
- Google suggest: http://www.google.com/webhp?complete=1&hl=en
- Google finance: http://finance.google.com/finance
- Backbase: http://www.backbase.com
- SAJAX: http://www.modernmethod.com/sAJAX/
- SmartClient: http://www.isomorphic.com
- Yahoo! User Interface Library (YUI): http://developer.yahoo.com/yui/
- DWR: https://dwr.dev.java.net/
- Script.aculo.us: http://script.aculo.us
- Spry framework for AJAX: http://labs.adobe.com/technologies/spry/
- Bindows 2.0: http://bindows.net/
- IceFaces: http://www.icesoft.com/products/icefaces.html
- JSON-RPC: http://json-rpc.org/
- Fjax: http://www.fjax.net/
- Guise: http://www.guiseframework.com
- AJAX.NET: http://AJAX.schwarz-interactive.de/
About the Author
Vlad Kofman is working on enterprise-scale projects for the major Wall Street firms. He has also worked on defense contracts for the U.S. government. His main interests are object-oriented programming methodologies, UI, and design patterns.