Page 71 - DCAP512_WAP_AND_WML
P. 71
Unit 5: Understanding WAP in WML
Data Source is the data repository, which could flow through other servers and reside Notes
within one or more databases.
The WML document is an XML document. The DOCTYPE is defined to be wml, and the
DTD is accessed at www.wapforum.org/DTD/wml_1.1.xml.The document content is inside
the <wml>...</wml> tags. Each card in the document is inside <card>...</card> tags, and
actual paragraphs are inside <p>...</p> tags. Each card element has an id and a title.
WML pages are often called “decks”. A deck contains a set of cards. A card element can
contain text, markup, links, input-fields, tasks, images and more. Cards can be related to
each other with links.
Card is a single unit of WML navigation, which often directs to one screen of viewed
content but could work on a step that is not displayed.
Deck is analogous to an HTML page in that it is the unit of content transmission, Decks are
to WML identical as documents are to HTML, WML decks are XML documents, Decks send
requests for services and/or to be carried out on servers, Decks comprises of component
known as “cards”, Each deck must have at least one card.
The device browser accesses and open a deck and reads the cards within the deck. Navigation
traverses from card within a deck. Once loaded, the deck resides in device’s memory.
Each deck starts with the <wml> tag and ends with the </wml> tag. Within these decks,
every card starts with the <card> tag and ends with the </card> tag.
Once the deck is loaded, there is no requirement to load additional data. A deck is a self-
contained set of elements or user functions. The user function presumes that the cards,
which are read, are related to the deck in memory. This is beneficial where there are
suspend and resume modes.
WML decks are helpful in showing content, providing selections, local area checking, easy
scripting tasks and routing to other decks and Servlets.
5.7 Keywords
Card: It is a single unit of WML navigation, which often directs to one screen of viewed content
but could work on a step that is not displayed. A card element can contain text, markup, links,
input-fields, tasks, images and more. Cards can be related to each other with links.
Data Source: This is the data repository, which could flow through other servers and reside
within one or more databases.
Decks: WML pages are often called “decks”. A deck contains a set of cards.
WAP Client: End user for wireless services. The user platform includes all necessary applications.
WAP Gateway Server: It performs the critical bridge functions of communicating with the
mobiles device and translating sent-received data to and from Web Servers.
WAP Gateway: Manages two-way communication between a mobile device and the wired
Internet. Translates Web Server output (HTTP) to wireless application protocols (WAP) to send
to mobile service and vice versa.
Web Server: Standard web server, including Web Proxy. An example of this is IBM’s Websphere
Application Server.
WML: WML is Wireless Markup Language which creates web pages for the handheld devices.
LOVELY PROFESSIONAL UNIVERSITY 65