Be or not to be WML?

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

23 replies · 1,335 views · started 16 years ago · 1 min read

TL;DR · summary of 23 replies
  • WML will likely remain relevant for a short period due to high internet connection costs.
  • The consensus is that WML's relevance will diminish as more phones support XHTML, which is easier and more widely supported.
  • Validating sites is important, but the impact on traffic differences between WML and XHTML is negligible.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

13 participants
GumSlone Administrator Principal · 1,690 posts #21

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

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

drahmad Developer · 142 posts #22

Its dead

Mars wrote: What do you think how long WML will live?

i think its already dead, who use it still?

Dr. Ahmad

Cheapest Mobile Advertising on the planet earth Growing Madly Now http://www.hitcross.com

Mars Junior · 34 posts #23

drahmad wrote: i think its already dead, who use it still?

and my phone does not support wml

pmbguy Senior · 344 posts #24

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...

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close