Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Agile Computing, Machine Learning

Agile Computing: Article

AJAX World - HTML & AJAX, Rails and Grails, Flex, Silverlight, Curl, GWT, OpenLaszlo, and Appcelerator

Which RIA Tools Give Us the Best Bang for Your Buck?

Kevin Whinnery's Blog

In the world of Rich Internet Applications, there is no shortage of technology choices to compose a user interface. But what tools will give us the best bang for our buck? Here is a look at some heavy hitters and newcomers in the RIA market, including: HTML & AJAX, Rails and Grails, Flex, Silverlight, Curl, GWT, OpenLaszlo, and Appcelerator.

When you set out to build any application, difficult decisions must be made about the frameworks and technologies you will employ to get the solution built.  In the world of Rich Internet Applications, there is no shortage of technology choices to compose a user interface.  Within reason, any technology can be used to create any kind of user experience - just ask the JavaScript wizards at Google or 37signals

But not everybody has that kind of talent (or time and resources) at their disposal, so the rest of us have to decide what level of user interface quality we are gunning for, and what tools will get us there the fastest with an end product that is maintainable (read: what tools will give us the best bang for our buck).

This is a question I grapple with often, and I took a few minutes (brace yourself for some outstanding MS Paint skills) to sketch out where I think some heavy hitters and newcomers in the RIA market stand when the complexity of the solution is compared to the overall feature-richness of the UI:

Graph Plotting Complexity vs Feature-Richness of the UI

From my experience, a traditional HTML + Ajax application can create great results, but maintaining even a modest JavaScript codebase with intermediate level JS programmers is a total nightmare.  Successful JavaScript-heavy apps require a very talented team to develop and maintain them, and even then, the tools are only now coming around to a point where that kind of effort is productive.  So applications built on standard MVC-ish frameworks (Struts, Ruby on Rails, Grails, Spring Web Flow) get complicated (and expensive) fast depending on how much client-side programming is necessary.

But at the lower levels of UI complexity, those frameworks offer some great value, especially Rails and Grails. When an application's content consists largely of dynamically generated documents, HTML and AJAX can generally get the job done nicely.  After all, displaying documents is what HTML is all about.

But as requirements call for a more expressive UI (which requires more client-side logic to be written), the old way of writing web applications breaks down quickly.  The browser was never intended to function as an application platform, and it starts to show as an application requires more asynchronous data access, fluid and responsive control, and event-driven user interface. To counteract the stateless nature of the web, we start to invent contrivances like "page flow" and abuse the HTTP session.  We find that our runtime environment on the client is not consistent because of the different browsers in the marketplace, not even between versions from the same vendor.  It is at this juncture that we reach the breaking point of the browser as a means of creating application UI (marked at point A on the graph).

At this point it becomes clear that we need to move away from the server-centric programming model we are used to on the web to more of a client-server architecture.  To effectively create advanced user interfaces we need to be able to track UI state on the client side and make our UI event driven.  At first, it seems inevitable that we leave behind the open, standards-based world of the web (and all our hard-earned skills surrounding it) for a more consistent runtime environment, like the Flash player (using Adobe Flex), Microsoft's upstart Silverlight platform, or some other more exotic solution, like the B2B-targeted Curl platform.

But before abandoning the browser, we still have options.  A number of emerging frameworks seek to tame the browser and make it a suitable platform for a rich client application.  The biggest fish in this pond is currently Google Web Toolkit (or GWT), which allows developers to write UI code in Java and have it transformed to JavaScript that will run in the browser.  All this with all the development tools and skill sets that exist out in the marketplace today surrounding Java. Sounds great doesn't it?

It sure did to me, until I started to actually write a UI in straight up procedural Java.  I was shocked at the volume of code I had to write to assemble even the most basic UI.  Also, trying to read a collection of Java classes and visualize the structure of the UI was, for me, not an easy task. On top of that, it was unclear to me how a design team would effectively collaborate with a development team, especially when they are speaking different programming languages (Java versus HTML/CSS).  The lack of any kind of markup language to accompany Java in GWT hurts it badly - and the alpha-stage markup language extensions that I see coming out seem all too far away.

OpenLaszlo is an option, as LZX can be compiled into DHTML/JavaScript for the browser, but it carries with it all the new language overhead of Adobe Flex, without all the nice features like a polished set of widgets out of the box and seamless design to development workflow via Adobe CS3.  Yes, it does run in the browser without a plugin, but it's going to run a ton slower than the same application written for the Flash Player.  Overall, I see few advantages to choosing OpenLaszlo over Flex.

But as you can probably tell from the graph, I think there is a worthy competitor in the 'RIA for the browser' struggle in Appcelerator.  Appcelerator pushes the browser beyond Ajax by providing a client-server programming model and providing event-driven UI.  It accomplishes this through what I categorize as a brilliant innovation, which is its Web Expression Language and messaging system.  Lightweight messages and JSON data payloads govern communication between elements on the page and server-side services alike. Data marshalling and unmarshalling is accomplished by the framework, which saves a common point of tedium in RIA development.  Appcelerator also uses HTML and CSS to structure UI, so your designers and developers can work in concert as before.  Appcelerator pushes the breaking point of the browser out even further (I marked this at point B on the graph above), because it provides you with the essentials for developing a rich client without abandoning the browser as an application platform.

But there comes a point where user interface requirements demand more than can be provided by the browser (at least easily).  When an application UI demands the use of diverse media sources, advanced animation, top-quality client side performance, and retrieving and working with many thousands of rows of data, the browser simply cannot perform as well as the Flash Player plugin, which means programming in Adobe Flex and ActionScript 3.  AS3 is a powerful, strongly-typed object-oriented language that provides you all the related advantages. It is also compiled and run as byte code in the Flash Player, so it will often provide client side performance advantages over JavaScript (which is of course interpreted). There is also support for a binary data transfer protocol that is the fastest way I know of to get data into the browser. Last but not least, designers can achieve pixel-perfect results by using CS3 creative tools to create Flex UI components.

All this power comes at a price, however.  The tool set is not cheap, and Adobe Flex skill sets are not exactly abundant in the marketplace.  The event system is nowhere near as elegant as the Appcelerator solution, and the syntax of MXML/ActionScript can get a little verbose.  You are also relying on a browser plugin, and while the Flash Player's penetration is deep, I have already come across clients where Flash Players are not installed on modern machines.  Some corporate environments may even prohibit browser plugins.

But Flex, for my money, is hands down the most powerful option for creating RIA on the web today.  I would consider it a 'nuclear option' reserved for graphically intense, data-access intensive, or desktop-like UI requirements, but when you need to break out the big user experience guns or take advantage of the high-speed AMF protocol, Flex is going to be your weapon of choice.

So there you have another lengthy teatise on the state of the RIA union.  With any luck it will be my last truly lengthy one for some time.  I look forward to any comments, and good luck to any embarking on a new RIA adventure...



AJAXWorld 2008 West Call for Papers Is Open!

Submissions deadline: May 31, 2008

Next October's Conference is already receiving higher-caliber submissions from all over the Rich Internet Applications ecosphere.

The theme of this October's AJAXWorld Conference & Expo 2008 West is 'Beyond AJAX to the RIA Era' and the Call for Papers, which is now open, specifically encourages submissions from exceptional speakers with high-quality use cases of the fast-emerging RIA alternatives.

Submissions featuring such use cases as well as on dozens of other RIA topics have already begun streaming in to AJAXWorld Conference & Expo 2008 West, being held in San Jose, CA, on October 20-22, 2008.

Click here to submit your speaking proposal today !

More Stories By Kevin Whinnery

Kevin Whinnery is a core contributor and Technical Evangelist for Appcelerator, an open source Rich Internet Application framework. Prior to joining Appcelerator, Kevin has been a web developer on both the client and server side for ERP vendor Lawson Software and technical consultancy Perficient, Inc. Kevin is also the author of the upcoming book "Appcelerator In Action" from Manning Publications.

Comments (11) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
robbiecheng 07/18/08 12:47:05 PM EDT

How about ZK? It's a pure Java, and direct Ajax solution. ZK was the most downloaded Ajax framework on Sourceforge last year. Moreover, ZK also support JSF, Seam, and JSP. Take a look at a comparison between ZK and GWT. Understand why ZK outdoes GWT. http://www.zkoss.org/smalltalks/gwtZk/

robbiecheng 07/18/08 12:39:47 PM EDT

How about ZK? It's a pure Java, and server-centric solution. ZK was the most downloaded Ajax framework on Sourceforge last year. Moreover, ZK also support JSF, Seam, and JSP. Take a look at a comparison between ZK and Icefaces.
http://www.zkoss.org/smalltalks/zkIcefaces/

Meryl 05/23/08 11:30:30 AM EDT

What about WebWidgetry from Nth Penguin?

Kevin Whinnery 05/05/08 04:20:42 PM EDT

This definitely isn't an exhaustive list of options - there are some other good RIA tools out there certainly.

Assuming you're using Java on the backend, ICEFaces is certainly an option, but the jury is still out even in the Java community as to the utility and desirability of JSF in general. Also, it doesn't really provide the client/server programming model I like in an RIA - it still requires you to maintain UI state on the server.

JackBe and Kapow are neither free nor open source (near as I can tell), however both products look like they are pretty powerful. I like Backbase - it feels a bit like Flex to me, and the component library is pretty extensive.

But in terms of RIA for the browser, I like Appcelerator more because of it's elegant web expression language and messaging/event handling system. No similar facilities exist in any other Ajax toolkit I have encountered. Along with support for tight integration a variety of server-side backends, I have yet to see a browser-based RIA framework with similar capabilities to Appcelerator, which is why I like it so much and included it in this list.

Matthew Quinlan 04/29/08 02:14:32 PM EDT

Brandon,

Regarding your moible question...
Appcelerator runs out-of-box on the iPhone.

RIA in Europe 04/28/08 11:40:34 AM EDT

JackBe, Backbase and Kapow are gone or what?

Juan Mendoza 04/15/08 07:28:37 PM EDT

Yes, i agree too, it is a very interesting article, but what about ICEFace?

Tristan Bergh 04/15/08 06:40:42 AM EDT

Great article. Choosing Web UI framework technology is a crucial step in any enterprise internet strategy and your analysis gives a great first pass for me, an architect returning to the UI game after serverside-only work. I'm comfortable I can navigate further with the decision points you use.

NN 04/15/08 12:41:04 AM EDT

yeah after working GWT I feel Flex is best of all RIA at this time given two things

1. Data access server not free
2. Flex Builder cost you but not very expensive
3. that plug-in things makes client think twice or thrice or so no all together

But JSP, PHP, JSF & other server side tag language feels like age old technology and feels like not working on them after Flex 3 and so open source initiative by Adobe...

Microsoft and SUN (JavaFX not even clost to 10% to flex) makes big statement but delivery buggy (goes to microsoft) or over engineer product (goes to SUN)

Brandon 04/12/08 06:34:57 PM EDT

A wonderful and very useful summary! I am on the cusp of jumping into RIA dev since Adobe AIR has caught my attention (a new ripple that you might consider adding to this analysis).

Although it may be beyond the scope of your purpose, I'd also be extremely interested in RIA tools which support mobile devices. Can of worms? You bet. It is also an inevitable tsunami.

Jorge Duenas 04/12/08 05:09:16 AM EDT

Excellent, very informative article - thanks!

@ThingsExpo Stories
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution. In his session at @ThingsExpo, Akvelon expert and IoT industry leader Sergey Grebnov provided an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.
SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...