| By Ajit Jaokar | Article Rating: |
|
| October 31, 2007 02:15 PM EDT | Reads: |
20,146 |
Q: How can you develop for and test on all those browsers?
A.
Much in the same way you develop for the Web today: use Web standards,
then find a good reference browser (Opera Mobile, Nokia s60, Internet
Explorer Mobile, etc.) and use it constantly throughout development. To
maximize compatibility, plan to build a normal mobile Website (without
AJAX) and progressively enhance it with AJAX as required. Test the site
or application on basic phones (WAP 2.0, XHTML-MP - no DOM/XHR) to be
sure it works for existing non- AJAX capable browsers.
Q: What are the (current) hurdles in implementing and running Mobile AJAX applications?
A.
The biggest obstacle is the same as on the desktop: browser support.
With more browsers than on the desktop and bigger differences in their
support for Web standards and technologies required by AJAX, this poses
a real problem and has kept many developers from going any further than
initial tests.
Another technical problem is HTTP latency. Loading only parts of the
Website in a mobile Web application can take as long as loading the
whole page (still traffic and rendering time in the browser will be
smaller). This varies from one connection type to the other and can
also be influenced by the carrier's implementation of their proxy.
Also power consumption and battery drainage of AJAX applications can be an issue. If an AJAX application constantly connects to a Web resource, e.g., to check for new data, this will not only drain the phone's battery heavily, but may also incur expensive data fees for some users. So AJAX functionality has to be applied in a responsible and meaningful way, especially in applications running on mobile devices.
Mobile AJAX and Mobile Widgets, while showing a lot of promise, are still currently geared toward simple tasks and applications.
Q: What are AHAH / AJAH?
A. The desktop computer
has much more memory and CPU power as well as different means to input
data into the application. Mobile AJAX has to work on resource
constrained devices and browsers, so typically most desktop AJAX
libraries cannot be used on mobile browsers. Instead of sending and
manipulating raw XML on constrained devices, it makes a lot of sense to
leave the manipulation of XML to the server and send only XHTML to the
client.
This technique, while very similar to AJAX is often called AHAH - Asynchronous HTML, and HTTP - or AJAH - (HTML instead of XML). Fundamentally both methods do not transport XML, but pre-rendered HTML or XHTML, and avoid having to process XML data on the client, which can be a very battery- and CPU-intensive operation.
Q: Is there any standardization initiative for AJAX?
A.
While not a standards body, the OpenAjax Alliance is bringing different
players in the industry together (and this also includes Mobile AJAX).
Feedback Requests and Enhancements
We
welcome feedback and enhancements requests. If your company is doing
some interesting work in this space, we can consider adding it to this
FAQ. Please contact ajit.jaokar at futuretext.com for any suggestions.
Acknowledgments
We would like to
acknowledge the work of the following people/groups: Eli Dickinson,
editor, FierceDeveloper, C Enrique Ortiz, Daniel K. Appelquist, and The
OpenAjax Alliance
Published October 31, 2007 Reads 20,146
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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 10/11/07 07:09:29 PM EDT | |||
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. |
||||
![]() |
Gautam 10/01/07 07:52:43 AM EDT | |||
Looks good, i would say an excellent compilation. |
||||
- Kindle 2 vs Nook
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Windows 7 – Microsoft’s First Step to the Cloud
- Ulitzer Provides a Powerful Social Journalism Platform
- Jill Tummler Singer, Deputy CIO of CIA, Keynotes at GovIT Expo
- Open Source Mobile Cloud Sync and Push Email
- Kindle 2 vs Nook
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- US Post Office Hops a Ride on NetSuite’s Cloud
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Building a Drag-and-Drop Shopping Cart with AJAX
- What Is AJAX?
- Google Maps! AJAX-Style Web Development Using ASP.NET
- Flashback to January 2006: Exclusive SYS-CON.TV Interviews on "OpenAjax Alliance" Announcement
- AJAXWorld Conference & Expo to Take Place October 2-4, 2006, at the Santa Clara Convention Center, California
- AJAX Sponsor Webcasts Are Now Available at AJAXWorld Website
- How and Why AJAX, Not Java, Became the Favored Technology for Rich Internet Applications
- "Real-World AJAX" One-Day Seminar Arrives in Silicon Valley
- AJAXWorld University Announces AJAX Developer Bootcamp
- AJAX Support In JadeLiquid WebRenderer v3.1
- Where Are RIA Technologies Headed in 2008?
- Struts Validations Framework Using AJAX






































