SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
Wireless Markup Language
WML Script
Prepared by Subhashinisundaram
Wireless Markup Language
Wireless Markup Language
The wireless markup language (WML) (WAP Forum) is based on the standard
HTML known from the www and on HDML
– Ericsson, Motorola, Nokia, Unwired Planet (phone.com)
– bring Internet to cellular phone users
– re-use fundamental Internet concepts (TCP/IP, http, html, JavaScript)
but adapted to lower bandwidth
smaller screen
limited input facilities
limited computational resources
Wireless Markup Language
WML follows a deck and card metaphor.
A WML document is made up of multiple cards.
Cards can be grouped together into a deck.
A WML deck is similar to an HTML page.
in that it is identified by a URL is the unit of content transmission.
A user navigates with the WML browser through a series of WML cards,etc
Wireless Markup Language
The user agent on a handheld device has to decide how to best present all elements of a card.
This presentation depends much on the capabilities of the device.
Wireless Markup Language
WML basic features
Text and images:
 Text and images can be presented to a user.
 The exact presentation of data to a user is up to the user agent running on the handheld device.
 WML only provides a set of mark-up elements, such as emphasis elements (bold, italic, etc.) for text,
or tab columns for tabbing alignment.
Wireless Markup Language
WML basic features
User interaction
WML supports different elements for user input.
Examples are: text entry controls for text or password entry, option selections or controls for task
invocation.
Again, the user agent is free to choose how these inputs are implemented. They could be bound to, e.g.,
physical keys, soft keys, or voice input.
Wireless Markup Language
WML basic features
Navigation
WML offers a history mechanism with navigation through the browsing history, hyperlinks
and other intercard navigation elements.
Context management
WML allows for saving the state between different decks without server interaction, i.e.,
state can be shared across different decks. Cards can have parameters defined by using
this state without access to the server over the narrow-band wireless channel.
Wireless Markup Language
Other Features
Actions (OK, navigation, help) can be performed
Hyperlinks (like in HTML)
String variables
Timers
wbmp images (B&W)
Select boxes, forms (for input)
wmlscript (like javascript)
WML structure
< ? xml version=“1.0” ? >
<!DOCTYPE wml …>
<wml>
<card>
<p>
text
</p>
<p>
text
</p>
</card>
<card>
...
</card>
</wml>
WML Elements
<p> </p> text
<a href=...> </a> hyperlink (anchor)
<do> </do> action
<go href=.../> goto wml page
<timer> trigger event (units = tenths of a second)
<input/> input user text
<prev/> return to previous page
$(…) value of variable
<img src=… /> display image
<postfield name=… value=…/> set variable
<select > <option> <option> </select> select box
WML Elements
<?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="card_one" title="Simple example">
<do type="accept">
<go href="#card_two"/>
</do>
<p> This is a simple first card! <br/> On the next one you can choose ... </p>
</card>
WML Elements
<card id="card_two" title="Pizza selection">
<do type="accept" label="cont">
<go href="#card_three"/>
</do>
<p> ... your favourite pizza!
<select value="Mar" name="PIZZA">
<option value="Mar">Margherita</option>
<option value="Fun">Funghi</option>
<option value="Vul">Vulcano</option>
</select>
</p>
</card>
WML Elements
<card id="card_three" title="Your Pizza!">
<p>
Your personal pizza parameter is <b>$(PIZZA)</b>!
</p>
</card>
</wml>
WML encoding
WML may be encoded using a compact binary representation to save bandwidth on the wireless link.
The compact format allows for transmission without loss of functionality or of semantic information.
Example:
URL prefix href=_http://, which is very common in URLs, will be coded as 4B.
The code for the select keyword is 37 and option is 35.
These single byte codes are much more efficient than the plain ASCII text used in HTML and today’s
www.
WML Script
WML Script
WMLScript complements to WML and provides a general scripting capability in the WAP
architecture.
WMLScript offers several capabilities not supported by WML:
Validity check of user input:
before user input is sent to a server, WMLScript can check the validity and save bandwidth and
latency in case of an error.
WML Script
Access to device facilities:
WMLScript offers functions to access hardware components and software functions of the device.
On a phone a user could,
e.g., make a phone call, access the address book, or send a message via the message service of
the mobile phone.
WML Script
Local user interaction:
WMLScript can directly and locally interact with a user, show messages or prompt for input. Only,
for example the result of several interactions could be transmitted to a server.
Extensions to the device software:
With the help of WMLScript a device can be configured and new functionality can be added even
after deployment. Users can download new software from vendors and, thus, upgrade their device
easily.
WML Script
Local user interaction:
Without introducing round-trip delays, WMLScript can directly and locally interact with a user,
show messages or prompt for input. Only, for example the result of several interactions could be
transmitted to a server.
Extensions to the device software: With the help of WMLScript a device
can be configured and new functionality can be added even after deployment.
Users can download new software from vendors and, thus, upgrade
their device easily.
WML Script
WML Script bytecode interpreter and an efficient over-the-air transport via a space efficient
bytecode.
A WMLScript compiler is used to generate this bytecode.
WMLScript is event-based.
WMLScript also has full access to the state model of WML, i.e., WMLScript can set and read WML
variables.
WML Script Example
function pizza_test(pizza_type)
{
var taste = "unknown";
if (pizza_type = "Mar")
{
taste = "well... ";
}
else
{
if (pizza_type = "Vul")
{
taste = "quite hot";
};
};
return taste;
};
WML Script
The WMLScript compiler can compile one or more such scripts into a WMLScript compilation
unit.
A handheld wireless device can now fetch such a compilation unit using standard protocols with
HTTP
http://www.xyz.int/myscr, a user could call the script and pass the parameter "Vul" via
http://www.xyz.int/myscr#pizza_test("Vul").
WML standard libraries
Lang:
Examples are isInt to check if a value could be converted into an integer or
float to check if floating-point operations are supported.
Float:
Many typical arithmetic floating-point operations are in this library
Example functions are round of & sqrt
String
Many string manipulation functions are in this library.
Examples length of a string, substring to return a substring of a given string. find a substring
within
a string or squeeze to replace several consecutive whitespaces with only one.
WML standard libraries
URL:
syntax
<scheme>://<host>:<port>/<path>;<parameters>?<query>#<fragment>
for example: http://www.xyz.int:8080/mypages;5;2?j=2&p=1#crd.
WMLBrowser:
prev to go back one card or refresh to update the context of the user interface.
WML standard libraries
Dialogs:
For interaction with a user, this library has been defined.
An example function is prompt which displays a given message and prompts for user input.
An additional library is the WMLScript Crypto Library
Provides security functions provided by WTLS. The required keys can be stored on the
wireless identity module (WIM) which could be part of the mobile phone’s SIM
END

Contenu connexe

Tendances

Mobile computing : Indirect TCP
Mobile computing : Indirect TCPMobile computing : Indirect TCP
Mobile computing : Indirect TCPSushant Kushwaha
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingsana mateen
 
Wireless Application Protocol ppt
Wireless Application Protocol pptWireless Application Protocol ppt
Wireless Application Protocol pptgo2project
 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introductionUnit 1 - mobile computing introduction
Unit 1 - mobile computing introductionVintesh Patel
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11Shreejan Acharya
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)ArunChokkalingam
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types pptkamal kotecha
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architectureSuman Behara
 
Seven step model of migration into the cloud
Seven step model of migration into the cloudSeven step model of migration into the cloud
Seven step model of migration into the cloudRaj Raj
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networkingpraison
 

Tendances (20)

Mobile computing : Indirect TCP
Mobile computing : Indirect TCPMobile computing : Indirect TCP
Mobile computing : Indirect TCP
 
GUI components in Java
GUI components in JavaGUI components in Java
GUI components in Java
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scripting
 
Wireless Application Protocol ppt
Wireless Application Protocol pptWireless Application Protocol ppt
Wireless Application Protocol ppt
 
WAP 2.0
WAP 2.0WAP 2.0
WAP 2.0
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Telnet
TelnetTelnet
Telnet
 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introductionUnit 1 - mobile computing introduction
Unit 1 - mobile computing introduction
 
Global state routing
Global state routingGlobal state routing
Global state routing
 
Wap ppt
Wap pptWap ppt
Wap ppt
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
 
Manet
ManetManet
Manet
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
 
Seven step model of migration into the cloud
Seven step model of migration into the cloudSeven step model of migration into the cloud
Seven step model of migration into the cloud
 
Snmp
SnmpSnmp
Snmp
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networking
 
Java rmi
Java rmiJava rmi
Java rmi
 

En vedette

ITFT_Wireless markup language
ITFT_Wireless markup languageITFT_Wireless markup language
ITFT_Wireless markup languageShilpa Sharma
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti kattaSenthil Kanth
 
WML-Tutorial
WML-TutorialWML-Tutorial
WML-TutorialOPENLANE
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEESenthil Kanth
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Techglyphs
 
Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Bit Hacker
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentationRamyaRavi26
 
B spline surfeces
B spline surfecesB spline surfeces
B spline surfecesramac123
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computingrojalina nanda
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenSenthil Kanth
 

En vedette (20)

ITFT_Wireless markup language
ITFT_Wireless markup languageITFT_Wireless markup language
ITFT_Wireless markup language
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
 
WML-Tutorial
WML-TutorialWML-Tutorial
WML-Tutorial
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Introduction to Mobile Internet
Introduction to Mobile InternetIntroduction to Mobile Internet
Introduction to Mobile Internet
 
Manika
ManikaManika
Manika
 
Mobile Internet Standards
Mobile Internet StandardsMobile Internet Standards
Mobile Internet Standards
 
Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18
 
Lect4
Lect4Lect4
Lect4
 
Wap wml
Wap wmlWap wml
Wap wml
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
B spline surfeces
B spline surfecesB spline surfeces
B spline surfeces
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computing
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by Alvinen
 
Bezier curve computer graphics
Bezier curve computer graphicsBezier curve computer graphics
Bezier curve computer graphics
 
Types of projections
Types of projectionsTypes of projections
Types of projections
 
Face morphing
Face morphingFace morphing
Face morphing
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 

Similaire à Wireless Markup Language,wml,mobile computing

Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml scriptishmecse13
 
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application ProtocolNyi Tun
 
Wireless application protocol
Wireless application protocolWireless application protocol
Wireless application protocolgit tech
 
112321 112333 wirless application protocol
112321 112333 wirless application protocol112321 112333 wirless application protocol
112321 112333 wirless application protocolJAINIK PATEL
 
Wireless languages and content generation technologies
Wireless languages and content generation technologiesWireless languages and content generation technologies
Wireless languages and content generation technologiesSuveeksha
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...Editor IJCATR
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...Editor IJCATR
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...Editor IJCATR
 
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptx
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptxFALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptx
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptxBARATHSHARMA
 
Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية @Royal_Class: Private Business
 
Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)Mintoo Jakhmola
 
WAP- Mobile Personal Assistant Application
WAP- Mobile Personal Assistant ApplicationWAP- Mobile Personal Assistant Application
WAP- Mobile Personal Assistant ApplicationIJMER
 

Similaire à Wireless Markup Language,wml,mobile computing (20)

Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml script
 
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application Protocol
 
Wireless application protocol
Wireless application protocolWireless application protocol
Wireless application protocol
 
112321 112333 wirless application protocol
112321 112333 wirless application protocol112321 112333 wirless application protocol
112321 112333 wirless application protocol
 
Wap
WapWap
Wap
 
Wireless languages and content generation technologies
Wireless languages and content generation technologiesWireless languages and content generation technologies
Wireless languages and content generation technologies
 
Lecture16
Lecture16Lecture16
Lecture16
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
 
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
WAP, HTTP and HTML5 Web Socket Architecture Analysis in Contemporary Mobile A...
 
WAP Technology
WAP TechnologyWAP Technology
WAP Technology
 
Wap ppt
Wap pptWap ppt
Wap ppt
 
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptx
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptxFALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptx
FALLSEM2023-24_ITA1008_TH_VL2023240102332_2023-09-21_Reference-Material-I.pptx
 
Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية
 
Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)
 
WAP- Mobile Personal Assistant Application
WAP- Mobile Personal Assistant ApplicationWAP- Mobile Personal Assistant Application
WAP- Mobile Personal Assistant Application
 
Wap
WapWap
Wap
 
WAP
WAPWAP
WAP
 
Wap01
Wap01Wap01
Wap01
 
wap.ppt
wap.pptwap.ppt
wap.ppt
 

Dernier

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
20200723_insight_release_plan
20200723_insight_release_plan20200723_insight_release_plan
20200723_insight_release_planJamie (Taka) Wang
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingGDSC PJATK
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.francesco barbera
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 

Dernier (20)

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
20200723_insight_release_plan
20200723_insight_release_plan20200723_insight_release_plan
20200723_insight_release_plan
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 

Wireless Markup Language,wml,mobile computing

  • 1. Wireless Markup Language WML Script Prepared by Subhashinisundaram
  • 3. Wireless Markup Language The wireless markup language (WML) (WAP Forum) is based on the standard HTML known from the www and on HDML – Ericsson, Motorola, Nokia, Unwired Planet (phone.com) – bring Internet to cellular phone users – re-use fundamental Internet concepts (TCP/IP, http, html, JavaScript) but adapted to lower bandwidth smaller screen limited input facilities limited computational resources
  • 4. Wireless Markup Language WML follows a deck and card metaphor. A WML document is made up of multiple cards. Cards can be grouped together into a deck. A WML deck is similar to an HTML page. in that it is identified by a URL is the unit of content transmission. A user navigates with the WML browser through a series of WML cards,etc
  • 5. Wireless Markup Language The user agent on a handheld device has to decide how to best present all elements of a card. This presentation depends much on the capabilities of the device.
  • 6. Wireless Markup Language WML basic features Text and images:  Text and images can be presented to a user.  The exact presentation of data to a user is up to the user agent running on the handheld device.  WML only provides a set of mark-up elements, such as emphasis elements (bold, italic, etc.) for text, or tab columns for tabbing alignment.
  • 7. Wireless Markup Language WML basic features User interaction WML supports different elements for user input. Examples are: text entry controls for text or password entry, option selections or controls for task invocation. Again, the user agent is free to choose how these inputs are implemented. They could be bound to, e.g., physical keys, soft keys, or voice input.
  • 8. Wireless Markup Language WML basic features Navigation WML offers a history mechanism with navigation through the browsing history, hyperlinks and other intercard navigation elements. Context management WML allows for saving the state between different decks without server interaction, i.e., state can be shared across different decks. Cards can have parameters defined by using this state without access to the server over the narrow-band wireless channel.
  • 9. Wireless Markup Language Other Features Actions (OK, navigation, help) can be performed Hyperlinks (like in HTML) String variables Timers wbmp images (B&W) Select boxes, forms (for input) wmlscript (like javascript)
  • 10. WML structure < ? xml version=“1.0” ? > <!DOCTYPE wml …> <wml> <card> <p> text </p> <p> text </p> </card> <card> ... </card> </wml>
  • 11. WML Elements <p> </p> text <a href=...> </a> hyperlink (anchor) <do> </do> action <go href=.../> goto wml page <timer> trigger event (units = tenths of a second) <input/> input user text <prev/> return to previous page $(…) value of variable <img src=… /> display image <postfield name=… value=…/> set variable <select > <option> <option> </select> select box
  • 12. WML Elements <?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="card_one" title="Simple example"> <do type="accept"> <go href="#card_two"/> </do> <p> This is a simple first card! <br/> On the next one you can choose ... </p> </card>
  • 13. WML Elements <card id="card_two" title="Pizza selection"> <do type="accept" label="cont"> <go href="#card_three"/> </do> <p> ... your favourite pizza! <select value="Mar" name="PIZZA"> <option value="Mar">Margherita</option> <option value="Fun">Funghi</option> <option value="Vul">Vulcano</option> </select> </p> </card>
  • 14. WML Elements <card id="card_three" title="Your Pizza!"> <p> Your personal pizza parameter is <b>$(PIZZA)</b>! </p> </card> </wml>
  • 15. WML encoding WML may be encoded using a compact binary representation to save bandwidth on the wireless link. The compact format allows for transmission without loss of functionality or of semantic information. Example: URL prefix href=_http://, which is very common in URLs, will be coded as 4B. The code for the select keyword is 37 and option is 35. These single byte codes are much more efficient than the plain ASCII text used in HTML and today’s www.
  • 17. WML Script WMLScript complements to WML and provides a general scripting capability in the WAP architecture. WMLScript offers several capabilities not supported by WML: Validity check of user input: before user input is sent to a server, WMLScript can check the validity and save bandwidth and latency in case of an error.
  • 18. WML Script Access to device facilities: WMLScript offers functions to access hardware components and software functions of the device. On a phone a user could, e.g., make a phone call, access the address book, or send a message via the message service of the mobile phone.
  • 19. WML Script Local user interaction: WMLScript can directly and locally interact with a user, show messages or prompt for input. Only, for example the result of several interactions could be transmitted to a server. Extensions to the device software: With the help of WMLScript a device can be configured and new functionality can be added even after deployment. Users can download new software from vendors and, thus, upgrade their device easily.
  • 20. WML Script Local user interaction: Without introducing round-trip delays, WMLScript can directly and locally interact with a user, show messages or prompt for input. Only, for example the result of several interactions could be transmitted to a server. Extensions to the device software: With the help of WMLScript a device can be configured and new functionality can be added even after deployment. Users can download new software from vendors and, thus, upgrade their device easily.
  • 21. WML Script WML Script bytecode interpreter and an efficient over-the-air transport via a space efficient bytecode. A WMLScript compiler is used to generate this bytecode. WMLScript is event-based. WMLScript also has full access to the state model of WML, i.e., WMLScript can set and read WML variables.
  • 22. WML Script Example function pizza_test(pizza_type) { var taste = "unknown"; if (pizza_type = "Mar") { taste = "well... "; } else { if (pizza_type = "Vul") { taste = "quite hot"; }; }; return taste; };
  • 23. WML Script The WMLScript compiler can compile one or more such scripts into a WMLScript compilation unit. A handheld wireless device can now fetch such a compilation unit using standard protocols with HTTP http://www.xyz.int/myscr, a user could call the script and pass the parameter "Vul" via http://www.xyz.int/myscr#pizza_test("Vul").
  • 24. WML standard libraries Lang: Examples are isInt to check if a value could be converted into an integer or float to check if floating-point operations are supported. Float: Many typical arithmetic floating-point operations are in this library Example functions are round of & sqrt String Many string manipulation functions are in this library. Examples length of a string, substring to return a substring of a given string. find a substring within a string or squeeze to replace several consecutive whitespaces with only one.
  • 25. WML standard libraries URL: syntax <scheme>://<host>:<port>/<path>;<parameters>?<query>#<fragment> for example: http://www.xyz.int:8080/mypages;5;2?j=2&p=1#crd. WMLBrowser: prev to go back one card or refresh to update the context of the user interface.
  • 26. WML standard libraries Dialogs: For interaction with a user, this library has been defined. An example function is prompt which displays a given message and prompts for user input. An additional library is the WMLScript Crypto Library Provides security functions provided by WTLS. The required keys can be stored on the wireless identity module (WIM) which could be part of the mobile phone’s SIM
  • 27. END