spacer

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

home / experts / javascript / column62


WMLScript Primer

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. 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


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

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