The i-Technology Media!
Register | Log in
   
 
.NET  ·  AJAX  ·  CLOUD  ·  ECLIPSE  ·  FLEX  ·  OPEN WEB  ·  iPHONE  ·  JAVA  ·  LINUX  ·  OPEN SOURCE  ·  ORACLE  ·  PBDJ  ·  SEARCH  ·  SILVERLIGHT  ·  SOA  ·  VIRTUALIZATION  ·  WEB 2.0  ·  WIRELESS  ·  XML
YOUR FEEDBACK
PowerBuilder Goes MP3
Richard Csongor wrote: Hi, I was looking to play .mp3 files in my PB application and found your code....
Oct. 13, 2008 10:36 AM
AJAXWorld RIA Conference
Early Bird Savings Expire Friday Register Today and SAVE !..
Did you read today's front page stories & breaking news?
Live Google News by SYS-CON!

TOP THREE LINKS YOU MUST CLICK ON


News Desk
Next-Generation Web Development: Bye Bye MVC, Hello RIA + SOA
Rich Web 2.0 applications will not become mainstream until the next generation of web platforms

By: Nolan Wright
Jun. 16, 2008 10:30 AM
  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • next ›
  • last »

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:

  • It's unlikely that one widget offering is going to meet all of your needs.
  • Integrating different third-party widgets may require custom code as well as an in-depth understanding of how each widget works.
  • 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.
  • 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:

  • Supports integration of existing third-party widgets
  • Provides a simple API for creating new widgets
  • Enables widgets to be used via simple markup (no JavaScript required)
  • Supports 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>

  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • next ›
  • last »
Published Jun. 16, 2008— Reads 29,958 — Feedback 5
Copyright © 2008 SYS-CON Media. All Rights Reserved.
Related Stories
▪ As Enterprise RIA Development Market Mushrooms, Marc Fleury Joins Board of Appcelerator
▪ JSON Serialization with Appcelerator Java Services
▪ "It's Time for UIs To Become Service-Oriented," Says Appcelerator's Jeff Haynie
▪ How Appcelerator is Building the Largest Open-Source Community Dedicated to RIAs
▪ Open Source Visionary Larry Augustin Joins Appcelerator Board
▪ Think Fast: Accelerate AJAX Development with Appcelerator
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.

Add Your Feedback

In order to post a comment you need to be registered and logged in.

Register | Log in

Please wait while we process your request...





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

ADS BY GOOGLE

ADVERTISE   |   MAGAZINE SUBSCRIPTIONS   |   FREE BREAKING-NEWSLETTERS!   |   SYS-CON.TV   |   BLOG-N-PLAY!   |   WEBCAST   |   EDUCATION   |   RESEARCH

.NET Developer's Journal - .NETDJ   |   ColdFusion Developer's Journal - CFDJ   |   Eclipse Developer's Journal - EDJ   |   Enterprise Open Source Magazine - EOS
Open Web Developer's Journal - OPENWEB   |   iPhone Developer's Journal - iPHONE   |   Virtualization - Virtualization   |   Java Developer's Journal - JDJ   |   Linux.SYS-CON.com
PowerBuilder Developer's Journal - PBDJ   |   SEO / SEM Journal - SJ   |   SOAWorld Magazine - SOAWM   |   IT Solutions Guide - ITSG   |   Symbian Developer's Journal - SDJ
WebLogic Developer's Journal - WLDJ   |   WebSphere Journal - WJ   |   Wireless Business & Technology - WBT   |   XML-Journal - XMLJ   |   Internet Video - iTV
Flex Developer's Journal - Flex   |   AJAXWorld Magazine - AWM   |   Silverlight Developer's Journal - SLDJ   |   PHP.SYS-CON.com   |   Web 2.0 Journal - WEB2
Apache   |   CMS   |   CRM   |   HP   |   Oracle Journal   |   Perl   |   Python   |   Red Hat   |   Ruby on Rails   |   SAP   |   SaaS

SYS-CON MEDIA:   ABOUT US   |   CONTACT US   |   COMPANY NEWS   |   CAREERS   |   SITE MAP
SYS-CON EVENTS:   |  AJAXWorld Conference & Expo  |  iPhone Developer Summit  |  OpenWeb Developer Summit  |  SOA World Conference & Expo  |  Virtualization Conference & Expo
INTERNATIONAL SITES:   India  |  U.K.  |  Canada  |  Germany  |  France  |  Australia  |  Italy  |  Spain  |  Netherlands  |  Brazil  |  Belgium
 Terms of Use & Our Privacy Statement     About Newsfeeds / Video Feeds
Copyright ©1994-2008 SYS-CON Publications, Inc. All Rights Reserved. All marks are trademarks of SYS-CON Media.
Reproduction in whole or in part in any form or medium without express written permission of SYS-CON Publications, Inc. is prohibited.
 
close this window