|Developer(s)||Apache Software Foundation|
|Stable release||0.3.0 / February 23, 2007|
|Development status||Retired from incubation|
|License||Apache License 2.0|
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.
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>