0% found this document useful (0 votes)
323 views21 pages

Overview of Wireless Markup Language

WML (Wireless Markup Language) is a markup language used to make content accessible on mobile devices. It allows mobile phones to communicate with a provider's gateway over WAP (Wireless Application Protocol) to retrieve content from servers using HTTP. WML organizes content into decks and cards, with each screen on a phone represented as a card. It uses a tag-based syntax similar to XML and includes elements for text, images, links and navigation between cards. WML is designed for the low bandwidth, small screens and limited input of mobile devices.

Uploaded by

Loveleen Bhalla
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
323 views21 pages

Overview of Wireless Markup Language

WML (Wireless Markup Language) is a markup language used to make content accessible on mobile devices. It allows mobile phones to communicate with a provider's gateway over WAP (Wireless Application Protocol) to retrieve content from servers using HTTP. WML organizes content into decks and cards, with each screen on a phone represented as a card. It uses a tag-based syntax similar to XML and includes elements for text, images, links and navigation between cards. WML is designed for the low bandwidth, small screens and limited input of mobile devices.

Uploaded by

Loveleen Bhalla
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

WML Wireless Markup Language

Presented by: Richa Saxena Roll no 1706120

What is WML?
Markup Language built specifically for communicating across WAP-based networks. An specific instance of XML (Extensible Markup Language).

WAP (Wireless Application Protocol)

It lets your mobile phone to communicate with your providers gateway.

The Gateway in turn retrieves content from servers using HTTP.

Mobile World Entering the Web world

Magic Lounge is entered via heterogeneous devices

access by PC

virtual meeting space

access by PDA

access by mobile phone

WAP Browser interface:


Users navigate WAP sites using three tools

Navigation arrows Left and right soft buttons Keypad

WAP medium properties: Site are designed for low Bandwidth condition. Use minimal Graphics Sites are broken into multiple cards. Sites must be designed for easy bookmarking .

Sites tend to be menu driven rather than text-entry driven.

Deck and Card Organization

Card- Each screen displayed on phone is called a card Cards are saved in a group called Deck. Deck is stored in a .wml file.

What happens when user selects a link?

A new card in the current deck is brought to the foreground A new deck is loaded and one of its cards is displayed

Syntax used in WML script .

WMLScript is case-sensitive. WMLScript is a weakly typed language . Variety of operators that support assignment, arithmetic, logical, string, comparison, and array operations. Functions can be created and used in WMLScript. String - contains a set of functions for performing various string operations

More WML syntax

Comments can either be single-line (beginning with //) or multi-line (bracketed by /* and */). WMLScript supports a number of control statements

WML Example:
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "[Link] <wml> <card id="main" title="An Example"> <p>Hello World </p> </card> </wml>

WML follows XML rules

Tags must be nested <b><i>Hello</b></i> (invalid) <b><i>Hello</i></b> (valid) Tags must be closed <p> <br > </p> (invalid) <p> <br> </br> </p> (valid) Tags are case sensitive and must be written in all lowercase

All attribute values must be in quotes <p align=center> (invalid) <p align="center"> (valid)

Multiple cards & hyperlinks


<wml> <card id="home" title="SMPU"> <p align="center"> <big>SMPU</big><br /> <small><i>Society of Mobile Phone Users</i></small><br /> </p> <p> <a href="#about">About SMPU</a><br /> <a href="[Link]">Become a Member</a><br /> </p> </card> <card id="about" title="About SMPU"> <p>SMPU was founded by a group of devoted mobile phone users.</p> <p><a href="#home">SMPU Home</a></p> </card> </wml>

Anchoring
<wml> <card title=Anchor Tag> <p> <anchor> Next Page<go href =[Link]> </anchor> </p> </card> </wml>

WML Tasks

GO Task

<wml> <card> <p> <anchor> Go to Test <go href =[Link]> </anchor> </p> </card> </wml>

Prev Task <wml> <card> <p> <anchor> Previous Page <prev/> </anchor> </p> </card> </wml>

No operation Element <noop> says that nothing should be done Refresh <refresh> refreshes the screen Image Element <img> Define an image

Comparison of HTML with WML

WML is highly structured and very particular about syntax while HTML is not. WML is case sensitive in contrast to HTML Many tags have required attributes while in HTML we use only those attributes which we need WML pages are organized into deck and card structure in contrast to HTML

WML has to cope up with inherent limitation in environment.


Display Size-smaller screen size and resolution. Input Device-input is usually accomplished by combination of numeric keypad and some function keys Computational resources-Low power CPU and small memory size

Narrowband network connectivity.

Conclusion

With growing number of mobile users WAP network is bound to grow. As limiting factor WAP cannot be employed for huge threaded message boards or slideshows. WAP is best suited for small, concrete pieces of data; stock quotes, addresses, instant messaging, and such.

THANKS

You might also like