Long-time readers know that a few years ago the portal included a set of online code-generation services

  • UMLtoSQL: automatically generated a SQL DDL script to create the database corresponding to the input UML class diagram
  • UMLtoPHP: automatically generated full-fledged PHP applications from UML class diagrams. The service generated Doctrine models that thanks to the PHP/Symfony framework were sufficient to generate a full web application offering all typical CRUD operations.
  • UMLtoPython: full-fledged Python/Django applications from UML class diagrams. The service generated the models.py and admin.py files required by Django in order to automatically generate all the CRUD functionality for the application.

They were a completely failure from a business point of view (for several reasons as I reflected at that time) but since some people seems to be interested in the project itself I’ve released it as open source software.

Feel free to clone / contribute to the Git repository I’ve created in GitHub . I still believe in the ideas behind those services, mainly the idea of having smart code generators implementing the Pareto Principle for model-driven development

20% of the modeling effort suffices to generate 80% of the application code Click To Tweet

where many of the “dumb” CRUD code can be easily automatically generated (without having to explicit model that functionality) through scaffolding features offered by the target programming framework.

And I do have plenty of ideas of how to move this forward (e.g. there are now some pretty interesting full-stack Node frameworks  like Keystone.js that could be a nice target) but I doubt I will have the time to work on them anytime soon so feel free to offer a helping hand!.  Do it, even if you don’t think the current code can be reused in any way, again, exploring these ideas and discussing how to make them possible is the goal so I’m open to any kind of collaboration on this.

DISCLAIMER: This is just the core of the classes I was using at the time. Those classes were never created with the intention to release them to the public so there are not commented (and/or some comments may not even be in English), code is of low-quality and all the other possible disclaimers you can imagine. Any use of those classes is at your own risk (but I still hope they are useful to somebody).

Want to build better software faster?

Want to build better software faster?

Read about the latest trends on software modeling and low-code development

You have Successfully Subscribed!

Pin It on Pinterest

Share This