-
Notifications
You must be signed in to change notification settings - Fork 11
Project Structure
On this page, the most important parts of the MOM-CA source code project are described.
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.
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:
- an XQuery Excel module for the conversion of Excel sheets into XML
- an XQuery minify module to minify JavaScript and CSS resources
Besides these two new modules, there are patches and extensions implemented for some existing eXist XQuery modules:
- the eXist SQL module is extended with the possibility to dynamically load an SQL driver
- the eXist XSL-FO module is extended with a server-side font cache machanism
- the eXist image module has some fixes related to the image cropping feature
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.
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.
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.
The build directory contains the build system for the MOM-CA platform, which is based on Apache Ant.