You are previewing WAP Development with WML and WMLScript.
O'Reilly logo
WAP Development with WML and WMLScript

Book Description

This book introduces WML and WAP as wireless application development tools and teaches the reader how to develop WML applications. The reader will learn about mainstream topics such as security over wireless networks, working with image files for handheld displays, and interacting with wireless users. Readers will also learn about some of the more obscure items that could be needed in their use of WML/WAP, such as dealing with a variety of micro-browser hardware and integrating WAP/WML into standard Web server technologies.

Table of Contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. Getting Started
    1. Understanding WAP
      1. Understanding Servers and Gateways
      2. WAP Devices
      3. WAP and WML
      4. Summary
    2. Introducing WML
      1. What Is WML?
      2. Getting Started with WML
      3. Configuring Your Web Server
      4. Phones and Emulators
      5. Understanding WML Usage
      6. WML Overview
      7. Summary
    3. Writing for WAP in WML
      1. Creating Your First Card
      2. Building Decks of Cards
      3. Using Basic Navigation
      4. Summary
  7. Creating WAP Applications
    1. Card Navigation
      1. Using URLs
      2. Tags Used in Navigation: <a>, <anchor>, and <go>
      3. Using Phone Buttons and Function Keys
      4. Navigational History
      5. Summary
    2. Managing Output
      1. Basic Card Output
      2. Layout
      3. Rendering
      4. Summary
    3. Using Images
      1. Using Images and Icons
      2. Image Restrictions
      3. Using localsrc Images
      4. Using Images Efficiently
      5. Summary
    4. Working with User Input
      1. Using Variables
      2. Free-form Input with <input>
      3. Restricted Input with <select>
      4. Under-implemented Input Behavior
      5. Delivering Data to Applications
      6. Summary
  8. Advanced WAP Development
    1. Email Integration
      1. Email and WAP
      2. Integrating Email into Your Applications
      3. Summary
    2. Using WMLScript
      1. WMLScript Versus JavaScript
      2. Using WMLScript Functions
      3. Using WMLScript Libraries
      4. Sample Applications
      5. Summary
    3. Using Timers
      1. The Timer Element
      2. Defining a Timer's Action
      3. Practical Examples of Timers
      4. Summary
    4. Receiving Notifications
      1. Understanding Basic Notifications
      2. The WAP Forum Push Access Protocol
      3. The Phone.com Notification Protocol
      4. Summary
    5. Securing Applications
      1. Security Basics
      2. WAP Security Architecture
      3. Session Management
      4. WML for Secure Applications
      5. Summary
    6. Writing for HTML and WML
      1. Why Two Languages?
      2. How to Write for Both Languages
      3. Database-Driven Applications
      4. Other Languages
      5. Summary
    7. Best Practices
      1. Design Philosophies
      2. Creating a Usable WAP Application
      3. Differences in WML Implementations
      4. Differentiating Based on USER_AGENT
      5. Summary
  9. Sample Applications
    1. Currency Converter
      1. Currency Converter Design Model
      2. Setting Up the WAP Header
      3. The Home Card
      4. Passing and Storing Rate Information
      5. Displaying the Exchange Results
      6. Processing with WMLScript
      7. Complete Code Listings
      8. Summary
    2. User Directory
      1. User Directory Design Model
      2. Application Walkthrough
      3. Complete Code Listings
      4. Summary
    3. Scheduling
      1. Scheduling Application Design Model
      2. Application Walkthrough
      3. Complete Code Listings
      4. Summary
    4. E-Commerce
      1. E-Commerce Application Overview
      2. E-Commerce Application Walkthrough
      3. Complete Code Listings
      4. Summary
  10. Appendixes
    1. Wireless Markup Language Reference
      1. Wireless Markup Language Reference
    2. WMLScript Library Reference
      1. Lang Library
      2. Float Library
      3. String Library
      4. URL Library
      5. WMLBrowser Library
      6. Dialogs Library
      7. Debug Library
      8. Console Library
    3. Using Device Emulators
      1. Understanding Emulators
      2. Ericsson WapIDE SDK Browser
      3. Nokia WAP Toolkit
      4. Phone.com's UP.Simulator
    4. Writing WML in Popular Development Tools
      1. Adobe GoLive
      2. Allaire HomeSite (and ColdFusion Studio)
      3. Inetis DotWAP
      4. Macromedia Dreamweaver
      5. WAPTop EasyPad WAPtor
    5. Writing WML in Popular Development Languages
      1. Allaire ColdFusion
      2. Microsoft ASP
      3. Perl
      4. PHP
      5. Sun JSP (Java Server Pages)
    6. Local Icons
    7. CD-ROM Contents
      1. Device Emulators
      2. WAP Servers
      3. Editors and Layout Tools
  11. Index