spacer

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

home / experts / javascript / column61


Introducing WML and WMLScript

Developer News
Facebook Wants to Power Web-Wide Apps
OpenSolaris to Support Facebook, OpenSocial
Sun Takes a Shine to Linux in New Web Stack

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


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Simple Comments Release Notes: v.960 · Adding Client Capabilities to Server Controls Using the ASP.NET AJAX Control Toolkit · How to Create an Ajax Autocomplete Text Field: Part 10
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
The NZXT Guardian 921 Gaming Chassis Offers Top Features and a Low Price · Beyond Simple File Sharing: Using Mapped Drives · RedAntenna's Widget and Marketing Helps Artists Sell Online


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

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