Used beforeDia
This plotting software is not used as a tool. Recently, it was found that
UML
2php5 plug-in, which can be directly based onUML
Graph generates PhP5 code and supports Web Services! And for win edition!
Sample:
Generated PhP5 code:
<? PHP
/**
* Tool Library
* Code skeleton generatedDia
-UML
2php5 plugin
* Written by kdo kdo@zpmag.com
* @ Author Justin Wu (wenlong@php.net
)
* @ License sow.license
* @ Copyright (c) 2004-2005 sofee development team. (http://www.sofee.cn
)
*/
Class sofeeutil {
/**
* Obtain the Client IP Address
* @ Access public
* @ Return string
*/
Public final function getip (){
}
/**
* Get the directory size
* @ Access public
* @ Return integer
*/
Public final function getdirsize (){
}
}
?>
PS: the Web Services functions are powerful. You can find them by yourself :)
Installation Method:
1. Download required software:
Dia
-Http ://Dia
-Installer.sourceforge.net/
UML
2php5-http ://UML
2php5.zpmag.com/index.php
2. installation steps:
Dia
-Setup-0.94.zip unzip the package and install it directly.
SetUML
2php5-2.1.0.tar.gz decompress andDia
-UML
2php5. conf. XSL,Dia
-UML
2php5. ZX,Dia
-UML
2phpsoap. ZX,Dia
-UML
-Copy the classes. ZX and stylesheets. xml filesDia
/XLST directory.
Dia
-UML
2php5. conf. XSL isUML
2php5 configuration files, such as author, copyright, and Web services, are not difficult to configure according to the annotations in them.
3. Bug solving:
1) In this versionDia
If it fails in windows, the solution is: after the first operation, turn it off.Dia
And then set C:/Documents ents and settings/yourname /.Dia
Delete the Directory and re-open it.Dia
, Draw a few images until they are regenerated.Dia
Directory and Related Files (PeriodDia
There may be a false death. You don't need to worry about it. Just give it some time to start :-)).
2) After installation by default, Chinese characters cannot be entered, so you need to modify C:/program files/Dia
/Etc/gtk-2.0/gtkrc file, add font-name = "simsun" in the style.
Enjoy it!