Apache 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.

Apache XAP
Developer(s)Apache Software Foundation
Stable release
0.3.0 / February 23, 2007 (2007-02-23)
Written inJavaScript
Operating systemCross-platform
TypeAjax technology
LicenseApache License 2.0
Websitehttp://incubator.apache.org/xap

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>
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.