Build your application

Configuration language overview

A Lavoisier configuration is composed of data views and post-processors sections.

Each data view is described by a chain of adaptors executed in a predefined order:

  1. The connector (1): deals with data source technologies. It retrieves data from an external or an internal data source.
  2. The serializer (0-1): deals with input data format. It transforms a stream of bytes into a stream of XML events.
  3. The validator (0-1): deals with input data format. It validates the serialized XML stream (for example against a schema or a set of rules).
  4. The processors (0-many): deals with data processing. It transforms a stream of XML events into a new stream of XML events.
  5. The cache (0-1): deals with performance. It saves the generated stream of XML events in order to improve latency and/or availability. Data views are generated asynchronously when cache refresh is triggered, while user reads saved data views from cache. Cache refresh is triggered by a special kind of adaptor: The triggers (0-many).
  6. The post-processors (0-many): this attribute references a post-processors section. A post-processors section can be shared by several data views.
  7. The pre-renderers (0-1) IS NOT AN ADAPTOR: this section describes how to convert the data view into a two-dimensional representation, for renderers that need such a representation.
  8. The renderers (0-many): deals with output data format. It transforms a stream of XML events into a stream of bytes. On the contrary of other adaptors, configuring a renderer has no impact on the decision of using it or not. The renderer added to the chain of adaptors will always be the one that correspond to the MIME type accepted by user.
Plugins chain example

Each adaptor is configured with parameters (0-many). A parameter must have:

The XML stream is transformed using XML templates:

Documentation about other subjects: