18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Wireless Technologies 351<br />

a somewhat limited development environment, particularly for more<br />

media-rich devices such as Microsoft's PocketPC and Palms IIIc.<br />

12.3.2. Wireless Markup Language (WML)<br />

Phone.com's HDML (Handheld Device Markup Language) served as<br />

the basis for Wireless Markup Language (WML). WML is a descendant<br />

of Standardized General Markup Language (SGML) and XML. It is<br />

optimized for low bandwidth and is specified by the WAP Forum.<br />

WML looks a lot like Hypertext Markup Language (HTML), but uses a<br />

deck and card metaphor. It contains variables that can be used in all<br />

cards in the same deck.<br />

WML differentiates from HTML in the following ways: it is case<br />

sensitive, the standalone tags end with a '/', form tags are not needed<br />

and select lists do not look the same. Tables are not as dynamic as with<br />

HTML and WML has strong semantics: no errors are allowed. The<br />

parts of a WML 'page' consist of a deck and one or more cards. The<br />

<strong>to</strong>p-most card is the first <strong>to</strong> be displayed. An action can be taken in<br />

response <strong>to</strong> other events, such as timer timeouts. A card can also set<br />

variables that can be used by other cards or WMLScripts. Variables set<br />

in one card can be used in others, as long as the memory is not erased.<br />

WML building blocks are cards (e.g., ), paragraph items<br />

(e.g., , ) text formatting (e.g., , ), tables and<br />

images (e.g., ), select and anchor (e.g., ), input field and set variables (e.g., ), triggers (e.g., ).<br />

Since WAP applications are XML-based programs, they must start<br />

out with a valid XML prologue containing the XML version and a<br />

pointer <strong>to</strong> the XML definition of the language being used. Examples of<br />

code follow:<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!