
What is WAP?
I have been designing websites since 1996. In the beginning, it was easy. Someone called me with a project, they sent me the content for their website, which I would then upload to Microsoft Frontpage or a text editor, insert some HTML tags for formatting and some graphics to make the site colorful, and the job was finished.
The wireless revolution changed everything. Almost every electronic device now comes equipped with access to the web and email. Palm tops, laptops, cell phones, even computer screens installed in automobiles are now connected to the internet. The web browsers and operating systems installed on these wireless devices are often very different from what is installed on an ordinary desktop PC. Many elements of the HTML programming language are not compatible with some of these wireless platforms. As a result, web design has completely changed. Cross-platform programming languages and specifications have been created so that websites can be viewed on any PC or wireless gadget.
Now that you have a basic understanding of how and why programming has changed, you are now ready for a brief introduction to the main topic of this article, WAP (Wireless Application Protocol). WAP is an open international standard for applications that use wireless communication. Its principal application is to enable access to the internet from a Mobile Phone or PDA.
Before we begin to discuss Wireless Application Protocol, you should first know a little bit about a language called XML. It is a language that enables programmers to define data without telling the web browser how to display it, because XML files are simple text files. As a result, XML data can be displayed on any web browser. This is significant, because as we have already established, wireless web browsers have a hard time with HTML. XML solves this dilemma by putting data in a format that be displayed across all platforms.
WAP browsers are browsers that run on wireless devices such as cell phones. The WAP protocol understands WML (Wireless Markup Language), which is written in XML. In addition to XML, WML uses some Javascript, which is referred to as WMLScript. However, the Javascript is not actually coded directly into the WML page; it is referenced by using a script URL, which must be compiled into byte code on a server before the Javascript can run on the wireless browser.
Wireless Markup Language uses tags, just like HTML. However, the tags are case sensitive. The most important tag that is used is the card tag. WAP pages are known as decks, and they consist of a set of cards, which contain code sandwiched between the opening and closing tags of each card. The cards within the document are then linked to each other. When a wireless web browser prepares to present the contents of a web page to the user, it downloads all of the cards in the deck at the beginning when the page first loads, and then is able to display the web page and everything in it without making any additional visits to the server.
Within the code, there are usually two main types of tasks called go and previous. The go task tag causes a switch to a new card within the deck. The previous task tag causes the action to switch to the card that was accessed previously. The other two types of tasks worth noting are the refresh task, which will refresh any variables that are being used and refresh the screen if the variables appear on the screen, and the noop task, which stops any further operations from being performed. There are many other nifty tasks and elements that are used in WML such as the timer element. An example of the timer element in action would be to cause a message that is generated by a task in one of the cards to appear on the screen for 3 seconds before disappearing and moving on to the next card in the deck.
If you make a living as a web designer, you need to learn to create pages that are WML enabled for WAP browsers. If you are unable to program a web site so that it can be displayed on a wireless computer, then your clients will be very unhappy. Wireless internet usage is proliferating. Not creating web sites that can be displayed effectively across all platforms is tantamount to career suicide. If you are not familiar with Wireless Markup Language, I recommend that you enroll in some courses at a local computer programming institute, or purchase some tutorials online. The syntax for the WML language is not too complicated, so if you already have extensive web design experience, learning the language should be relatively easy.
Jim Pretin
View all articles by Jim Pretin
Samsung – Best mobile phone manual
|
|
18 Inch Adjustable Door Rack $15.90 Adjustable Door Rack seven 5 1/2″D wire baskets mount on 67″ high frame. Space as needed. 18″W Rack…. |
|
|
Chaney Instrument 00985 Wireless Refrigerator Freezer Thermometer Alarm Set $39.95 The Chaney Instrument 00985 Wireless Refrigerator Freezer Thermometer comes with programmable temperature alarms for your fridge and freezer Wireless Digital Refrigerator/ Freezer Thermometer features an audible and visual alarm when temperatures exceed your pre-set minimum and maximum selection. Chaney Instrument 00985 Wireless Refrigerator Freezer Thermometer Features: Audible and visual alarms … |
|
|
Cell Phone Flask With Leather Case $5.70 This cell phone flask looks just like a cell phone! Holds 4 ounces and comes with a genuine leather case with belt clip…. |
|
|
(3 Packs) iPhone 4 Anti-Glare, Anti-Scratch, Anti-Fingerprint – Matte Finishing Screen Protector $0.01 Protect your iPhone 4 screen with anit-glare screen protector. Our screen protector feature full front protection for iPhone 4 screen. Protect your iPhone 4 screen with 3 packs of HHI screen protectors today…. |
|
|
3 pcs Aqua Blue/Black/Red Capacitive Stylus/styli Touch Screen Cellphone Tablet Pen for iPhone 4 4s 3 3Gs iPod Touch iPad 2 Motorola Xoom, Samsung Galaxy, BlackBerry Playbook AMM0101US, Barnes and Noble Nook Color, Droid Bionic $0.01 Condition: Brand New. Package includes:3 pcs Branded AUTHENTIC stylus pen (aqua blue, black, red) 3 items in the original packaging!! and a branded Cable Tie for the AUTHENTIC items! Built in soft head for protecting your screen and increase the sensitivity. Light weight design, easy to carry. Including Clip for easy storage in your pocket, book or diary. Compatible with Apple iPad, iPhone, iPod T… |
|
|
USB Sync and Charging Cable Compatible with Apple iPhone (White) $0.01 Brand New!!!… |
|
|
Fitbit Ultra Wireless Activity Plus Sleep Tracker … |
|
|
Duracell Pre-Charged Rechargeable Batteries Ideal For Digital and High Drain DevicesRechargeable ~ Pre-Charged ~ Stays Charged Longer ~ Recharge Less*Pre-charged and ready to use, straight out of the pack Retains power for up to 365 days while not in use, unlike other rechargeables Can be recharged 100′s of times Longer lasting in high drain devices, than ordinary alkaline batteries No special battery charger required (Duracell Chargers Rec… |
|
|
Duracell Value Charger With 4AA Pre Charged Rechargeable Nimh Batteries, CEF14DX4 $14.00 Charges 4 AA or AAA batteries at one timeLED to indicate charge statusCompact size is great for travelCharge plugs directly into wall with no cord necessary… |
|
|
Linkin Park Underground 9 Fan Club (Box Set with Demos CD, T-Shirt, Patch, Letter, and Guitar Pick) $59.68 The limited edition Linkin Park Underground 9 package includes exclusive Linkin Park demos CD featuring the unreleased track “Across The Line”, official fan club t-shirt (size L), fan club patch, a letter from Linkin Park, and a LPU9 guitar pick! Membership benefits include access to download the Dead By Sunrise “Morning After” live acoustic track, opportunities to pre-sale tickets and greet passe… |
Related Articles
No user responded in this post
Leave A Reply