Rich Internet apps that double as desktop apps

RIAs can make Web browsers as responsive as desktop applications. We look at four technologies that cross the online gap.

I found the sample code very easy to understand. The Gears API is very straightforward, and like other Google APIs, won't present a problem to experienced JavaScript developers. The samples all worked well for me.

Google Gears is free. Adding Gears functionality to a Web page is a simple exercise in JavaScript programming, which can be accomplished using any HTML or text editor. The effort of taking a Web application fully offline with Gears is commensurate with the complexity of the application. Note that using a local database to synchronize large amounts of data can introduce performance issues; this is the reason for the asynchronous JavaScript WorkerPool API .

Microsoft Silverlight

Microsoft Silverlight is a cross-platform RIA browser plug-in. Silverlight 2 includes a subset of the .Net Framework and of the Windows Presentation Foundation (WPF) with its XAML markup language, and supports all the .Net languages in addition to JavaScript.

Silverlight 2 supports local data caching and isolated local storage, which is one reason to consider it for use as a desktop RIA, although like Google Gears it runs inside a browser. There's also another scenario to consider: With care, you can write a Silverlight Web application that can also be recompiled to be distributed as a WPF desktop application, and the WPF application would stand alone but be able to connect to the Internet as needed. Note that it's much easier to write a Silverlight application and recompile it for WPF than it is to take a WPF application and rewrite the parts that aren't supported by Silverlight.

Silverlight 2 and WPF both have excellent performance if you program them with .Net languages such as C#. If you instead program Silverlight using the JavaScript interpreter in a Web browser, the CPU-bound performance will drop significantly.

Silverlight 2 runs as a runtime on Windows XP, Windows Vista and Mac OS X on Intel-based Macs. Current versions of IE, Firefox and Safari are officially supported, with "others pending customer feedback"; I have also used Silverlight 2 successfully with current versions of Google Chrome and Opera. The Microsoft development and design tools require Windows; an Eclipse plug-in for Silverlight currently requires Windows but will eventually support other operating systems. The Linux implementation of Silverlight 2 is called Moonlight 2 and is currently in an alpha state.

Silverlight has copious documentation and very good tool support. Developers typically work on Silverlight applications using Visual Studio 2008 on Windows; designers typically work on the same project using Expression Blend 2, also on Windows. Both of these tools are very good for their target audiences, but not for their secondary audiences. That is, Visual Studio 2008 is great for coding and XAML text editing and can preview XAML pages, but can't do visual XAML page design; Expression Blend 2 is great for visual XAML page design but doesn't support coding. The future Visual Studio 2010 product, now in preview, will combine both sets of capabilities.

Tags rich internet applications

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Martin Heller

Computerworld

Comments

Comments are now closed.

Latest News Articles

Most Popular Articles

Follow Us

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Resources

Best Deals on GoodGearGuide

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?