|
|||
|
If you have visited the WAP forum, you have probably seen there are many working groups. Each of these groups is working hard to add features and functionality to the WAP standard. One of these workgroups, Wireless Application Environment (WAE), defines the Wireless Markup Language (WML). This markup language is similar to HTML, which we are all familiar with. In this article, I will introduce some of the basic steps to creating a WML page. At the end of these articles, you will know how to write a WML page.
Why WML? We all understand how useful HTML is to us. Not only that we have a standard way to share information, but also a way to use a common interface (browser) to update data. Companies use Intranets to save tremendous amounts of money by having a single (free) application environment, and get information to employees in a uniform way. Now we can extend that idea to a wireless environment. WML provides exactly this capability. With WML, wireless applications can be created within an organisation, and bring information to a workforce anywhere, anytime. And don't forget the ability to update information real time wirelessly. That's the power of WML. Simple WML Without delaying further, let's get started with WML. The first major concept of WML is Decks and Cards. A Deck can be thought as a WML page, it is a collection of cards. It can also be looked at as a transport unit. Each WML transaction, usually, deliver one deck. There are exceptions, such as multi-part documents. A card can be thought as a display unit. One card is displayed at a time on a device's screen. Each time, a device receives a deck which can contain multiple cards; then the device displays one card after another according to user interaction. Take a look at the following WML sample: <?xml version="1.0"?> Line 1,2,3: WML is a child of XML, and XML pages require DTD file which describes elements in the markup language. Please refer to XML definition for details. Go To Page: 1 2
The copyright of the article First WML course in Wireless Internet is owned by . Permission to republish First WML course in print or online must be granted by the author in writing.
For a complete listing of article comments, questions, and other discussions related to Wai Seto's Wireless Internet topic, please visit the Discussions page. |
|||
|
|
|||
|
|
|||