WAP 2.0 Development 0789726025, 9780789726025

This book is a comprehensive tutorial that is logically organized, up-to-date, and includes coverage of the most popular

216 34 3MB

English Pages 379 [398] Year 2002

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Cover......Page 1
Contents......Page 5
Introduction......Page 18
Part I: Introduction to WAP Development......Page 26
1 What Is WAP Development?......Page 28
A Wireless Device Primer......Page 29
What Exactly Is WAP, Anyway?......Page 31
What Are Wireless Protocols?......Page 34
WAP Application Design Practices......Page 36
Business Perspectives......Page 37
Summary......Page 38
2 Tools of the Trade......Page 40
The Text Editors......Page 41
Commercial Software Development Tools......Page 49
Getting Ready to Develop......Page 53
Setting Up the Web Server......Page 54
Summary......Page 57
3 The Wireless Markup Language (WML)......Page 60
What Is a Markup Language?......Page 61
WML Terminology......Page 62
WML Syntax......Page 63
WAP Design Considerations......Page 65
Programming Considerations......Page 66
Creating the WML Deck......Page 70
Summary......Page 77
4 Text Formatting for WML......Page 80
Creating Paragraphs with the P Element......Page 81
Incorporating Line Breaks with the BR Element......Page 85
Defining Styles for Your Text......Page 86
Displaying Named Character Entities......Page 87
Creating Tables......Page 90
Summary......Page 93
5 Navigation Using WML......Page 96
Defining Links......Page 97
Assigning Events to Device Buttons......Page 100
The WML Task Elements......Page 107
Summary......Page 108
Part II: Static WAP Development......Page 112
6 User Input with Variables......Page 114
Free-Form Input with the INPUT Element......Page 115
What Are Variables?......Page 123
Allowing User Input Through a List......Page 125
Summary......Page 127
7 Working with Images......Page 130
Developmental Limitations of WAP Devices......Page 131
The Wireless Bitmap Format......Page 132
Image Conversion Options......Page 133
The IMG Element......Page 136
Summary......Page 143
8 Incorporating Timers into WAP Applications......Page 146
The TIMER Element......Page 147
Animation Using the TIMER Element......Page 155
Summary......Page 158
Part III: Advanced WAP Development......Page 164
9 Introduction to WMLScript......Page 166
What Is WMLScript?......Page 167
How WMLScript Works......Page 168
Familiarizing Yourself with WMLScript Syntax......Page 173
Using Statements Within Your WMLScript......Page 178
Summary......Page 184
10 Variables and Functions......Page 186
Dissecting a WAP Application......Page 187
WMLScript Data......Page 189
Using Variables in WMLScript......Page 192
Using Functions in WMLScript......Page 197
A Word on Pragmas......Page 202
Summary......Page 204
11 Operators in WMLScript......Page 206
Assigning Values with the Assignment Operators......Page 207
Creating Mathematical Functionality with the Arithmetic Operators......Page 210
Creating Conditional Functionality with Comparison Operators......Page 216
Manipulating Strings with the WMLScript String Operators......Page 219
Summary......Page 222
12 Working with WMLScript Libraries......Page 226
What Are WMLScript Libraries?......Page 227
The Syntax of Built-In Functions......Page 228
The Lang Library......Page 229
The Float Library......Page 232
The String Library......Page 237
The URL Library......Page 243
The WMLBrowser Library......Page 245
The Dialogs Library......Page 247
Summary......Page 248
Part IV: Dynamic WAP Development......Page 254
13 WAP Development with ASP......Page 256
Where Did Server-Side Technologies Come From?......Page 257
Configuring Your Test Environment......Page 260
Writing Your First ASP......Page 266
Summary......Page 269
14 An Introduction to DBMS Development......Page 272
Databases......Page 273
Retrieving Information from a Database......Page 278
An Introduction to the Structured Query Language......Page 279
Summary......Page 287
15 Accessing Database Content from WAP Devices......Page 290
Using an ODBC DSN to Connect to Your Database......Page 291
Retrieving Information from a WAP Application......Page 294
Where to Go from Here…......Page 307
Part V: Reference......Page 316
A: WML Reference......Page 318
WML Quick Reference......Page 319
WML Detail Reference......Page 323
Text Elements......Page 328
Tables......Page 331
Hypertext Links......Page 333
Events......Page 334
Tasks......Page 336
Posting Data......Page 337
User Input......Page 338
Images......Page 341
Timers......Page 342
B: WMLScript Reference......Page 346
WMLScript Syntax (Chapter 9)......Page 347
Data Types (Chapter 10)......Page 350
Statements (Chapter 9)......Page 351
Functions, Variables, and Pragmas (Chapter 10)......Page 352
Operators (Chapter 11)......Page 354
C: WMLScript Libraries......Page 362
Summary of WMLScript Libraries and Their Functions......Page 363
Detail of WMLScript Libraries and Their Functions......Page 367
D: Wireless Development Tools......Page 376
Setting Up Your Development Environment......Page 377
Wireless Development Resources......Page 382
Wireless News......Page 383
Wireless Services......Page 384
A......Page 386
C......Page 387
D......Page 388
I......Page 389
M......Page 390
P......Page 391
S......Page 392
V......Page 393
W - Z......Page 394
Recommend Papers

WAP 2.0 Development
 0789726025, 9780789726025

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

WAP 2.0