Presentation is loading. Please wait.

Presentation is loading. Please wait.

WML Wireless Markup Language Presented by: Richa Saxena Roll no 1706120.

Similar presentations


Presentation on theme: "WML Wireless Markup Language Presented by: Richa Saxena Roll no 1706120."— Presentation transcript:

1 WML Wireless Markup Language Presented by: Richa Saxena Roll no 1706120

2 What is WML? Markup Language built specifically for communicating across WAP-based networks. An specific instance of XML (Extensible Markup Language).

3 WAP (Wireless Application Protocol) It lets your mobile phone to communicate with your provider’s gateway. It lets your mobile phone to communicate with your provider’s gateway. The Gateway in turn retrieves content from servers using HTTP. The Gateway in turn retrieves content from servers using HTTP.

4 access by mobile phone access by PDA virtual meeting space access by PC Mobile World Entering the Web world Magic Lounge is entered via heterogeneous devices

5 WAP Browser interface : Users navigate WAP sites using three tools Navigation arrows Navigation arrows Left and right soft buttons Left and right soft buttons Keypad Keypad

6 WAP medium properties: Site are designed for low Bandwidth condition. Use minimal Graphics Sites are broken into multiple cards. Sites must be designed for easy bookmarking. Sites tend to be menu driven rather than text-entry driven.

7 Deck and Card Organization Card- Each screen displayed on phone is called a card Card- Each screen displayed on phone is called a card Cards are saved in a group called Deck. Cards are saved in a group called Deck. Deck is stored in a.wml file. Deck is stored in a.wml file.

8 What happens when user selects a link? A new card in the current deck is brought to the foreground A new card in the current deck is brought to the foreground A new deck is loaded and one of its cards is displayed A new deck is loaded and one of its cards is displayed

9 Syntax used in WML script. WMLScript is case-sensitive. WMLScript is case-sensitive. WMLScript is a weakly typed language. WMLScript is a weakly typed language. Variety of operators that support assignment, arithmetic, logical, string, comparison, and array operations. Variety of operators that support assignment, arithmetic, logical, string, comparison, and array operations. Functions can be created and used in WMLScript. Functions can be created and used in WMLScript. String - contains a set of functions for performing various string operations String - contains a set of functions for performing various string operations

10 More WML syntax Comments can either be single-line (beginning with //) or multi-line (bracketed by /* and */). Comments can either be single-line (beginning with //) or multi-line (bracketed by /* and */). WMLScript supports a number of control statements WMLScript supports a number of control statements

11 WML Example: Hello World Hello World

12 WML follows XML rules Tags must be nested Tags must be nested Hello (invalid) Hello (invalid) Hello (valid) Hello (valid) Tags must be closed Tags must be closed (invalid) (invalid) (valid) (valid) Tags are case sensitive and must be written in all lowercase Tags are case sensitive and must be written in all lowercase All attribute values must be in quotes All attribute values must be in quotes (invalid) (invalid) (valid) (valid)

13 Multiple cards & hyperlinks <wml> SMPU Society of Mobile Phone Users About SMPU Become a Member SMPU Society of Mobile Phone Users About SMPU Become a Member SMPU was founded by a group of devoted mobile phone users. SMPU Home SMPU was founded by a group of devoted mobile phone users. SMPU Home </wml>

14 Anchoring Next Page Next Page

15 WML Tasks GO Task GO Task Go to Test Go to Test

16 Prev Task Prev Task Previous Page Previous Page

17 No operation Element says that nothing should be done No operation Element says that nothing should be done Refresh refreshes the screen Refresh refreshes the screen Image Element Define an image Image Element Define an image

18 Comparison of HTML with WML WML is highly structured and very particular about syntax while HTML is not. WML is highly structured and very particular about syntax while HTML is not. WML is case sensitive in contrast to HTML WML is case sensitive in contrast to HTML Many tags have required attributes while in HTML we use only those attributes which we need Many tags have required attributes while in HTML we use only those attributes which we need WML pages are organized into deck and card structure in contrast to HTML WML pages are organized into deck and card structure in contrast to HTML

19 WML has to cope up with inherent limitation in environment………. Display Size-smaller screen size and resolution. Display Size-smaller screen size and resolution. Input Device-input is usually accomplished by combination of numeric keypad and some function keys Input Device-input is usually accomplished by combination of numeric keypad and some function keys Computational resources-Low power CPU and small memory size Computational resources-Low power CPU and small memory size Narrowband network connectivity. Narrowband network connectivity.

20 Conclusion With growing number of mobile users WAP network is bound to grow. With growing number of mobile users WAP network is bound to grow. As limiting factor WAP cannot be employed for huge threaded message boards or slideshows. As limiting factor WAP cannot be employed for huge threaded message boards or slideshows. WAP is best suited for small, concrete pieces of data; stock quotes, addresses, instant messaging, and such. WAP is best suited for small, concrete pieces of data; stock quotes, addresses, instant messaging, and such.

21 THANKS


Download ppt "WML Wireless Markup Language Presented by: Richa Saxena Roll no 1706120."

Similar presentations


Ads by Google