Violent modeling tool Dia

Source: Internet
Author: User
Tags xsl

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.