|
|
Proposal to provide declarative syntax for XAP - eXtensible Ajax Platform
|
05/10/2006, By Ajax Impact News
|
Over Apache Incubator, Coach Wei of Nexaweb Technologies has put an proposal on XAP - eXtensible Ajax Platform.
XAP is to provide an XML-based declarative framework for building, deploying and maintaining rich, interactive, Ajax-powered web applications. A basic principal of XAP is to leverage existing Ajax projects such as Apache Kabuki and Dojo, as well as other community efforts such as Eclipse openAjax.
It aims to be pluggable with various Ajax toolkits, reduce the need of scripting and solve the development challenge as well as application maintenance challenges associated with Ajax programming.
XAP is an open source declarative framework for building web 2.0 applications. It enables the richness and functionality of desktop software in a browser environment, leverages the power of Ajax, but significantly lowers the complexity and cost of code development and maintenance.
XAP is a pure client-side runtime that is implemented using Ajax. It supports popular modern browsers and can work with any server side environments.
How does it work:
XAP is driven by an XML declarative markup that contains:
User interface markup that provides sophisticated user interface control and layout management
Incremental update instructions; XModify syntax, using XPath, provides declarative means of modifying user interface state
Lifecycle and module instructions; macros, MCOs and system services can be defined and executed via XML
Data binding syntax; connects user interface elements to data sources
Event handlers; these connect to client side or server side handlers
This XML is loaded from the server by a client side XAP engine, a small JavaScript coded module that parses and takes action on each of these XML tags. This builds a user interface DOM - seperate from the HTML DOM - that represents the application display and state. This user interface DOM provides a listener mechanism; listeners can be set up to listen for DOM structure or attribute changes.
Event handling can take place at the client, using managed code objects (MCOs) written in JavaScript, or on the server with event handlers written in any language supported by the server environment. The MCO mechanism provides life cycle management and object orientation for business and user interface logic.
XAP-based application high level architecture:
Read more on XAP at Nexaweb
Read Complete Proposal on XAP...
|
Rate this Ajax News
Rating: 7.0 out of 5 votes cast
| |
|
|
| |
|
|
|
|
|
|
|
|