Mobile Enabled Web-Apps
By ajitsabnis on Sep 08, 2006
HistoryWML, cHTML vs XHTML
http://www.wapforum.org/new/index.htm Last update seems to be Jan 2002.
Deck of cards logical model for content delivery - clumsy!
WML is dead (almost) or is dying!
cHTML is NTT-DoCoMo iMode wireless device standard. Not a W3C standard. No support for CSS2. Not XML-like, i.e. may not be well-formed as is HTML, i.e. not machine/programming friendly.
XHTML Basic is way to go for MA-enabled portal
XHTML, CSS2 were W3C answers to marry Internet with mobile devices (along with fixed devices like PC)
The basic markup language for the WAE in WAP 2.0, namely XHTMLMP, extends the Basic profile of XHTML as defined by the W3C
WAP Gateway or WAP Proxy is no longer required (or mandatory) for communication between mobile device and server is HTTP/1.1 based. Application Server serves XHTML with CSS. WAP Proxy now serves as "push initiator" to push content updates to mobile device. Push and Pull models both are still supported this way. WAP Gateway exists just for backward compatibility reasons to support both WAP 1.0 and WAP 2.0 devices. WAP 2.0 devices can talk HTTP/1.1 straightway.
Talks about using CSS 2 with MA-enabled web-apps (btw portal is one such).
Mentions possibility of using XSLT to transform XHTML to device specific markup.
Again this is 2002 document!
Enabling MA to (Portal) Web-AppGiven above the only things required to enable Mobile Access (MA) to a web-app are:
- How to choose a particular CSS (or particular XSLT transformer) for identified device type?
- How to identify device type for a request?
JSR 188 is referred by W3C!Â Sun Java System Portal Server is referred on W3C site. It's really prudent for Sun.
W3C Working group on "device independence".
W3C Recommendation; Luu Tran was member!!
I guess this is just a JSR 188 adoption by W3C. [Confirm?]
The first question is answered at
Any web-app (portal is one) can follow such approach to detect client device, and do mapping to a "theme" (CSS, JS, Images collection) accessible to PS.
Couple of links in that direction...
http://blogs.pathf.com/agileajax/2006/08/mobile_ajax_and.html - Pretty recent blog, opines about J2ME too
Is dojo (Sun ARC recommendation I think) usable in mobile world? Must be. I couldn't find much information about this though. Do you know?