The GenMyModel transformations repository grows again with the addition of a new code generator for UML. This time, Ruby is the shining star. The new generator tries to cover as much as possible of the semantic you add in your class diagram.
A comprehensive journey into the deep wild code generator world. Part 1, translating class diagram structure:
Interface, class inheritance and interface realization to PHP code.
We recently introduced the online code template editor in GenMyModel for creating your own templates which generate code from your diagrams.
The editor is a full-featured MTL tool runing in the browser. Below are a few snapshots and details about the Python template of our library. In our sample library, the Python template produces the classes, attributes, inheritance relations, etc from the class diagrams. The template takes a UML model, browses its elements and translates the elements into code. The template is written in the standard MTL syntax (like Acceleo) and can easily be customized.
We are excited to unveil the code template editor in GenMyModel.
It’s now possible to create, modify and share Acceleo templates that generate code from your online diagrams. For example, you can design a code template that takes your class diagram and produces your REST API interfaces. Or it could just be your snippet generator. You decide what you generate and everything happens in the browser. The online editor relies on the Acceleo syntax (propulsed by Obeo) and provides live compilation, error checking, syntax coloring, auto-completion, generation preview and run.
We’re reaching out to the user community for help in creating custom code generators for GenMyModel. The first project is for PHP. Read on to find out more. The Idea We recently introduced a new feature that allows you to upload your own custom code generator to GenMyModel so that you can generate code from […]Continue reading
We want you to be able to create the code that you need from your UML models. That’s why we’re thrilled to introduce the first version of our custom code generator. What is it? If you follow us on Google+ or Twitter, you may have already heard about our new feature in GenMyModel and tried […]Continue reading
Without any doubt, automatic code generation from models is a strong feature allowing to save time and to keep consistency between models and code. One of the feature proposed by GenMyModel is to generate java source code from your model into Github repositories (config is accessible from “Tools->Generate->Generate Configurations…”). Here, we show how GenMyModel generation […]Continue reading