Why Use WMLScript?

The introduction mentioned that WMLScript provides client-side functionality to WAP applications. Unlike other scripting languages, such as JavaScript, WMLScript is a language designed to specifically work on mobile devices.

WMLScript is a small, and somewhat limited, scripting language. The reasons for this are similar to WML—any language that works on a WAP device must be small to contend with the devices’ low processing power and limited memories.

You might be wondering, “Why bother to do any data manipulation on the client then? Why not do all data manipulation at the server level, where more robust languages can be used, and where processing power and memory are not an issue?”

Obviously, server-side scripting cannot ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.