You have some Java-JPA code and you want to generate a SQL schema? Or you wonder how GenMyModel generates from UML to SQL? Read on this practical post to find out more.
The GenMyModel Blog
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.
A new Domain Specific Language (DSL) built to give you the ability to modify and query your models from your browser, directly in GenMyModel.
Who does not want to query or modify her/his model? Do you ever tell to yourself after a modification in your model: “Damn, I need to postfix all my 50 Classes with ‘DAO’…”? Or “I must add an attribute to all my classes… It’s gonna take forever”. If you don’t, well… lucky you, I asked myself this kind of questions many times a day.
Our team is happy to unveil the new Database Diagram Editor in GenMyModel. It enables you to design databases online with the power of real-time collaboration and code generation. The data modeling editor completes the GenMyModel modeling platform which now covers a wide spectrum of diagrams: ER, UML, Flowchart and EMF. As a full-featured collaborative platform in the browser, GenMyModel is now at the center of software design in agile teams.
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.
As our sprint has just ended, we’re excited to announce what comes out: copy/paste, revision history, custom canvas size, class association in the class diagram, and the self-delegation in the sequence diagram. Want to see this in action? Sign in now. Copy / paste Copy and paste model elements to your diagrams. For the moment, elements cannot be pasted […]Continue reading
Good news: the special offer continues until November 30th. If you subscribe to a GenMyModel paid plan before November 30th 2014, you will still benefit from 15% off normal subscription prices. Even better, you will benefit from this reduced price for as long as you keep a paid subscription (even if you change plans)! This […]Continue reading
We’re excited to unveil new features including model generation from Java, dashboard notifications, and the coloring that will make collaboration with your diagrams even easier. Read on! UML Model generation from Java It’s now possible to create an UML model out of an existing Java code repository. Just give the URL of your Git repository […]Continue reading
We’ve been using a great tool called Cloud9 to edit our code generated by GenMyModel. Find out more with our video demo. What is Cloud9 (C9)? For those of you who haven’t used it yet, C9 is a great online code editor that allows you to edit your code from any browser and collaborate with […]Continue reading