YOUR FEEDBACK
SOA Feature Story: Real-Time SOA Starts with the Messaging Bus!
Gerardo Pardo-Castellote wrote: Regarding the previous comment about "TCP ...


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
TODAY'S TOP SOA & WEBSERVICES LINKS


Mobile AJAX - Frequently Asked Questions
The first Rich FAQ we are presenting is the long overdue Mobile AJAX FAQ

Digg This!

Page 2 of 3   « previous page   next page »

Q: What is the difference between AJAX platforms, frameworks, toolkits and libraries?
A.
AJAX platforms, such as the Opera Platform or NetFront's Embedded Ajax, when installed on the device, make it easy to develop applications and widgets using standard Web technologies, including Ajax.

There is, however, a big difference between platforms on the one hand and frameworks, toolkits, or libraries on the other. While the latter are usually loaded along with the Web application into the browser each time, i.e., in the form of an external JavaScript file, platforms are typically installed once on the device and then loaded as required by the applications run on top of it. For example, Opera Platform widgets require the Opera Platform while Nokia Widgets require the S60 platform.

Q: What existing Mobile AJAX frameworks, toolkits, and libraries should I use?
A.
Currently there are no specific Mobile AJAX frameworks, toolkits, or libraries.

qAll that is required for AJAX on mobile devices is support for:

  • HTML
  • JavaScript
  • XHR - XMLHttpRequest
  • DOM - Document Object Model or at least innerHTML support
One library, specifically aimed at providing an abstraction for AJAX functions for constrained Web browsers, is currently under development by PavingWays. The library called Frost is an open source project and will be released under an MIT license in mid-2007.

Q: Can I use existing frameworks, libraries, and toolkits?
A.
Some existing frameworks, libraries, and toolkits may indeed work on some mobile browsers. Generally however, these libraries require too much memory and implement features that may simply never be used on a mobile device (i.e., drag + drop). With increasing mobile browser capabilities, this will become less of an issue as browser vendors are already aiming to make their next-generation browsers work with these toolkits; however, the overhead is still there. It can be assumed that some of these frameworks will release mobile versions, so it's more a question of when will we begin to see mobile-specific browser support within these libraries and toolkits.

Q: What is the relationship between Mobile AJAX and Mobile Widgets?
A.
In its entirety, AJAX is comprised of XMLHttpRequest + DOM Scripting + XHTML/CSS. Functionally, two things are happening here: data is being fetched asynchronously and the information thus fetched is being rendered on the client through JavaScript.

Most widget engines are using the asynchronous part uniformly but are making their own changes to the rendering (display) part. While this leads to fragmentation of widget technology, the fact still remains that AJAX, i.e., Asynchronous I/O and visual rendering, are the core technologies underpinning widgets.

When it comes to the mobile environment, we are seeing the same phenomenon, i.e., we see Mobile Widgets powered by Mobile AJAX and also some fragmentation. Also, it should be noted that we are seeing the first attempts at standardization of widgets from the HYPERLINK "http://www.w3.org/TR/widgets-reqs/" W3C.

Q: Which browsers support Mobile AJAX?
A.
This is the list of currently known mobile browsers supporting AJAX, which means they feature the XMLHttpRequest or an equivalent ActiveX (as in the case for IE Mobile). Some of these browsers currently exist and are widely used; others are in development and are not yet available.

  • Opera Mobile (>= 8.x, not Opera Mini)
  • IE Mobile (WM 5.0/2003)
  • S60 3rd ed. (WebKit/KHTML core)
  • Minimo (Mozilla based)
  • OpenWave (>=Mercury)
  • NetFront (>=3.4)
  • Safari Mobile (iPhone)
It should be noted that support for the XMLHttpRequest object or ActiveX is usually not enough to fulfill AJAX tasks. The browser needs to support JavaScript to a level that it can manipulate and display the retrieved data via the DOM, although innerHTML support can be enough in many cases. CSS support is also a rather important feature, e.g., to hide some content areas and show others.

There are also other devices than phones that feature Web browsers to look at, for example, gaming consoles, such as the Nintendo DS and Wii or Sony's PSP or PlayStation 3. These devices - partly mobile, partly fixed - feature Web browsers (Opera for Nintendo, NetFront for Sony) that are comparable to those found on mobile devices such as cell phones. Some of these constrained browsers support AJAX (for instance, Opera browsers in Tranzas set top boxes). Another significant similarity is that these devices also feature very constrained input methods, sometimes less than on cell phones, e.g., four buttons and a four-way directional pad on the PSP.

Q: Which enterprise applications employ Mobile AJAX?
A.
SoonR is one of the early pioneers of Mobile AJAX and seems to always be the preferred example. The SoonR application is primarily concerned with access to files on the desktop from a mobile device. It mainly supports Opera Mobile and S60 3rd edition for AJAX functionality, but there also is a basic version for other browsers without AJAX. Enterprise applications offer an opportunity for Mobile AJAX because they provide a rich browser-based experience on a mobile device and, at the same time, are not constrained by the need to access device APIs (for instance pPhone book APIs on a phone).

Q: What is the role of the Apple iPhone with respect to Mobile AJAX?
A.
While this is speculative since enough details of the iPhone are not known, Apple has said that the iPhone will not include Java and may include Flash. It is very likely that the Web browser of the iPhone will support AJAX. If that happens, then widgets could play a major role on the iPhone with Mobile AJAX as one of their enabling technologies. If so, it would help the uptake of Mobile AJAX post launch of the iPhone.

How do applications like mojax or bling software fit in?

Mojax and Bling Software are examples of applications that use Mobile AJAX with Java as middleware. AJAX makes a great presentation layer, but isn't ideally suited for working with device-level APIs (Bluetooth, camera, XML, etc.) where technologies such as J2ME/BREW/C++ are already being used extensively. Thus, it is possible to use the combined strengths of each technology (J2ME + AJAX) to create the best experience possible.

While not leveraging open standards exclusively, these applications can very well make sense and they show that AJAX technology is a major building block in application development - either based on the Web browser or on a Java/C++ application.

In fact, Sun is taking a similar approach with its Java FX technology.



Page 2 of 3   « previous page   next page »

About Ajit Jaokar
Ajit Jaokar is the author of the book 'Mobile Web 2.0' and is also a member of the Web2.0 workgroup. Currently, he plays an advisory role to a number of mobile start-ups in the UK and Scandinavia. He also works with the government and trade missions of a number of countries including South Korea and Ireland. He is a regular speaker at SYS-CON events including AJAXWorld Conference & Expo.

Dennis Riddle wrote: Great article! I have to list one caveat. OperaMini does NOT support AJAX techniques. This is unfortunate as it is the only real browser available to the majority of phones in use today. OperaMini 3 has no XHR support, and OperaMini 4 only supports XHR in synchronous transfer mode, making desktop-like effects that rely on async impossible. After much hands-on research, the only platforms currently supporting AJAX are OperaMobile (available on most S60 phones and Windows Mobile), iPhone's Safari browser, and the Windows Mobile 6 version of IE. Within the next year we can expect to see competition in this space from Firefox, as the Mozilla peeps are pushing hard to develop a fully-features mobile version. Expect to see it sometime after FireFox 3 is released.
read & respond »
Gautam wrote: Looks good, i would say an excellent compilation.
read & respond »
WEB 2.0 LATEST NEWS
Obama May Win by a Landslide: Thomas M. DeFrank
Also in the book, DeFrank writes about Ford's opinion of Bill Clinton's addiction to women. Ford says about Clinton: 'He's sick - he's got an addiction. He needs treatment. He's sick. You know there is treatment for this kind of addiction. A lot of men have gone through the treatment w
Bringing Business Value - Integrating Web 2.0 Tools in the Enterprise
Web 2.0 tools are doing a wonderful job of providing consumers with cool and productive new ways of performing common, simple tasks over the Internet. These tools primarily perform a single task such as allowing consumers to manage their photos, read their favorite newsfeeds, express t
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted to be
The RIA Era: Convergence of Web, Mobile and Desktop Applications is the Next Phase
'While the last decade was focused on the Web, the next phase in the evolution of our industry will be on the convergence of Web, mobile and desktop applications and the ability to extend existing applications with these new technologies for a consistent user experience regardless of h
InteleCom Launches Web 2.0 Viral Communication Tools Through Its Social Network
InteleCom announced that its new Web 2.0 Social Network toksee successfully launched 3 new viral communication tools or widgets for easy copy and placement on websites and blogs. All 3 immediately received top rankings from Widgetbox. The toksee chat or video messaging widget allows to
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