XRX
From Wikibooks, the open-content textbooks collection
[edit] Web Development with XRX
XRX or XForms/REST/XQuery is a simple and elegant web application architecture that leverages modern declarative and functional programming systems. XRX allows the developer to create rich-client web applications that perform complex functions without the need for middle-tier objects, relational databases or client-side JavaScript.
XRX is based on three standards:
- XForms on the client
- REST interfaces
- XQuery on the server
These three standards have been created by the W3C standards organization and represent their vision of the future of web application development. For discussions on alternate definitions of the XRX web application architecture see What is XRX.
This wikibook is intended as an example that specifically uses all three of these technologies to create small applications that work together.
[edit] Related Wikibooks
There are two sibling Wikibooks that this Wikibook is designed to complement.
The XForms Tutorial and Cookbook Wikibook has over 90 sample XForms application to help you become familiar with the XForms model and XForms controls. Although XForms has only 21 elements they can be combined in many different ways to build very complex web clients.
The XQuery Wikibook is focused on using the XQuery language with almost all of the sample programs using the eXist native XML database.
The XForms Wikibook has minimal dependencies on which server you use to host your web forms. Almost all of the XQuery Wikibook does not assume any prior knowledge of XForms. This book, on the other hand, assumes that you will be using both XForms and XQuery to create a complete web application development environment.
[edit] New Subversion Repository
Many of the example programs in this cookbook are now being stored in a Subversion repository on GoogleCode. The URL for the XRX GoogleCode is here:
If you are using an IDE with a Subversion client such as Eclipse or oXygen, the URL for the repository is:
https://xrx.googlecode.com/svn/trunk
If you would like a read-only copy, you can use the non-SSL URL
http://xrx.googlecode.com/svn/trunk
[edit] Table of Contents
[edit] Introduction
- Introduction - an overview of the goals of this Wikibook and the intended audience
- Server Field Validation - using a server-side XQuery to validate a field
- Configuration File Editor - a simple file, single user XML configuration file editor using XForms and eXist
- Content Routing - inspecting the content of an XML document to apply save rules
- LAMP - Linux, Apache, MySQL and PHP
- AJAX - Asynchronous JavaScript and XML
- Adobe Flex - Adobe's system for building rich-client interfaces
- Microsoft Silverlight - Microsoft's strategy for putting XML in the browser
