spacer

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

home / experts / javascript / column61


Introducing WML and WMLScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji


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

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