spacer

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

home / experts / javascript / column62


WMLScript Primer

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. We have covered the basics of WML in our previous column, Introducing WML and WMLScript.

WMLScript is based on JavaScript, but it has been modified to better support low bandwidth communication and thin clients. Several changes to the language were made in order accomplish that. First, WMLScript can be compiled to a bytecode, speeding up the interpretation by the user agent. Secondly, it is a procedural language and it supports locally-installed standard libraries of WMLScript procedures. Finally, it does not support some of the more advanced features of JavaScript that are heavy on computational and bandwidth needs.

The purpose of this column is two fold. The wireless world is getting more popular every day, and the number of programmers working for its businesses will rise over the next few years. Some of us will have to retool our JavaScript knowledge to WMLScript expertise, and this column is a good start to ramp up on the technology. The second motivation is to acquaint you with a superset of JavaScript. WMLScript demonstrates some of the future directions that JavaScript may go to. The column also emphasizes, by contrast, what's missing from JavaScript in comparison to other high-level programming languages such as C++.

In this column you will learn:

Next: How to call WMLScript libraries

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 22, 2000
Revised: May 22, 2000

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