当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > AppML 网络服务

APPML
AppML HTML 报告
AppML 过滤函数
AppML HTML 列表
AppML HTML 表单
AppML XML 报告

APPML 中的 AppML 网络服务


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

The AppML description is executed by an AppML Web Service.
AppML语句是通过AppML网络服务器执行的。


AppML Separates Data from Process
AppML将数据从进程中分离出来

In application development, it is vital to separate the data from the processes that act on the data.
在应用程序的发展中,将数据从执行数据的进程中分离出来是一个非常重要的决定。

It is important to understand that the AppML description from the previous page cannot do anything.
前一章关于AppML的语句并不能完成任何功能,知道这点很重要。

The description has to rely on an AppML web service to execute the application.
具体语句需要依仗AppML网络服务器来执行具体的程序。


AppML Web Services
AppML 网络服务

Here are some of the AppML-based web services:
下面介绍一些基于AppML的网络服务:

HTML Report Service [HTML报告服务]
A web service that runs an HTML report based on an AppML description.
网络服务程序,用于运行一项基于AppML语句的HTML报告。

XML Report Service [XML报告服务]
A web service that runs an XML report based on an AppML description.
网络服务程序,用于运行一项基于AppML语句的XML报告。

HTML Form Service [HTML表单服务]
A web service that runs an HTML form based on an AppML description.
网络服务程序,用于运行一项基于AppML语句的HTML表单。

HTML List Service [HTML列表服务]
A web service that runs an HTML list based on an AppML description.
网络服务程序,用于运行一项基于AppML语句的HTML列表。

HTML DB Query Service [HTML DB 查询服务]
A web service that executes a database query based on an AppML description.
网络服务程序,用于执行一项基于AppML语句的数据库查询操作。


Examples of AppML Web Services
AppML网络服务案例

<appml>
<database>
<connection>music_db</connection>
<sql>select title,artist,year from cd_catalog</sql>
</database>
</appml>

The AppML description above can be read by different AppML services to produce different results. Here are a few examples:
上述的AppML语句可以被不同的AppML服务所读取来创建不同的结果。下面举一些例子:

An HTML Report generated by the HTML Report Service:
由HTML报告服务产生的HTML报告:

TITLE [ 标题 ] ARTIST [ 作者 ]
YEAR [ 年份 ]
Empire Burlesque Bob Dylan 1985
Hide your heart Bonnie Tyler 1988
Greatest Hits Dolly Parton 1982

An XML Report generated by the XML Report Service:
由XML报告服务产生的一份XML报告:

<cd_catalog>
<row>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<year>1985</year>
</row>
<row>
<title>Hide your heart</title>
<artist>Bonnie Tyler</artist>
<year>1988</year>
</row>
<row>
<title>Greatest Hits</title>
<artist>Dolly Parton</artist>
<year>1982</year>
</row>
</cd_catalog>

An HTML Form generated by the HTML Form Service:
由HTML表单服务产生的一份HTML表单:

Input Form [ 输入表单 ]

Title [ 标题 ]:
Artist [ 作者 ]:
Year [ 年份 ]:


评论 (1) 1 All

登陆 | 还没注册?