当前位置: 首页 > 网络学院 > XML相关教程 > WAP > WAP 介绍

WAP
WAP 介绍
WAP 基础知识
WML 格式化
WML 链接
WML Input
WML 任务
WML 计时器
WML 变量
WML 实例
Validate WML
WML 参考
WML 字符实体
WML DTD

WAP 介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 584 ::
收藏到网摘: n/a

The WAP protocol was designed to show internet contents on wireless clients, like mobile phones.
WAP协议用于在如手机的无线用户端口上显示英特网的内容。


What you should already know
你应所已知道的:

Before you continue you should have a basic understanding of the following:
在继续之前你该对以下内容有基本的了解:

  • WWW, HTML and the basics of building Web pages
    WWW, HTML和建设网页的要素
  • JavaScript
  • XML

If you want to study these subjects first, before you start reading about WAP and the wireless markup language WML, you can find the tutorials you need at RuanChen' Home Page.
如果在开始阅读有关WAP和无线标记语言WML之前,你想先学这些内容,你可以在RuanChen教程主页上找到所需教程。


What is WAP?
什么是WAP?

The wireless industry came up with the idea of WAP. The point of this standard was to show internet contents on wireless clients, like mobile phones. 
无线产业提出了WAP的概念。这个标准的作用是在像手机这样的无线用户端口上显示英特网上的内容。

  • WAP stands for Wireless Application Protocol 
    WAP是Wireless Application Protocol(无线应用程序协议)的缩写
  • WAP is an application communication protocol
    WAP是一份应用程序通信协议
  • WAP is used to access services and information
    WAP用于访问服务和信息
  • WAP is inherited from Internet standards
    WAP是从英特网标准中衍生出来的
  • WAP is for handheld devices such as mobile phones
    WAP用于像手机这样的掌上部件
  • WAP is a protocol designed for micro browsers
    WAP是为微型浏览器设计的协议
  • WAP enables the creating of web applications for mobile devices.
    devices. WAP可以为移动部件创编网页应用程序
  • WAP uses the mark-up language WML (not HTML)
    WAP用标记语言WML(不是HTML)
  • WML is defined as an XML 1.0 application
    WML定义为一份XML 1.0应用程序

The Wireless Application Protocol
无线应用程序协议

The WAP protocol is the leading standard for information services on wireless terminals like digital mobile phones.
WAP协议是用于像数字手机这样的无线终端上的信息服务方面的最主要标准。

The WAP standard is based on Internet standards (HTML, XML and TCP/IP). It consists of a WML language specification, a WMLScript specification, and a Wireless Telephony Application Interface (WTAI) specification.
WAP标准是以英特网标准为基础的(如HTML, XML 和TCP/IP). 它由WML语言规范,WMLScript(WML脚本)规范,无线电话应用程序界面规范三项构成的。

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. You can read more about the WAP forum at our WAP Forum page.
WAP由WAP论坛公布,WAP论坛是由Ericsson, Motorola, Nokia, 和Unwired Planet.公司于1997年成立的。论坛成员现在覆盖了全球手机市场的90%以上 ,还有领头的下游组件提供商,软件开发商和其它组织机构。在我们的WAP Forum page.上你可以阅读到更多有关WAP论坛


WAP Micro Browsers
WAP微型浏览器

To fit into a small wireless terminal, WAP uses a Micro Browser.
为了适合小型无线终端口,WAP使用微型浏览器

A Micro Browser is a small piece of software that makes minimal demands on hardware, memory and CPU. It can display information written in a restricted mark-up language called WML.
Micro Browser是对硬件,内存和CPU要求很低的小软件。它可以显示以名叫WML的一种有限标记语言形式写成的信息

The Micro Browser can also interpret a reduced version of JavaScript called WMLScript.
Micro Browser也可以对名为WMLScript.的JavaScript简化版本进行解释说明


What is WML?
什么是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是Wireless Markup Language(无线标记语言)的缩写。它是从HTML衍生出的语言,但WML是以XML为基础的,所以它比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.
WML用于创建可以在一个WAP浏览器上显示的页面。WML中的页面称为“一幅card”。“一幅card”是由“一组card”构成的。


What is WMLScript?
什么是WMLScript?

WML uses WMLScript to run simple code on the client. WMLScript is a light JavaScript language. However, WML scripts are not embedded in the WML pages. WML pages only contains references to script URLs. WML scripts need to be compiled into byte code on a server before they can run in a WAP browser.
WML用WMLScript在用户端上运行简单的代码,. WMLScript是浅显的JavaScript语言。但是,WML脚本程序并不植入于 WML 页面里。WML页面只包含描述URL的参考。WML脚本在 WAP浏览器上运行之前,必须在服务器上被编译为字节代码。


Examples of WAP use
WAP实用的例子

  • 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
    查询运动比赛结果

FAQ about WAP
关于WAP的问答

These are frequently asked question about WAP:
这些是有关WAP的常见问题

  • What is WAP?
    什么是WAP?
  • Who is WAP for?
    WAP是用于什么的?
  • How does WAP relate to standardization bodies?
    WAP和标准化主体有什么联系?
  • How is WAP related to Internet standards?
    WAP和英特网标准有什么联系?
  • What is the status of WAP?
    WAP的情况如何?
  • What is the future of WAP?
    WAP的前景如何?

We will try to answer most of these questions. In the meantime read the answers at: http://www.wapforum.org/faqs/index.htm.
我们会试着回答这些问题。请在下面链接阅读有关回答http://www.wapforum.org/faqs/index.htm.

评论 (0) All

登陆 | 还没注册?