Welcome!

Coach Wei

Subscribe to Coach Wei: eMailAlertsEmail Alerts
Get Coach Wei via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Related Topics: RIA Developer's Journal, Apache Web Server Journal

RIA & Ajax: 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 founder and CEO of Yottaa, a web performance optimization company. He is also founder and Chairman of Nexaweb, an enterprise application modernization software company. Coding, running, magic, robot, big data, speed...are among his favorite list of things (not necessarily in that order. His coding capability is really at PowerPoint level right now). Caffeine, doing something entrepreneurial and getting out of sleeping are three reasons that he gets up in the morning and gets really excited.

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.