{"id":3607,"date":"2018-05-22T08:54:22","date_gmt":"2018-05-22T08:54:22","guid":{"rendered":"https:\/\/modeling-languages.com\/?p=3607"},"modified":"2019-12-18T16:51:32","modified_gmt":"2019-12-18T16:51:32","slug":"telosys-tools-the-concept-of-lightweight-model-for-code-generation","status":"publish","type":"post","link":"https:\/\/modeling-languages.com\/telosys-tools-the-concept-of-lightweight-model-for-code-generation\/","title":{"rendered":"Telosys – a lightweight and pragmatic code-generator"},"content":{"rendered":"

Telosys<\/strong> <\/a>is a simple and pragmatic code generator. Provided as a Command Line Interface tool<\/a> and as an Eclipse Plugin<\/a>, it uses an original approach based on 2 kinds of\u00a0 \u201clightweight models\u201d ( \u201cdatabase model\u201d and “DSL\/text model”).\u00a0This tool aims to provide an alternative to the classical “UML first” approach\u00a0that requires a significant workload at the beginning of the project to create a reliable and accurate model.<\/p>\n

Unlike conventional tools (tools based on MDA\/XMI approach), Telosys is very light and can be considered as a “tactical tool”. It has been designed by developers for developers and focuses on a quick start (its motto is “remain simple”).\u00a0The typical usage of Telosys can be described in 3 steps:<\/p>\n

1. Create your lightweight model<\/h2>\n

The first step is the setup of a lightweight model<\/strong> containing the entities definitions that will be used to generate the code.\u00a0\u00a0There are two ways to do that: with a “Database Model” or with a “DSL Model”<\/p>\n