HOME

AppML
AppML HOME

Web Applications
Web Services
Web Solution

AppML Intro
AppML How To
AppML Elements
AppML Services
AppML Document
AppML Database
AppML Reports
AppML Filters
AppML Lists
AppML Forms
AppML XML
AppML Partners

Case Study
Case Intro
Case Database
Case How To
Case HTML Reports
Case Corporate
Case HTML Forms
Case Application

Award Winning Web Host Full Services Including Ecommerce
Please visit our sponsors !

AppML Elements

home next

With AppML, you will describe your application elements using XML.


AppML Elements

With AppML, all application elements are described using standard XML.

A predefined set of XML tags are used to describe files, documents, databases or database content, input forms, reports, queries, functions, menus, and a lot more.

Please take a closer look at the examples below:


A CD Catalog Stored in a Database:

TITLE ARTIST YEAR
Empire Burlesque Bob Dylan 1985
Hide your heart Bonnie Tyler 1988
Greatest Hits Dolly Parton 1982


Example 1: A Database Element

AppML uses an <appml> document to describe a selection of data from the database:

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

Note that the description is written in standard XML. Also note that AppML uses SQL to describe a selection from a database table.


Example 2: A Form Element

AppML can use a <form> element to describe an XHTML input form.

<form>
<table border="0" width="100%">

<tr>
<td>Title:</td>
<td><input size="30" id="title" value="" /></td>
</tr>

<tr>
<td>Artist:</td>
<td><input size="30" id="artist" value="" /></td>
</tr>

<tr>
<td>Year:</td>
<td><input size="4" id="year" value="" /></td>
</tr>

</table>
</form>

Note that the description is written in standard XHTML. Also note that AppML uses the id attribute to identify the input fields.


AppML Separates Data from Process

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 element descriptions from the two examples above cannot do anything. AppML has to rely on a separate Web Service to connect to a database and execute the selection. AppML also has to rely on a Web Service to execute the application input form.

With AppML, all application elements are described using AppML, but the application itself is executed by a collection of different Web Services.

You can read more about AppML Web Services in the next chapter.


home next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


Search W3Schools:


What Others Say About Us

Does the world know about us? Check out these places:

Dogpile Alta Vista MSN Google Excite Lycos Yahoo Ask Jeeves


We Help You For Free. You Can Help Us!


W3Schools is for training only. We do not warrant its correctness or its fitness for use. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2002 by Refsnes Data. All Rights Reserved


Validate How we converted to XHTML Validate

IISProtect
Password Protect
Your Web Pages



Your own Web Site?

Read W3Schools
Hosting Tutorial



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

University Online
Master Degree
Bachelor Degree


Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search