spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column61


Introducing WML and WMLScript

Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

In this column we introduce a special dialect of JavaScript called WMLScript. The WMLScript language is part of the industry-wide standard for wireless applications called Wireless Application Protocol (WAP). The WAP includes one more language besides the WMLScript, the Wireless Macro Language (WML), which is the equivalent of HTML for wireless applications. Cellular phones and other user devices are often referred to as "user agents". The user agents in the cellular world behave like client PCs in the internet world. They interpret and understand both WML and WMLScript, similarly to how your browser interprets HTML and JavaScript. Your average cellular phone does, or will in the near future, run JavaScript!

In this column we introduce you the world of WML and WMLScript. We'll show you how to compile and run WML decks on a simulated Nokia cellular phone. To understand better WMLScript, you need to know how to program in WML. We'll teach you the basics and structure of WML, as well as some fundamentals of WMLScript. We'll educate you how to call WMLScript scripts from WML decks. We'll dedicate our next column to a more thorough coverage of WMLScript's syntax and semantics.

In this column you will learn:

We also include the listings of Nokia's example which includes a WML deck and a WMLScript script. Their zipped versions are also provided.

Next: How to setup the Nokia WAP Toolkit

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark


Created: May 8, 2000
Revised: May 8, 2000

URL: http://www.webreference.com/js/column61/index.html