UML modelling tool for php

时光总嘲笑我的痴心妄想 提交于 2019-12-08 06:11:47

问题


My question is what do you use when you create large scale php applications. I havent found so far a decent UML modelling tools which would have these features:

  • nice GUI
  • adding attributes and methods by click (no like big edit with raw text and new lines)
  • generate php classes
  • drag and drop classes

for modelling databases I use MySQL workbench and it is really god for what I need to do.

thanks.


回答1:


You could give UML Lab (http://uml-lab.com) a try (Note: I'm biased as I'm working for Yatta Solutions ;) ). The tool supports Java and PHP, and has built-in support for round-trip-engineering. It also brings support for PHP code using a MySQL database.

There are several tutorials available; you could for example start with http://www.uml-lab.com/en/uml-lab/tutorials/modellierung-und-codegenerierung/. The tool is also capable of importing existing PHP source code (reverse engineering).

UML Lab is integrated in Eclipse, so you could for example install the Eclipse PDT to have syntax highlighting and code completion for the generated PHP source files.

It's a commercial tool, but there is a 30 days trial and a free academic edition. If you have any questions don't hesitate asking them in the forum, bug tracker or by mail.




回答2:


GenMyModel Matches perfectly your description and you can now customize your own PHP generator following this tutorial.



来源:https://stackoverflow.com/questions/14299188/uml-modelling-tool-for-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!