XRX/Building your First XRX Application

From Wikibooks, the open-content textbooks collection

< XRX
Jump to: navigation, search

[edit] How Build Your First XRX Application

Although there are many different ways you can build an XRX application, there are two vital ingredients to get you started. First you will need a way to create XQueries with RESTFul interfaces. The OpenSource native XML database eXist seems to be the favorite of most people although the MarkLogic server has a community version that is free as long as your data sets are under 100MB.

The second tool you will need is some client that will take an XML data stream and build applications with it. My preference is to use the FireFox XForms addon although the Picoforms XForms client will also work very well.

There are five architectural tasks that you will need to master. They go by phrase CRUDS: Create, Read, Update, Delete and Search. Having a tool to quickly import XML data from spreadsheets is also very useful as you migrate more data into your XRX application server. The oXygen XML editor is a favorite because is has strong support for the eXist database.

Once you have understood the basic concepts in the CRUDS cycle you can then explore ways to optimize reports using XQuery and XQuery functions and modules.