The Broad Spectrum of Mobile Device Capabilities

October 20th, 2009 by jcarouth
No Gravatar

As Erick mentioned, we are diligently working on a solution that is friendly to the entire spectrum of mobile devices. The difficulty in developing web sites and applications targeted at mobile devices is that each device has its own preferences: which markup it can render and which technologies it supports. These capabilities vary from support for JavaScript to support for bold text. JavaScript is obviously on the cutting edge for mobile browsers, whereas bold text is something developers and designers take for granted.

To help mitigate the differences, we spent time researching how others were dealing with this problem. We eventually found ourselves on the homepage of the Wireless Abstraction Library (WALL) for PHP. After some enjoyable integration work (that’s developer-speak for “difficult hacking”), we have a functional integration between the WALL4PHP library and the Zend Framework-powered back end of Texas A&M’s mobile site.

I’ll save the intricate details of how the libraries work together for another day, but I wanted to talk about how this benefits you. You are most likely intimately familiar with what your mobile device does well, and where it can improve on your experience with websites. However, because each device is designed for a particular subset of one of the popular markup languages for mobile devices—WML (WAP 1.0), cHTML, or XHTML MP (WAP 2.0)—most websites are not capable of rendering in your device’s native markup language, if you will. This is why you have a (possibly) growing list of web sites you refuse to visit from your mobile device.

It would not be prohibitively difficult to develop views for each of the three markup languages, except each device is permitted to support part of the full markup language specification, or the entire language. Giving markup to the device that it does not understand would land us right back where we started: a web site that is not properly rendered on your device.

Using markup elements defined by the WALL specification, it becomes a simple exercise to translate into the appropriate markup for a given device based on its capabilities. The WALL parsing library uses what is known as the Wireless Universal Resource File (WURFL)—a large XML database that contains information about device capabilities—to determine the proper markup for a device based on the device’s user agent. The end result is that a device that supports PNG image files will receive PNGs; a device that supports bold tags as <b> elements will receive them and <strong> elements for XHTML MP supporting devices; so on and so forth.

As webmasters, we hope that this technology will be able to help us provide a most enjoyable and useful mobile browsing experience to you. We really appreciate your feedback on what a mobile application can do for you. Keep the information coming.

Share and Enjoy:
  • Print
  • email
  • Digg
  • del.icio.us
  • Facebook
  • Twitter
  • Mixx
  • Google Bookmarks
  • FriendFeed
  • Sphinn
Tuesday, October 20th, 2009 Mobile Web

No comments yet.

Leave a comment

Search

 

Categories

Archives