April 23, 2008

The Test Center guide to rich Web app dev tools

Frameworks for rich Internet applications can be lightweight or heavyweight, open or closed, and almost anything in between

Rich Internet applications, or RIAs, comprise a spectrum of application types and technologies. The lightweight end of the spectrum has seen most of the attention in recent months, with Microsoft's Silverlight and Adobe's AIR (Application Integrated Runtime) getting attention as the new kids in town. But AJAX (Asynchronous JavaScript and XML) is still where most of the lightweight action resides. And despite the recent focus on lightweight app dev, significant developer focus remains on the heavyweight tools in the Microsoft .Net and Sun Java worlds.

AJAXanchors the lightweight end

The lightweight tools are anchored by AJAX or Web 2.0 applications, which add richness and responsiveness to standard Web sites with asynchronous JavaScript libraries: that's the "AJA" part of "AJAX." The "X" stands for "XML," but these days XML is not the only data format used by such libraries; it's also common to see asynchronous data exchange in JSON, HTML, and plain text formats.

[ InfoWorld's Tom Yager and Galen Gruman think Adobe AIR is really cool and useful. But Martin Heller isn't so sure. See who you agree with. ]

AJAX is powered by several technologies. One key piece is Dynamic HTML, a browser feature that allows JavaScript libraries to manipulate the contents of a page on the client, even after it has been initially displayed. Another key piece is XMLHttpRequest, which is a lightweight back channel to the server that JavaScript can call from the client.

AJAX is used to extend a wide variety of Web server application technologies. You can, of course, use it to enhance otherwise static HTML pages with data-driven content, but it's more customary to couple AJAX on the client with scripted Web servers. Ruby on Rails makes adding AJAX features especially easy. Microsoft ASP.Net AJAX, as the name implies, enhances ASP.Net sites with AJAX features, and includes Visual Studio integration; the Microsoft AJAX Library can also be used with other types of sites. Integrating AJAX libraries with Java/JSEE sites can be done manually with some effort, but tools and libraries such as the Google Web Toolkit, Tibco General Interface, and ThinkCAP JX make it much simpler.

.Net and Java on the heavyweight end

The heavyweight end of the RIA spectrum is shared by .Net Smart Client applications and Java Applets deployed over the Web. In both cases, the client computer needs to have a fairly large (more than 10MB) runtime engine installed before it can meaningfully download the RIA.

Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.