R4R
Right Place For Right Person TM
 
R4R WML

R4R
provide basic WML Tutorials concept with WML Examples . Through R4R you can develop WML programming concept. R4R provide WML Interview Questions with answers.R4R provide WML Languages study materials in easy way.

WML Interview Questions with Answers

1.1    WML Subjective Questions with Answers
1.2    WML Interview Questions with Answers
1.3    WML Objective Questions And Answers
1.4    WML FAQS

Introduction of WML:

Wireless Markup Language (WML) is a markup language based on Extensible Markup Language (XML) and was developed specifically for content and user interface for mobile device. WML is a tag-based markup language designed after the model of HTML for Web content. The designers of WML (and its companion scripting language, WMLScript) created an environment that demands less memory and processing power from browsers than HTML and JavaScript. WML also includes features that tailor it for the relatively small display sizes of today's wireless devices .WML and HTML differ in significant ways. Although WML strips some features from HTML and co-opts others, WML also incorporates some powerful programming constructs not found in HTML like variables, tasks, and events. WML implements a stricter tag syntax than HTML and includes a DTD for use with XML parsers. The markup language of the WAP protocol for wireless Internet access. Pages written in WML can be read and displayed properly by cell phones with a small screen where standard HTML pages (the markup language used on most regular wide web pages) would produce an bad output and might even be unviewable.

History of WML:

Wireless Markup Language (WML) has been popular since it was born in 1999. . WML was developed for WAP with limited connection bandwidth and smal screen of mobile devices. It's different than HTML since its programming is more complicated than HTML. For this reason, some carriers and phone manufacturers inside the WAP forum (now integrated with Open Mobile Alliance) felt that the wireless mark-up should evolve in the direction of HTML to make developers' lives easier (and development more economical).

Why WML instead of HTML?

Mobile devices has the following characteristics that makes Internet browsing difficult:

Small display with extremely low resolution
The input mechanism is limited by numeric keypad.
The computational power is low and the built-in memory is limited, usually less than 100K.
The mobile network bandwidth is extremely low and is of high latency.

WML is thus designed to solve the above problems by:

Offering text and image (wbmp) support.
Grouping content cards into decks. Typically, a WML card is a screen of information and a deck is a unit of transmission between mobile device and the web server.
Offering support for managing navigation and command execution.

How does it Work?

The Web request from the phone is first served by the Gateway Server, which generally is provided as part of services from mobile operator's network. However, it is possible to set up a private gateway. The gateway server translates mobile phone requests (WAP) into HTTP requests and sends them to Web server. The Web server processes the request, and sends WML to gateway server, which in turn sends the WML to phone in the binary compressed WML format.

1. Mobile phone sends a Web request
2. Wireless Network provider forwards the request to gateway server.
3. Gateway server sends request to Web server in HTTP format.
4. Web server accesses data, runs ASP/JSP/CGI Script/… pages and generates WML.
5. Web server sends WML back to gateway server as HTTP Response.
6. Gateway server binary compresses WML and sends that to cellular phone as WAP response.
7. Cell phone displays the content.


Note:
The WAP Emulator directly talks to the Web server.

How does WML look like?

WML is an XML vocabulary that consists of a deck, and a deck contains multiple cards. Here is how a "First pro" WML document will look like:


<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/WML_1.1.xml">

<wml>

  <card id="card1" title="Greeting">

    <p align="center">

      This is The first Wml Program!

    </p>

    <p align="center">

       From PerfectXML

    </p>

  </card>

</wml>

The document starts with the standard XML declaration. The next line specifies that the document adheres to WML version 1.1 deck. The deck has <wml> element, which can have one or more <card> element, and each <card> element can have one or more <p> elements. If you open this WML file in WAP emulators, here is what you should see:

Output:


 

WML TAGS:

WAP homepages are not very different from HTML homepages. The markup language used for WAP is WML (Wireless Markup Language). WML uses tags - just like HTML - but the syntax is stricter and conforms to the XML 1.0 standard. WML pages have the extension. WML, just like HTML pages have the extension. HTML

WML is mostly about text. Tags that would slow down the communication with handheld devices are not a part of the WML standard. The use of tables and images is strongly restricted, Since WML is an XML application, all tags are case sensitive (<wml> is not the same as </WML>), and all tags must be properly closed.

Advantage of WML:

  1. WML is straightforward and an easy to learn markup language.
  2. WML is part of the WAP standard and its use is required.
  3. WML allows the developer to create the user interface which will be displayed on the screen of the mobile device.
  4. The type of content displayed on the mobile device screen such as text, links, images, data entry fields and selection lists are all easily created by the developer using the appropriate WML tag.
  5. WML and WMLScript are supported by the WTA (Wireless Telephony Application) Libraries. These public libraries allow the use to build into the application easy access to telephony functionality.

Disadvantage of WML:

  1. WAP devices such as WAP phones will not accept large decks (1.4K for some WAP phones).
  2. Most of the phones not only have very little memory and slow simple processors, but they also have small screens and tiny keypads.
  3. You will never be able to create a successful WAP service if your WML pages are overloaded with fancy images and lots of text information

Tolal:0 Click:
Show All Comments

Post Your Comments

Your Name:

Your Email ID :
Comments :
URL
  =* Enter SUM

New Updates

10:New Updates
Tutorials,examples and Interview Questions with answers
Posted By: Shashi     Posted Date:02.10.14

9:C# Tutorials,C# examples and C# Interview Questions with answers
R4R provide C# Tutorials,C# examples and C# Interview Questions with answers. Through R4R you can develop a small application and small programs.We cover C# Tutorials,C# examples and C# Interview Questions and answers for freshers as well experienced programmer.
Posted By: Shashi     Posted Date:11.17.13

8:Java/J2EE(Servlet,JSP,JNDI,Struts,Spring,Hibernate,EJB,JSF,JMS,Web-Services)
In this section R4R covers Java/J2EE(Servlet,JSP, JNDI, Struts, Spring, Hibernate, EJB,JSF,JMS,Web-Services) Tutorials with Examples.R4R provide Java/J2EE (Servlet,JSP, JNDI,Struts, Spring, Hibernate, EJB, JSF, JMS, Web-Services) Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.13.13

7:CoreJava Tutorials , CoreJava Examples and CoreJava Interview Questions with answers
In this section R4R covers CoreJava Tutorials with CoreJava Examples. R4R covers CoreJava programming concept in easy way. R4R provide CoreJava Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.04.13

6:Microsoft.net Technology ASP.NET,c# ,ADO.NET,WCF,WPF,Silverlight ,VB.net
R4R provides Microsoft Technologies(like ASP.NET,c# ,ADO.NET,WCF,WPF, Silverlight and VB.ne)Tutorials with Examples,programming concept and Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.04.13

5:J2me Tutorials concept with Examples with Netbean IDE and J2ME Application Examples.
R4R cover basic J2me Tutorials concept with Examples and provide a way to develop J2me programming concept in easy way. R4R provide J2me Interview Questions with answers.R4R provide J2me Languages study materials with examples uing Netbean IDE and J2ME Application Examples.
Posted By: Shashi     Posted Date:10.30.13

4:J2me Tutorials concept with Examples ith netbean IDE and J2ME Application Examples.
R4R cover basic J2me Tutorials concept with Examples and provide a way to develop J2me programming concept in easy way. R4R provide J2me Interview Questions with answers.R4R provide J2me Languages study materials with examples uing Netbean IDE and J2ME Application Examples.
Posted By: Shashi     Posted Date:10.30.13

3:Java ebooks , Java tutorials , Java examples , Java interview questions and answers
R4R provides study materials for Java/j2EE technologies. R4R covers core java, advanced java, servlet, JSP, Struts, Spring, Hibernate, EJB, JSF, J2ME, ANT, JUnit and Some APIS .R4R also provides ebooks,tutorials,examples, interview questions and answers.
Posted By: Shashi     Posted Date:10.30.13

2:Learn basic C++ Tutorials with Examples , C++ Interview Questions with answers
R4R is a free E-learning website.You can learn basic C++ Tutorials with Examples , C++ Interview Questions with answers and also some hot topics.
Posted By: Shashi     Posted Date:10.30.13

1:C Tutorials with Example C subjective and objective interview questions and answers
R4R provide C Tutorials with Example and also provides C subjective and objective interview questions and answers.You can learn C in easy way.We cover basics of C here and give some examples.
Posted By: Shashi     Posted Date:10.30.13

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R