Welcome!

Apache Authors: Colin Walker, RealWire News Distribution, Juan Rivera, Jason Rahm, Maureen O'Gara

Related Topics: Apache, AJAX & REA, Web 2.0

Apache: Article

Apache XAP - The New Approach to AJAX

XAP represents a new way of developing, deploying and maintaining AJAX applications

XAP is up and running at Apache (under Apache Incubator)...

It's initial website is at: http://incubator.apache.org/xap. For those who are really brave, feel free to participate xap-dev@incubator.apache.org for discussions / suggestions / comments, or dig into source repositary.

Why XAP and What Is The Value of Declarative Ajax?
XAP represents a new way of developing, deploying and maintaining Ajax applications. It uses a declaratiave syntax (XAL, http://www.openxal.org/) for describing UI, Data, Data Binding - so that the only Javascript code that needs to be written is business logic. Everything else can be done declaratively (or even using visual development tools). The following diagram shows how XAP simplifies Ajax development:

In the "Old Model", developers have to write Javascript code for everything: Ajax UI, business logic, data, borwser compatibility and network communications, etc. In the XAP model, the only Javascript to write is business logic. Everything else is done declaratively and covered by XAP itself.

XAP Architecture
XAP is based on an application design center while most of the Ajax offerings today are based on a web design center. XAP actually leverages Dojo and other Ajax toolkits for various functionality, instead of reinventing the wheel. The following is the overall XAP architecture:

In the next article, we'll cover:

1. XAP positioning?

2. What are the out-of-box functionality from XAP?

3. XAP Plugin Architecture: the Magic that support any markup or any Ajax toolkit

4. XAP code samples

More Stories By Coach Wei

Coach Wei is the Founder and Chairman of Nexaweb (www.nexaweb.com), developers of the leading software platform for building and deploying Web 2.0 and AJAX applications. Previously, he played a key role at EMC Corporation in the development of a new generation of storage network management software. Wei has his master's degree from MIT, holds several patents, is the author of several technology publications including JDJ, Web 2.0 Journal, and AJAXWorld Magazine, and is an industry advocate for the proliferation of open standards.

Comments (3) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
SYS-CON Australia News Desk 06/24/06 12:36:15 PM EDT

XAP represents a new way of developing, deploying and maintaining Ajax applications. It uses a declaratiave syntax (XAL, http://www.openxal.org/) for describing UI, Data, Data Binding - so that the only Javascript code that needs to be written is business logic. Everything else can be done declaratively (or even using visual development tools). The following diagram shows how XAP simplifies Ajax development.

SYS-CON India News Desk 06/24/06 12:21:20 PM EDT

XAP represents a new way of developing, deploying and maintaining Ajax applications. It uses a declaratiave syntax (XAL, http://www.openxal.org/) for describing UI, Data, Data Binding - so that the only Javascript code that needs to be written is business logic. Everything else can be done declaratively (or even using visual development tools). The following diagram shows how XAP simplifies Ajax development.

AJAXWorld News Desk 06/24/06 11:51:19 AM EDT

XAP represents a new way of developing, deploying and maintaining Ajax applications. It uses a declaratiave syntax (XAL, http://www.openxal.org/) for describing UI, Data, Data Binding - so that the only Javascript code that needs to be written is business logic. Everything else can be done declaratively (or even using visual development tools). The following diagram shows how XAP simplifies Ajax development.