... | ... | @@ -31,7 +31,7 @@ The [my/XRX/src/core](../tree/master/my/XRX/src/core) and [my/XRX/src/mom](../tr |
|
|
|
|
|
The my/XRX/src/core directory contains underlying functionality and the XRX infrastructure.
|
|
|
The my/XRX/src/mom directory contains the code connected to the mom-ca browser experience and interaction. Code that is not used in the inner MOM context is held outside of the mom folder in the core directory for conceptual clarity. Look at the auth folder for example: The folder can be found in both (core & mom) directories. But the one in the core directory is different from the one inside the mom directory.
|
|
|
Open the two auth.app.xml files side by side: The core/auth/auth.app.xml contains general infrastructral code. It contains different xQuery-modules that are pretty general. Now look at the mom/auth/auth.app.xml: In line 3 there is an xrx-element we have not seen before
|
|
|
Open the two auth.app.xml files side by side: The core/auth/auth.app.xml contains general infrastructural code. It contains different xQuery-modules that are pretty general. Now look at the mom/auth/auth.app.xml: In line 3 there is an xrx-element we have not seen before
|
|
|
-> ```<xrx:inherits>tag:www.monasterium.net,2011:/core/app/auth</xrx:inherits>```
|
|
|
The modules are inherited from /core/app/auth. So we have the basic infrastructural components at our disposal. The specific MOM implementation adds to that the routing information in the ```<xrx:resolver>``` element. And in the ```<xrx:conf>``` part that follows a sequence of rows that we are using in Monasterium.
|
|
|
A quick word concerning inheritance: As of now you will only ever find ```<xrx:inherits>``` elements in files in the mom directory and not in files in the core folder, because the core directory only contains the fundamental building blocks -- thus the name "core" directory.
|
... | ... | |