Skip to content

XRX plus plus Concepts

GVogeler edited this page May 31, 2021 · 14 revisions

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++ objects

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

All main XRX++ objects can have the following properties:

  • xrx:id (following the rules of the atom:id)
  • xrx:inherits or xrx: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 ++ inheritance

XRX++ objects can inherit properties. For more details see XRX ++ Inheritance

XRX ++ compilation

... 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.

How to use the compiler ...

Clone this wiki locally