UP.SDK Getting Started Guide

[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Introduction
Section 8 out of 26 total sections , Section 2 out of 4 sections in this chapter


The UP.Link platform

The UP.Link platform, shown in Figure 1-1 below, provides subscribers with secure, wireless access to a wide array of Internet and other network services using data-capable wireless phones or personal digital assistants (PDAs). For the purposes of this documentation, these specially-enabled handheld devices are called UP.Phones.

FIGURE  1-1.     The UP.Link platform

Using an UP.Phone is much like using a conventional Web browser. The user presses keys to navigate and request URLs. Unlike standard browsers which use the Hypertext Markup Language (HTML) to display information on a computer screen, UP.Phones use the Wireless Markup Language (WML), an open language developed by the Wireless Application Protocol (WAP) Forum1 to accommodate small handheld devices. Like HTML, WML is tag-based and supports text and image presentation, data input, and forms.

The UP.Phone uses the data capabilities of conventional wireless networks to send user requests to the UP.Link server. The UP.Link server converts these requests into Hypertext Transport Protocol (HTTP) requests and forwards them over the Internet. When the target service responds, the UP.Link server relays that information back to the UP.Phone.

FIGURE  1-2.     Overview of UP.Phone transaction

The UP.Link server is the core of the UP.Link platform. Its ability to serve as an HTTP proxy for UP.Phones lets subscribers access any site on the World Wide Web. Some information providers also offer WML services that use WML to take advantage of the UP.Phone interface. These services can also initiate communication by "pushing" information to the UP.Link server, which, in turn, relays it to an UP.Phone. This process is called notification.

In addition to HTML translation, the UP.Link server provides a number of other services. It acts as an information gatekeeper by maintaining a database of UP.Phones and their access privileges. It provides optional fax services that let UP.Phone users fax Web site content (including text, Microsoft Word, and Postscript files) to a local fax machine. It also provides configuration parameters that allow administrators to monitor or log transactions.

The final component of the UP.Link platform is the UP.AppsTM suite of WML services. These packages are optional and consist of the following:



UP.Phone features

Although UP.Phone user interfaces vary, all UP.Phones have the following features:



The WML language

WML is a markup language based on Extensible Markup Language (XML). XML, like HTML, is a Standardized Generalized Markup Language (SGML) variant. The WAP Forum provides a formal Document Type Definition (DTD) for WML at:

The WML language defines elements and attributes that let you specify the user interface components, called cards, that users see on their UP.Phones. Just as a Web browser can navigate from one page to another, the UP.Browser can navigate from one card to another.

A card can specify multiple user actions by including one or more of the following:

The smallest unit of WML you can send to an UP.Phone is a deck--one or more cards that a user is likely to access together. When an UP.Phone receives a WML deck, it displays the content defined in the first card and allows the user to respond. Depending on the card definition, the user can respond by entering text or choosing an option. UP.Phones with larger displays typically present each card as a single screen. Some smaller devices present each card as a collection of screens.


Example

The following WML statements define a simple deck. The deck contains a single card that displays a line of text:

1    <?xml version="1.1"?>
2    <!DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
3        "http://www.wapforum.org/DTD/wml.xml">
4    <wml>
5        <card>
6          <p>
7            Hello, Unwired World!
8          </p>
9        </card>
10    </wml>

Loading this deck displays a screen similar to that shown in Figure 1-3.

FIGURE  1-3.     A simple WML deck



WML services

WML services are Web applications that return WML and other content in response to HTTP requests. While static WML decks can comprise a WML service, generating WML content dynamically usually provides more meaningful information for users (for example, securities trading, order tracking, or traffic reporting systems).

Like conventional Web applications, WML services can generate screen content dynamically by using CGI (Common Gateway Interface) scripts or Web server APIs to query databases or other external data sources.

WML services can support both push and pull transactions--


[Cover] [Previous Section] [Next Section] [Index]


1 The WAP Forum is a wireless industry organization dedicated to promoting open wireless communication standards. For information on WAP, including specifications for WAP protocols, see http://www.wapforum.org.

Copyright © 1999, Phone.com Inc. All rights reserved.
Please send comments and questions to doc-comments@corp.phone.com.