-
Notifications
You must be signed in to change notification settings - Fork 11
XRX plus plus Concepts
XRX++ is an additional code abstraction layer sitting in front of XRX offering a variety of extra concepts and features for XRX development such as conventions for better code modularity, an inheritance concept to optimize code reusage, a common internationalization concept working accross XML technologies, a compression service for JavaScript and CSS files ...
XRX++ uses a schema of objects extending the general XRX concepts. It is described in a XSD-Schema which is part of the XRX++-core. It defines the following XRX++ objects:
Additionally XRX++ contains elements for
-
internationalisation/localisation (i18n):
xrx:key
,xrx:text
(the text displayed),xrx:default
(the text displayed if there is no language specificxrx:text
). - authentication
- ... to be continued ...
All main XRX++ objects can have the following properties:
-
xrx:id
(following the rules of the atom:id) -
xrx:inherits
orxrx:implements
(see XRX ++ Inheritance) xrx:title
xrx:subtitle
-
xrx:description
(it is strongly recommended to document the taks your code should fulfill, the properties, and methods of the current obejct in this section) -
xrx:author
(obligatory) -
xrx:licence
(obligatory) (see licence) xrx:constructor
xrx:variables
XRX++ objects can inherit properties. For more details see XRX ++ Inheritance
... creates the MOM-CA.live
collection in which the extended code from the definitions in src
is written. You can find the source code for the compilation process in build/compiler.xql.