In my presentation at the XML 2006 conference in Boston I tried to show that AJAX - as a technology in part based on XML - is a useful and promising tool to create web applications on mobile devices.
To emphasize this, I updated our event finder application that we had used on this year’s Games Convention in Leipzig, Germany. The application basically is a website for mobile phones that shows the currently running events of a trade show or conference. In the updated version for the XML 2006 conference I added some AJAX stuff to show and test it’s usefulness:
Below the details of the event users can leave comments, which are also added to the list using XHR.
Summarized, users load a list of events once and then load additional information to some events and post information to some others - always only loading the necessary parts of the page.
One main point in my presentation was that cross-platform Mobile AJAX really is possible, because already many mobile web browsers support the XMLHttpRequest. For those that do not support it, the application needs to provide fall-backs, so it works without XHR as well. The event finder demo accordingly works on different mobile browsers: Pocket IE (IE Mobile), Opera Mobile (not Mini) and even Minimo make use of the AJAX capabilities, while other browsers, such as Opera Mini still work and just reload the whole page everytime you click somewhere.
Speaking of support it became pretty clear that the phone at least needs to support XHTML ad CSS (WAP 2.0) correctly in order to use the application (which is XHTML-MP). A short test on a Nokia N80 quickly assured me that this phone’s integrated browser has it’s difficulties with the table-less CSS layout.
If you want, check out the mobile event finder application for the XML 2006 conference right here (best using your phone) - and tell me about it! Does XHR work on your device? Does the page show correctly (compare to mozilla output)? etc…
Thanks to Dave for putting the link to the application on the XML 2006 conference website!