Skip to content
JochenGraf edited this page Mar 25, 2014 · 74 revisions

On this page, the most important parts of the MOM-CA source code project are described.

Java Perspective

my/betterFORM

betterFORM is an XForms processor bundled with the eXist Native XML database. Normally, the betterFORM XForms processor is just used in MOM-CA for user interface development. The cooperation project Virtuelles deutsches Urkundennetzwerk, above that, implemented a betterFORM extension for MOM-CA, namely an XForms control for XML Mixed Content edition. The code is located in my/betterFORM. See the MOM-CA compiling and deployment guide on how to compile and integrate a custom betterFORM version into MOM-CA.

my/eXist/extensions/module/src
my/eXist/src

MOM-CA uses and in some parts extends and patches the eXist application server. The source code extending or patching eXist is located under my/eXist. eXist provides an interface to write custom XQuery modules with which one can extend the standard XQuery function-set and the eXist XQuery function extensions. Following this interface, MOM-CA implements two new XQuery modules:

Besides these two new modules, there are patches and extensions implemented for some existing eXist XQuery modules:

Two eXist core XQuery modules are patched as well:

  • the eXist text XQuery module is extended with a function to compute text differences. The function forms the basis for the XML version difference tool.
  • the eXist validation XQuery module is extended with a custom XRX XML validation error handler for user-friendly validation reports.

See the MOM-CA compiling and deployment guide on how to compile custom eXist XQuery modules into a MOM-CA instance.

my/XRX/src/core
my/XRX/src/mom

The my/XRX/src/core and my/XRX/src/mom directories contain the XRX source code of the MOM-CA platform, the most important part of the MOM-CA code project.

See the section XRX++ Development for detailed information about the XRX project structure.

See the MOM-CA compiling and deployment guide on how to compile and deploy XRX source code into a MOM-CA instance.

my/XRX/res/jssaxparser
my/XRX/res/jquery
my/XRX/res/codemirror
my/XRX/res/xml

my/XRX/system

The my/XRX/system directory contains database index configuration files important for the eXist database to perform well with MOM-CA's large XML data collections. See the eXist index configuration guide for detailed information.

See the MOM-CA compiling and deployment guide on how to deploy the index files.

build

The build directory contains the build system for the MOM-CA platform, which is based on Apache Ant.

Clone this wiki locally