Templates

Telosys code generation is based on "templates".

A template is a text file composed of static parts and dynamic parts using statements and references to variables. There is a template file for each type of file to generate.

Templates organisation

The Telosys templates are organised in "bundles".

A "bundle of templates" is a set of templates files designed to generate different target files that can work together.

For more information about "bundles" see :

Sample template bundles

Some examples are available here :

Templates language

A template is a file with a ".vm" extension written in "Velocity Template Language (VTL)". Velocity is a well known Open Source template engine ( http://velocity.apache.org/ )

The Velocity engine used in Telosys is version 1.7

For more information about "templates" see :

Last updated