Software:Apache XAP

From HandWiki
Apache XAP
Xap logo2.png
Developer(s)Apache Software Foundation
Stable release
0.3.0 / February 23, 2007; 16 years ago (2007-02-23)
Written inJavaScript
Operating systemCross-platform
TypeAjax technology
LicenseApache License 2.0
Websiteincubator.apache.org/xap

XAP (eXtensible Ajax Platform) is a software product presently under development at the Apache Software Foundation. XAP is an XML-based declarative framework for building interactive Ajax web applications. Developers hope to create a product that will interface with various Ajax software toolkits, reduce the need of program scripting and solve the development challenge as well as application maintenance challenges associated with Ajax programming.

XAP applications are defined using the XAL programming language, which differs from available declarative user interface languages in that it also includes declarations pointing to local or http-requestable data sources. XAL also makes provision for algorithmic alteration or replacement of the initially declared interface — for example, a button or link can easily be made to add a new piece of page layout to the page, defined using either XAL or HTML.

Example

Here an example of login screen:

<xal>
    <dialog>
        <horizontalBoxPane>
            <label text="Username"/>
            <textField id="username"/>
            <label text="Password"/>
            <textField id="password"/>
            <button text="login"
              onCommand="login-url"/>
        </horizontalBoxPane>
    </dialog>
</xal>

External links