Apache XAP

Apache XAP
Developer(s) Apache Software Foundation
Stable release
0.3.0 / February 23, 2007 (2007-02-23)
Development status Retired from incubation
Written in JavaScript
Operating system Cross-platform
Type Ajax technology
License Apache License 2.0
Website http://incubator.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

This article is issued from Wikipedia - version of the 6/3/2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.