ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: APPML :: °¸ÀýÑо¿£ºAppML

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

APPML
AppML ¼ò½é
AppML °¸Àý
AppML °¸Àý˵Ã÷
AppML ÍøÂç·þÎñ
°¸ÀýÑо¿¼ò½é
°¸ÀýÑо¿£ºÊý¾Ý¿â
°¸ÀýÑо¿£ºAppML
°¸ÀýÑо¿£ºHTML ±..
°¸ÀýÑо¿£ºHTML ±..
°¸ÀýÑо¿£ºÄ¿Â¼
°¸ÀýÑо¿£º²úÆ·
°¸ÀýÑо¿£ºÍÐÔËÈË
°¸ÀýÑо¿£º¹©Ó¦ÉÌ
°¸ÀýÑо¿£º¿Í»§
°¸ÀýÑо¿£º¹ÍÔ±
°¸ÀýÑо¿£ºÓ¦ÓóÌ..
°¸ÀýÑо¿£ºÏÂÔØ
AppML FAQ
AppML Îĵµ
AppML Êý¾Ý¿âÔªËØ

°¸ÀýÑо¿£ºAppML


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:2739 :: ::

AppML describes an application.
AppMLÃèÊöÁËÒ»¸öÓ¦ÓóÌÐò¡£

An AppML web service executes it.
AppMLÍøÂç·þÎñÆ÷Ö´ÐÐËü¡£


Describe the Application
ÃèÊöÓ¦ÓóÌÐò

The purpose of AppML is to describe applications. AppML does this by describing elements. With AppML you can describe database elements, report elements, form elements, and many other elements.
AppMLµÄÄ¿µÄÊÇÓÃÓÚÃèÊöÓ¦ÓóÌÐòµÄ¡£AppMLͨ¹ýÃèÊöÔªËØÀ´ÊµÏÖ¡£Í¨¹ýAppML£¬Äã¿ÉÒÔÃèÊö¾ßÌåµÄÊý¾Ý¿âÔªËØ¡¢±¨¸æÔªËØ¡¢±íµ¥ÔªËغͺܶàÆäËüµÄÔªËØ¡£

This is an example of an AppML description:
ÏÂÃæÊÇÒ»·Ý¹ØÓÚAppMLÃèÊöµÄ°¸Àý£º

<appml>
  <database>
<connection>northwind</connection> 
  <sql>SELECT CompanyName, Country FROM Customers</sql>
</database>
</appml>

In the example above, the <appml> tag is used to define an AppML document. The <connection> tag, inside the <database> tag, defines a named connection to a database, and the <sql> tag defines a standard SQL statement to select records from the database.
ÔÚÉÏÊö°¸ÀýÖУ¬<appml>±êÇ©ÊÇÓÃÓÚ¶¨ÒåAppMLÎĵµµÄ¡£<connection>±êǩǶÌ×ÔÚ<database>±êÇ©ÖУ¬¶¨ÒåÁËÒ»¸öÁ¬½ÓÊý¾Ý¿âµÄÖ¸¶¨Á´½Ó£¬<sql>±êÇ©ÊÇÒ»¸öÓÃÓÚ´ÓÊý¾Ý¿âÖÐÑ¡Ôñ¼Ç¼µÄ±ê×¼SQLÓï¾ä¡£


Execute the Application
Ö´ÐÐÓ¦ÓóÌÐò

To execute an AppML description you will need an AppML web service. The purpose of the web service is to execute the application based on the AppML description.
Ö´ÐÐÒ»¸öAppMLÃèÊö£¬ÄãÐèÒªÓõ½AppML ÍøÂç·þÎñ¡£ÍøÂç·þÎñµÄÄ¿µÄÊÇÖ´ÐлùÓÚAppMLÃèÊöµÄÓ¦ÓóÌÐò¡£

To access an AppML web service, you only have to link to it.
ÄãÖ»ÓÐͨ¹ýÁ¬½ÓÊý¾Ý¿âÀ´·ÃÎÊAppMLÍøÂç·þÎñ¡£

The following link: appml.asp?appname=customers&displaytype=report
ÏÂÃæÕâ¸öÁ´½Ó£ºappml.asp?appname=customers&displaytype=report
links to "appml.asp" with a request to run an HTML report based on an AppML description named "customers.xml".
ͨ¹ýÇëÇóÒ»¸ö»ùÓÚÃûΪ“customers.xml” µÄAppML ÃèÊöÀ´ÔËÐÐÒ»¸öHTML±¨¸æ¡£

The following link: appml.asp?appname=customers&displaytype=list
ÏÂÃæÕâ¸öÁ´½Ó£ºappml.asp?appname=customers&displaytype=list
links to "appml.asp" with a request to run an HTML list, based on an AppML description named "customers.xml".
ͨ¹ýÇëÇóÒ»¸ö»ùÓÚÃûΪ“customers.xml” µÄAppML ÃèÊöÀ´ÔËÐÐÒ»¸öHTMLÁÐ±í¡£


ÆÀÂÛ (3) 1 All