Heim  >  Artikel  >  php教程  >  php5的UML建模

php5的UML建模

WBOY
WBOYOriginal
2016-06-06 19:49:001729Durchsuche

今天在坛子里找到一哥们儿给的php5的建模工具。试验了一番,果然不错。下面把安装过程分享一下。 这个工具叫DIA 主页是http://live.gnome.org/Dia其实是一个多功能的画图工具,给这个工具安装一个UML2php5的插件就能搞uml了。 1、首先打开这个东西下载dia:

今天在坛子里找到一哥们儿给的php5的建模工具。试验了一番,果然不错。下面把安装过程分享一下。
这个工具叫DIA 主页是http://live.gnome.org/Dia  其实是一个多功能的画图工具,给这个工具安装一个UML2php5的插件就能搞uml了。

 

1、首先打开这个东西下载dia:
 http://live.gnome.org/Dia 

 

2、下载第一个东西,也就是dia


 php5的UML建模

 

3、浏览到页面最后,下载uml2php5-2.2.0.zip

 

4、下载完毕后打开dia的压缩包,并安装

 

5、安装完毕后将uml2php5-2.2.0.zip压缩包内的东西复制到“dia/xslt”目录下面,如果提示覆盖我是直接就覆盖了。

 

6、启动dia ,启动时有可能提示错误,不过没有关系,关掉dia后再重新打开dia就没有问题了。

 

7、在file菜单里新建一个页面,在第二栏的“assorted”菜单里选择uml,你就可以工作了。

php5的UML建模

 

 

我遇到的问题:

 

1. 导出php代码:

首先保存文件,然后在右键菜单选择导出,导出为code:

 php5的UML建模

 

2.累的comment不显示中文:

解决方案:

php5的UML建模 

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn