Page 130 - DCAP512_WAP_AND_WML
P. 130
WAP & WML
Notes of drag-and-drop UI creation), browsers, and WML/WMLScript compilers. The Nokia toolkit
currently runs only on Windows NT 4.0 but note that the Nokia WAP Toolkit also requires a
Java 2 runtime. You will want to make a visit to Sun’s Java Web site to download either the Java
2 SDK or the Java 2 Runtime Environment (JRE) before evaluating the WAP Toolkit product.
After installation, the WAP Toolkit Program Group (under Windows) will contain shortcuts to
the toolkit Integrated Development Environment (IDE) as well as excellent documentation on
WAP, WML, WMLScript, and the toolkit itself. The toolkit application itself supports the creation,
modification, and testing of WML/WMLScript code within one application.
The user can toggle between loading the WAP applications through HTTP or via a WAP gateway.
Nokia also sells a separate Java Servlet-based WAP Server product. This Server incorporates the
application server and WAP gateway functionality into one product. In all, the Nokia WAP
products appear to be well-thought out and functional and is superior, from a user interface
standpoint, to the Ericsson WapIDE product.
9.4.1 Selection on the Phone.com
The Phone.com UP.SDK product (available for Windows 95/98/NT and Solaris) differs a bit
from the Nokia and Ericsson product in that no graphical IDE is provided with the product.
Instead of focusing on providing an integrated environment for editing and testing WML/
WMLScript code, UP.SDK focuses much more heavily on providing a set of reusable code libraries
for use with languages such as WML, Perl, C, C++, and Visual Basic.
Notes As Phone.com is the manufacturer of the leading WAP microbrowser, naturally the
UP.SDK comes with a WAP browser known as the UP.Simulator. Note that the Simulator
is currently only available for the Windows platform.
You will need a live Internet connection because the simulator actually dynamically connects to
the Phone.com developer Web site. It does this in order to download samples and access live
WAP applications on the Web. We definitely recommend checking this product out because it
will give you a good feel for how WAP can be used (I was able to check my local weather and
favorite stock quotes in a manner of seconds using the Up.Simulator). The UP.SDK also includes
Perl and C library functions for generating WML and handling HTTP requests as well as C++
(Solaris) and COM (Windows) objects for notification, digest, and fax handling. The UP.SDK also
includes tools for requesting and installing SSL certificates for security purposes. Besides
providing the standard WAP functionality, Phone.com extends WAP’s capabilities through fax
and notification support. The UP.LINK server includes a Fax Manager product which allows
handheld users to fax information directly from their WAP browser! Postscript, ASCII text,
Microsoft Word, RTF, and Adobe Acrobat document types are accepted as fax or fax response
formats. Asynchronous notifications can also be pushed to handheld clients via the Phone.com
Notification API. This API allows the control of alerts, document cache, and decks on the client.
Fieldset
A WML card, can be set up to display the fieldset function of WML:
<?xml version=”1.0"?>
<!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN”
“http://www.wapforum.org/DTD/wml_1.1.xml”>
124 LOVELY PROFESSIONAL UNIVERSITY