Amazon.co.uk Review
WML isn't just a cut-down version of HTML, it's part of a solution to the limited bandwidth, unreliability, high latency and limited displays of mobile Net appliances.
In Learning WML & WMLScript, Martin Frost starts with an overview of WML syntax and how it differs from HTML, with emphasis on decks and cards, a deck being a collection of cards (pages) downloaded as a group to reduce the latency problem. He also covers attributes and entities with plenty of examples used to illustrate usage. Variable substitution isn't part of HTML but is an important part of WML, as is the task--another way of making the browser do more than just display page elements. Interactivity in WML is considerably more sophisticated than in HTML yet remains easy to implement. Particularly interesting is the template feature which enables you to set all a deck's common events and so on in one place. This goes with shadowing, which enables the template to be overridden on specific cards. This is neat stuff.
Around half the book is devoted to WMLScript, the tightly integrated scripting language. WMLScript is similar to, but simpler than, other scripting languages such as Javascript. It's functionality is extended with standard libraries covered in an extensive reference section. Finally, you get two complete example apps: a calculator and a Battleships game.
Overall, Learning WML & WMLScript provides an excellent introduction to the subject. Using it, any programmer can rapidly get up to speed in this fast growing area. --Steve Patient
Product Description
The next generation of mobile communicators is here, and delivering content to them will mean programming in WML (Wireless Markup Language) and WMLScript, the languages of the Wireless Application Environment (WAE). The WAE allows information in almost all applications to be formatted for display on mobile devices, such as cell phones, and enables the user to interact with the information. Why learn yet another technology? According to some estimates, 75 per cent of Web document viewing by the year 2002 will be through non-desktop devices, many using wireless technologies. Clearly, the future is wireless. For Web developers who want to get up to speed quickly in these languages, Learning WML & WMLScript maps out in detail the WAE and its two major components, WML and WMLScript. Fortunately, the WAE provides a World Wide Web-like model for writing applications, incorporating several key features of the Web to ease the transition for developers. Almost all wireless applications can be written with WML, which replaces HTML in the wireless environment, and WMLScript, which replaces JavaScript. With this book, Web developers with some knowledge of programming and C, Java, or JavaScript syntax can master both languages. Chapter by chapter, Learning WML & WMLScript takes readers through the following WML topics: decks, templates and cards; User Interaction; variables and contexts; tasks, events, and timers; text and text formatting; and images. WMLScript topics include: data types, conversions and variables; operators and expressions; statements; functions; and standard libraries.
See all Product Description