Welcome!

Agile Computing Authors: Elizabeth White, Yeshim Deniz, Liz McMillan, Pat Romanski, Ed Featherston

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
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
The best way to leverage your CloudEXPO | DXWorldEXPO presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering CloudEXPO | DXWorldEXPO will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at CloudEXPO. Product announcements during our show provide your company with the most reach through our targeted audienc...
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, 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.
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...
"We view the cloud not as a specific technology but as a way of doing business and that way of doing business is transforming the way software, infrastructure and services are being delivered to business," explained Matthew Rosen, CEO and Director at Fusion, in this SYS-CON.tv interview at 18th Cloud Expo (http://www.CloudComputingExpo.com), held June 7-9 at the Javits Center in New York City, NY.
DXWorldEXPO LLC announced today that the upcoming DXWorldEXPO | CloudEXPO New York event will feature 10 companies from Poland to participate at the "Poland Digital Transformation Pavilion" on November 12-13, 2018.
As data explodes in quantity, importance and from new sources, the need for managing and protecting data residing across physical, virtual, and cloud environments grow with it. Managing data includes protecting it, indexing and classifying it for true, long-term management, compliance and E-Discovery. Commvault can ensure this with a single pane of glass solution – whether in a private cloud, a Service Provider delivered public cloud or a hybrid cloud environment – across the heterogeneous enter...
More and more brands have jumped on the IoT bandwagon. We have an excess of wearables – activity trackers, smartwatches, smart glasses and sneakers, and more that track seemingly endless datapoints. However, most consumers have no idea what “IoT” means. Creating more wearables that track data shouldn't be the aim of brands; delivering meaningful, tangible relevance to their users should be. We're in a period in which the IoT pendulum is still swinging. Initially, it swung toward "smart for smart...
DXWorldEXPO LLC announced today that ICC-USA, a computer systems integrator and server manufacturing company focused on developing products and product appliances, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City. ICC is a computer systems integrator and server manufacturing company focused on developing products and product appliances to meet a wide range of ...
Major trends and emerging technologies – from virtual reality and IoT, to Big Data and algorithms – are helping organizations innovate in the digital era. However, to create real business value, IT must think beyond the ‘what’ of digital transformation to the ‘how’ to harness emerging trends, innovation and disruption. Architecture is the key that underpins and ties all these efforts together. In the digital age, it’s important to invest in architecture, extend the enterprise footprint to the cl...
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 ...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost and risk of entering new markets has leveled the playing field for business. Today, any ambitious innovator can easily introduce a new application or product that can reinvent business models and transform the client experience. In their Day 2 Keynote at 19th Cloud Expo, Mercer Rowe, IBM Vice President of Strategic Alliances, and Raejeanne Skillern, Intel Vice President of Data Center Group and ...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...