shad0w wrote:
WML will live at least 5 more years..
WML pages are loading faster on mobile phones than html/xhtml...
why do you think so?
if you use simpe tags without styles etc the html/xhtml page will be smaller or of the same size like wml page.
so it doesnt make any sense to use wml.
take a look,
wml:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="main" title="Title">
<p>
<img src="images/logo.gif" alt=""/>
<br/>
Your text here
</p>
</card>
</wml>
xhtml:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title</title>
</head>
<body>
<p>
<img src="images/logo.gif" alt=""/>
<br/>
Your text here
</p>
</body>
</html>
wml: 234 bytes
html: 302 bytes only because of a bit larger header
ok, well, about the wml option being any different...
from my experience, the biggest difference in the speed a site loads is the images...
ie: if you have a 100KB+ animated logo, xhtml, or wml gonna crawl like hell cause it's got to load the logo before the rest of the page
(praise opera for sorting this out!!!)
and in my case connection speed.
(i've had wml pages time out too!)
Like sure there's a small filesize difference in code etc, but nothing major enough to jump for joy over...
then next, you get certain features that you just can't do with wml, like javascript n css, etc...
like i've been asked to port my site to wml... i'm like wtf? i coded it in xhtml cause as wml...
(no uploader, no javascript stuff, etc...) ie: most stuff i coded is rendered useless...
my solution: OPERA MINI!!! Works with xhtml n strips size down!!!
ie: wml pages in phone browser work out bigger than xhtml pages in opera normally cause of images...