The document provides an overview of mobile business and the Wireless Application Protocol (WAP). It discusses how WAP was created to address the needs of developing web applications for mobile devices, which have limitations in terms of CPU power, memory, screen size, etc. compared to desktop computers. It describes WAP components like WAP gateways and browsers and the WML (Wireless Markup Language) and WMLScript used to create content for mobile.
1. Mobile Business
Cuauhtemoc Delgado
28.11.2007
Development of Business Applications
1
2. Mobile Business
Presentation Contents:
Background
WAP
WML
WMLScript
Demo
2
3. Background (1/2)
Wireless data market and the Internet are growing very
quickly. New and exciting information services.
Users in movement. Services without desktop access.
Most of the original technology developed for the Internet
has been designed for desktop and larger computers.
Most of the designs for medium to high bandwidth,
generally reliable data networks.
source: Wireless Application Protocol Forum – WAP-210-WAPArch-20010712-a.pdf 3
4. Background (2/2)
Services for Hand-held devices?, but...
Less powerful CPUs,
Less memory (ROM and RAM),
Restricted power consumption,
Smaller displays, and
Different input devices (e.g., a phone
keypad).
source: Wireless Application Protocol Forum – WAP-210-WAPArch-20010712-a.pdf 4
6. Wireless Application Protocol
WAP is published by the WAP Forum, founded in
1997 by Ericsson, Motorola, Nokia, and Unwired
Planet. Forum members now represent over 90%
of the global handset market, as well as leading
infrastructure providers, software developers and
other organizations
6
7. Mobile Business
Presentation Contents:
Background
WAP
WML
WMLScript
Demo
7
8. What is WAP?
wireless industry came up with the idea of WAP. The point of this standard was to
The
show internet contents on wireless clients, like mobile phones.
WAP stands for Wireless Application Protocol
WAP is an application communication protocol
WAP is used to access services and information
WAP is inherited from Internet standards
WAP is for handheld devices such as mobile phones
WAP is a protocol designed for micro browsers
WAP enables the creating of web applications for mobile devices.
WAP uses the mark-up language WML (not HTML)
WML is defined as an XML 1.0 application
wireless services provided by WAP are independent of the underlying digital
The
wireless network technology
8
http://www.w3schools.com/wap/wap_intro.asp
9. WAP outside
Checking train table information
Ticket purchase
Flight check in
Viewing traffic information
Checking weather conditions
Looking up stock values
Looking up phone numbers
Looking up addresses
Looking up sport results 9
10. WAP MODEL
WAP CLIENT
WAP GATEWAY
WEB BROWSER
http://www.javaworld.com/javaworld/jw-06-2000/jw-0602-wap.html?page=2 10
11. WAP BROWSER
* WAP uses a Micro
Browser.
* minimal demands
on hardware, memory
and CPU.
* display restricted
mark-up language
called WML.
11
12. WAP GATEWAY
Intermediary between the mobile and Internet networks.
Takes care of the necessary binary encoding of content.
Can also translate WML to/from HTML
DNS resolution.
12
http://articles.techrepublic.com.com/5100-22-1045252.html
13. WEB SERVER
HTML
DYNAMIC HTML
WML
DYNAMIC WML
13
14. Mobile Business
Presentation Contents:
Background
WAP
WML
WMLScript
Demo
14
15. XML first...
XML stands for
<note>
EXtensible Markup
<to>SnFco.</to>
Language. <from>Fulda</from>
<subj>Reminder</subj>
<body>
Start working!, demo on
1st. December
XML is designed to
</body>
describe data and to </note>
focus on what data is.
15
16. What is WML?
WML stands for Wireless Markup Language. It is a
mark-up language inherited from HTML, but WML
is based on XML, so it is much stricter than HTML.
WML is used to create pages that can be displayed
in a WAP browser. Pages in WML are called
DECKS. Decks are constructed as a set of
CARDS.
Home pages .wml instead of .html
16
http://www.w3schools.com/wap/wap_intro.asp
18. WML Tags
WML is mostly about text.
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>)
All tags must be properly closed.
18
http://www.w3schools.com/wap/wap_intro.asp
19. WML Decks And Cards
pages are called DECKS.
WML
are constructed as a set of CARDS.
DECKS
related to each other with links.
CARDS
a WML page is accessed all the cards in the
When
page are downloaded from the WAP server.
Navigation between the cards is done by the phone
computer - inside the phone - without any extra
access trips to the server.
19
http://www.w3schools.com/wap/wap_intro.asp
21. WML tags summary
Paragraphs input fields
Line breaks select an option
Text Formating go, previous, refresh
Tables set and read variables
Links
Images (.wbmp)
21
22. Mobile Business
Presentation Contents:
Background
WAP
WML
WMLScript
Demo
22
23. What Is WMLScript?
WMLScript is the scripting language used in WML pages
WMLScript is a light version of the JavaScript language
WML scripts are not embedded in the WML pages. WML pages
only contains references to script URLs
WMLScript is compiled into byte code on the server before it is
sent to the WAP browser
WMLScript is a part of the WAP specification
Used to validate user input, generate dialog boxes, view error
messages.
http://www.w3schools.com/wmlscript/default.asp
23
24. Calling WmlScript
<?xml version=quot;1.0quot;?>
<!DOCTYPE wml PUBLIC quot;-//WAPFORUM//DTD WML 1.1//ENquot;
quot;http://www.wapforum.org/DTD/wml_1.1.xmlquot;>
<wml>
<card id=quot;no1quot; title=quot;Go to URLquot;>
<do type=quot;optionsquot; label=quot;Goquot;>
<go href=quot;check.wmls#go_url('yahoo')quot;/>
</do> /* this is check.wmls */
</card> extern function go_url(the_url)
{
</wml>
if (the_url==quot;yahooquot;)
{
WMLBrowser.go(quot;http://wap.yahoo.com/quot;)
}
}
24