YOUR FEEDBACK
NGASI Releases AppServer Manager 8.1
Dave Jenkins wrote: The remote server management is a welcomed added feature...
SOA World Conference
Virtualization Conference
$200 Savings Expire May 16, 2008... – Register Today!

2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts

SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


The Next Web Development Episode Is RIA + SOA
Rich Web 2.0 applications will not become mainstream until the next generation of web platforms

Digg This!

Page 2 of 3   « previous page   next page »

Support for HTML and CSS

These two languages are perfectly suited for implementing the “look” of an application, plus they are familiar to most developers of web-based user interfaces.  There is no reason to recreate the wheel.

 Provide an Open Widget Framework

 As stated earlier, widgets are a fundamental building block of RIAs.  There are several widget toolkits available from the likes of Yahoo, Dojo, and ExtJS.  There are also several standalone widgets that have been created by smaller projects and individuals.  You can build RIAs using these widgets, but there are some catches:

  1.  It’s unlikely that one widget offering is going to meet all of your need

  2. Integrating different third-party widgets may require custom code as well as an in depth understanding of how each widget works.

  3. Writing new widgets is challenging because you either have to write to the low-level API of your preferred widget toolkit, or you have to write your own from scratch.

  4. Some widget frameworks require developers to write a significant amount of Javascript just to use their widgets, which is problematic for those with little to no JavaScript experience.

In order to address the problems above, an RIA + SOA platform should provide an Open Widget Framework that has the following capabilities:

  • Support integration of existing third-party widgets
  • Provide a simple API for creating new widgets
  • Enable widgets to be used via simple markup (no JavaScript required)
  • Support a distribution model that makes it easy to submit, find and use new widgets

An Open Widget Framework will provide developers with one source for obtaining widgets and one simple way to integrate these widgets into their application.  If a particular widget is not available, it can be easily created using the Open Widget Framework API. 

Given the importance of widgets within RIA development and the fragmented nature of widgets today, an Open Widget Framework should be considered an essential part of any RIA + SOA platform.

Provide an Integrated RIA Programming Model

Developing RIAs requires significantly more user interface code than traditional web-based applications.  As a result, a next generation platform needs to provide an integrated RIA programming model that facilitates and simplifies the key user interface programming tasks.  These tasks include:

  • Event handling
  • DOM manipulation
  • Service consumption (Ajax)

Event handling, DOM manipulation and Ajax enable the “rich” in rich Internet application.  It doesn’t take much investigation to see that they are closely related. To illustrate this point, let’s look at the typical steps involved with an RIA login form submission:

  • Login button is clicked (event handling)
  • Service request is sent (Ajax)
  • Some type of activity indicator is displayed (DOM Manipulation)
  • Service returns (Ajax)
  • Activity indicator is hidden (DOM Manipulation)
  • A Login “success” message is displayed (DOM Manipulation)

Despite their close relationship, most frameworks and libraries provide only light integration between the three, leaving the developer to bridge the gap.  To illustrate this point, let’s look at some code.  In the example below, we will set the contents of one combo box when the value of a second combo box changes.  This example is written using JQuery:

 

$(function(){

  $("select#comboOne").change(function(){

    $.getJSON("/combo.php",{id: $(this).val(), ajax: 'true'}, function(j){

      var options = '';

      for (var i = 0; i < j.length; i++) {

        options += '<option value="' + j[i].optionValue + '">' + j[i].optionDisplay + '</option>';

      }

      $("select#comboTwo").html(options);

    })

  })

})

 

Now, let’s look at how this could be accomplished using a fully integrated approach to event handling, DOM manipulation and Ajax.

 

<select id=”comboOne”

on=”change then r:load.combo2.request”>

</select>

<select id=”comboTwo”

on=”r:load.combo2.response then value[property=rows,text=text,value=value]”>

</select>

 


Page 2 of 3   « previous page   next page »

About Nolan Wright
Nolan Wright is co-founder and CTO of Appcelerator, leading the company's product and services organizations. Prior to starting Appcelerator, he led engineering and product management at Vocalocity. He has also held several senior technology, product management and consulting positions with Accenture, Netscape Communications and Vertical One. Wright is a graduate of Vanderbilt University, where he earned his BEEE in Electrical Engineering. For more information, please visit http://www.appcelerator.org.

gerrymclarnon wrote: A combination of Flex & Java technologies will give a fine RIA + SOA solution albeit in (slightly) different programming languages.
read & respond »
jack van hoof wrote: I think Portals and ESB's may help as I explained here: http://www.sys-con.com/re ad/513263_1.htm A total overview of an application integration model is to be found here: http://soa-eda.blogspot.c om/2007/08/what-is-eai.ht ml
read & respond »
RIA Newbie wrote: > if the contract between the RIA and its services > is message-based, then it becomes possible to > create local mock services this works well...good idea; and good article thank you
read & respond »
BEA WEBLOGIC LATEST STORIES
Microsoft To Keynote 4th International Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs the tec
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Virtualization Meets DaaS - Desktop-as-a-Service
After a $1.5 million angel round, Desktone, which was started in 2006 by Eric Pulier, who also started SOA Software, US Interactive and IVT, picked up $17 million in first-round funding about a year ago from Highland Capital Partners, SoftBank Capital, Citrix Systems and the China-base
Engelbart's Usability Dilemma: Efficiency vs Ease-of-Use
The mouse was the original idea of Doug Engelbart who was the head of the Augmentation Research Center (ARC) at Stanford Research Institute. Engelbart's philosophy is best embodied, in my opinion, in the design of another device that he invented, the five-finger keyboard - with keys li
Web 2.0 Is Fundamentally About Empowering People
'Unlocking content to be remixed into new business value' is the driver of Web 2.0 in the enterprise, says Rod Smith, IBM VP of Emerging Internet Technologies, in this Exclusive Q&A with Jeremy Geelan on the occasion of IBM's release of a new technology created by IBM researchers, code
Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
Here is a question that I have been pondering on and off for quite a while: Why do 'cool kids' choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer. Why do I even care? Because I am a Java developer. Like many Java developers, I get along w
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

MOST READ THIS WEEK
ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
AmberPoint Extends SOA Governance to Apache ServiceMix, BEA AquaLogic Service Bus 3.0, BEA WebLogic Integration, Cisco ACE XML Gateway, JBoss Enterprise Application Platform and Oracle Fusion
AmberPoint announced today that it has extended the reach of its runtime SOA governance