Match's Blog

火柴的废话连篇

用UML2PHP5建模插件进行PHP建模

火柴 posted @ 2014年11月24日 11:15 in 未分类 with tags PHP UML 类图 , 1673 阅读

本文曾被我发布在http://my.oschina.net/xiaofengDavid/blog/345348

这几天在网上浏览PHP相关信息的时候,看见了一个不错的开源建模工具Dia,用Dia可以进行C++ Java 等语言建模之外,也可以进行PHP建模,不过看了几个教程,说的不是很明白,有些还漏了一些环节,因此我研究过后便写这文章了。不多说,要进行PHP建模首先要安装建模软件Dia:Dia官方下载地址,我下载的版本是0.97.2

6K7U}A{R{[71FZ$8SVIB2LX

下载完之后,进行安装,安装非常简单没有需要什么特别注意的。

打开菜单运行dia/Dia,便会到达主界面,确认Dia安装完成。

image

安装完成Dia之后,还需要安装UML2PHP5插件:UML2PHP5官方下载,

选择左上角的菜单中的Download->Installation Windows

$M(7}[USAS[PD3DS$6AT9I9

进入下载页面后下载uml2php插件

E_ADNOJ{PG5HHLWRA

下载该包后,解压,会发现有几个文件,复制以下文件到DIA软件目录的xslt子目录内:

stylesheet.xml    
dia-uml-classes.zx     
dia-uml2php5.zx     
dia-uml2phpsoap.zx     
dia-uml2php5.conf.xsl

记住原包中的stylesheet.xml要备份

再次打开dia,新建项目,左边工具箱下面选择UML

F82%9L[VC}CS(S9~J(3(U@V

画出相应的类图,如下所示(随便画得)

H}(RUWJGQK2NZ`%S(6$[8AB

完成之后 选择左上角文件->保存,然后选择文件->导出,

image

此时会弹出对话框选择保存类型,选择XSL转换过滤器(*.code),点击保存

 

image

此时会出现经XSLT导出对话框,记得选择UML-CLASSES-EXTENDED选项,这样才能选择导出为PHP5格式

imageimage

点击确定,此时程序会在选择保存文件的路径处导出建模好的PHP文件:

F0{$~E(]471X$H1CH5DEZ(6 image

mega888 official doa 说:
2021年8月29日 03:00

I exploit solely premium quality products -- you will observe these individuals on:

Satta king 说:
2021年9月25日 02:00

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing...

how to Add Signature 说:
2022年8月10日 19:20

Gmail is a user-friendly interface that brings a lot of features to the users like Gmail Signature, Google Hangouts, and more. In case, you have to send multiple emails daily then you may allow to add Gmail Signature. how to Add Signature to Gmail This saves your time and also lets the body of mails have the signature of you as an individual or if as an entity.

Haryana Board 12th I 说:
2022年8月17日 21:42

Two times a year, the affiliated schools in the state of Haryana administer the HBSE Matric Secondary or High Schools and Senior Secondary School Academic & Vocational levels. The HBSE 12th Guess Paper 2023 or the HBSE 12th Question Paper 2023 of the examination was issued by this board, which is in charge of administering the Haryana board 12th class examinations for all streams in the designated month. Haryana Board 12th Important Question Paper 2023 The New Question Paper has been formally issued by the Haryana Board on its official websites. It may be made available for all branches, including Arts, Science, and Commerce. For reference, students can download it and print it out.

AP SSC fa 1 Question 说:
2022年9月09日 21:16

Formative Assessment means not only an examination, it includes various aspects such as Examination in completed lessons, Reflections, Project work done on the allotted topic and Self also Prepared notes etc. AP SSC fa 1 Question Paper Candidates of Telugu Medium, English Medium & Urdu Medium of the AP State can download the AP 10th Class FA 4 Model Paper 2023 Pdf with answers for the regular exams conducted by the Directorate of Government Examinations, Andhra Pradesh.

먹튀검증 说:
2023年1月08日 21:23

small gardens are cute but i still prefer to have those medium sized gardens where i can grow some veggies-

net worth 说:
2023年12月13日 16:06

Not everyone knows all information about a celebrity and their net worth which changes every day according to their fame and investment but you can follow the info on idol net worth which is available for everyone.

seo service london 说:
2023年12月21日 21:53

Magnificent items from you, man. I have consider your stuff prior to and you’re. just too excellent. I actually like what you have bought right here,I read this post fully regarding the difference of most recent and preceding technologies, it’s awesome article.I cant wait to learn far more from you. That is actually a terrific website. 

먹튀검증 说:
2023年12月27日 13:45

Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !

슈퍼벳 도메인 说:
2023年12月27日 13:46

The selection of materials is paramount in creating these works of art. Only the finest leathers, sumptuous fabrics, and opulent metals are chosen, resulting in a tactile experience that speaks of indulgence and prestige. These materials are not just components; they are the essence of luxury itself.

벳샷도메인 说:
2023年12月27日 14:39

The information on your blog is very good. Thank you for taking the time to share it with us.Give me enough knowledge. Thank you for sharing useful materials. Undoubtedly, this article was written by a truly thoughtful writer. I agree with many of the viewpoints put forward by the author. I will come back day after day to get more new updates.

토토빅리그주소 说:
2023年12月27日 14:43

I would really like to say 'Thank you" , and I also study about this, why don't you visit my place? I am sure that we can communicate well.

원벳원 도메인 说:
2023年12月27日 15:26

The information on your blog is very good. Thank you for taking the time to share it with us.Give me enough knowledge. Thank you for sharing useful materials. Undoubtedly, this article was written by a truly thoughtful writer. I agree with many of the viewpoints put forward by the author. I will come back day after day to get more new updates.

먹튀스텟주소 说:
2023年12月27日 15:41

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!

먹튀사이트검증 说:
2023年12月27日 15:45

We are tied directly into the sate’s renewal database which allows us to process your request almost instantly

먹튀검증업체 说:
2023年12月27日 15:50

And he actually ordered me lunch simply because I stumbled upon it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanx for spending some time to discuss this issue here on your site.

메이저놀이터코드 说:
2023年12月27日 16:01

exact to end up traveling your blog once more, it has been months for me. Well this text that i've been waited for so long. I'm able to need this publish to general my challenge in the university, and it has exact identical topic together along with your write-up. Thank you, suitable percentage . Thank you because you've got been inclined to share statistics with us. We will always respect all you have finished here because i recognize you are very concerned with our. Come right here and study it as soon as

안전사이트추천 说:
2023年12月27日 16:08

Your writing is very charming, I think it's just like your people. Perhaps it's my honor to meet your writing. Your language is relaxed and lively, and after reading it, it makes me feel happy. You need to work hard to update it, and I will keep an eye on it.

먹튀다자바 주소 说:
2023年12月27日 16:19

Your articles are full of very solid information and logic. I definitely sorted my thoughts through your post. I really appreciate you sharing such a great post. Thank you so much. It would be great if you have time to check out my blog. up.

엔트리파워볼사이트 说:
2023年12月27日 16:27

Your articles are full of very solid information and logic. I definitely sorted my thoughts through your post. I really appreciate you sharing such a great post. Thank you so much. It would be great if you have time to check out my blog. up.

메이저사이트 说:
2023年12月27日 16:34

This is really a cool article. I need to learn more and use it to improve my deficiencies. It would be great if you could come to my blog and take a look.

메이저놀이터 说:
2023年12月27日 16:37

Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks

카디즈 说:
2023年12月27日 16:43

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post!

비바카지노주소 说:
2023年12月27日 16:46

I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good. Thanks a lot!

토토사이트검증 说:
2023年12月27日 16:50

The selection of materials is paramount in creating these works of art. Only the finest leathers, sumptuous fabrics, and opulent metals are chosen, resulting in a tactile experience that speaks of indulgence and prestige. These materials are not just components; they are the essence of luxury itself.

카지노양방리스크 说:
2023年12月27日 17:18

Two full thumbs up for this magneficent article of yours. I've really enjoyed reading this article today and I think this might be one of the best article that I've read yet. Please, keep this work going on in the same quality.

토토사이트 说:
2023年12月27日 17:31

The information on your blog is very good. Thank you for taking the time to share it with us.Give me enough knowledge. Thank you for sharing useful materials. Undoubtedly, this article was written by a truly thoughtful writer. I agree with many of the viewpoints put forward by the author. I will come back day after day to get more new updates.

라이브배팅 说:
2023年12月27日 17:59

The information on your blog is very good. Thank you for taking the time to share it with us.Give me enough knowledge. Thank you for sharing useful materials. Undoubtedly, this article was written by a truly thoughtful writer. I agree with many of the viewpoints put forward by the author. I will come back day after day to get more new updates.

라이브배팅 说:
2023年12月27日 18:01

The information on your blog is very good. Thank you for taking the time to share it with us.Give me enough knowledge. Thank you for sharing useful materials. Undoubtedly, this article was written by a truly thoughtful writer. I agree with many of the viewpoints put forward by the author. I will come back day after day to get more new updates.

토토먹튀검증커뮤니티 说:
2023年12月27日 18:01

That are surely wonderful. A large number of tiny essentials are created obtaining lot of reputation know-how. I am just looking towards an item tons.

검증커뮤니티 说:
2023年12月27日 18:20

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!

UFABET 说:
2023年12月27日 18:21

Your articles are full of really solid information and logic. I definitely got my thoughts organized through your posts. I can't thank you enough for sharing such a great post. Thank you so much. It would be great if there was a time to check out my blog. up.

토토뱃지 说:
2023年12月27日 18:46

And he actually ordered me lunch simply because I stumbled upon it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanx for spending some time to discuss this issue here on your site.

안전놀이터주소 说:
2023年12月27日 19:10

Your articles are full of really solid information and logic. I definitely got my thoughts organized through your posts. I can't thank you enough for sharing such a great post. Thank you so much. It would be great if there was a time to check out my blog. up.

파워사다리추천 说:
2023年12月27日 19:20

Your article is great and well written. From the bottom of my heart, I feel that you are truly outstanding. Your post will help more people answer questions and clarify their doubts, as it will have many ideas for us to learn and cheer for you!

메이저놀이터 说:
2023年12月27日 19:38

Do you know your post is very good? Very distinctive. I really admire you. I really should study like you. Thank you. I'm glad to brush up on your post.

EOS파워볼사이트 说:
2023年12月27日 19:51

Your articles are full of really solid information and logic. I definitely got my thoughts organized through your posts. I can't thank you enough for sharing such a great post. Thank you so much. It would be great if there was a time to check out my blog. up.

먹튀사이트 说:
2023年12月27日 20:00

Baffling read, Positive site page, a couple of the articles on your site now, and I truly like your style. You're really focal and generously keep up the reasonable work.

토토안전나라 说:
2023年12月27日 20:02

Your articles are full of really solid information and logic. I definitely got my thoughts organized through your posts. I can't thank you enough for sharing such a great post. Thank you so much. It would be great if there was a time to check out my blog. up.

사다리사이트모음 说:
2023年12月27日 20:14

The selection of materials is paramount in creating these works of art. Only the finest leathers, sumptuous fabrics, and opulent metals are chosen, resulting in a tactile experience that speaks of indulgence and prestige. These materials are not just components; they are the essence of luxury itself.

007카지노 说:
2023年12月27日 20:16

The number one aim is to discover properly talent that'll show up, put on an unforgettable overall performance, be of hobby to your guests, and reason you to appearance right. Using someone that makes use of tasteless statements should honestly placed you in critical hassle, so be sure to locate smooth musicians or entertainers. Whenever you can obtain those preferred goals, the boss and crowd will truly be happy. But how ought to you give you the right company leisure?

사설토토검증 说:
2023年12月27日 20:26

The number one aim is to discover properly talent that'll show up, put on an unforgettable overall performance, be of hobby to your guests, and reason you to appearance right. Using someone that makes use of tasteless statements should honestly placed you in critical hassle, so be sure to locate smooth musicians or entertainers. Whenever you can obtain those preferred goals, the boss and crowd will truly be happy. But how ought to you give you the right company leisure?

메이저공원추천 说:
2023年12月27日 20:27

That are surely wonderful. A large number of tiny essentials are created obtaining lot of reputation know-how. I am just looking towards an item tons.

안전사이트가입 说:
2023年12月27日 20:40

Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !

seo service london 说:
2024年1月13日 22:25

Amazingly delightful utilization of words and Keenly built by the author

먹튀검증 说:
2024年1月20日 14:56

Hi, I also visit this site daily; this webpage is truly pleasant & users are openly sharing fastidious thoughts

카지노사이트 说:
2024年1月20日 15:43

Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share

카지노 说:
2024年1月20日 16:14

Regular visits listed here are the easiest method to appreciate your energy, which is why why I am going to the website everyday, searching for new, interesting info. Many, thank you!

슬롯커뮤니티 说:
2024年1月20日 17:01

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it

카지노사이트 说:
2024年1月20日 17:16

You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!

머니맨 说:
2024年1月20日 17:53

I am hoping the same best effort from you in the future as well. In fact your creative writing skills has inspired me.

바카라 사이트 说:
2024年1月20日 18:27

Really enjoyed this blog post.Really thank you! Really Great

온라인카지노 说:
2024年1月20日 19:19

Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome

먹튀검증 说:
2024年1月20日 20:01

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards.

슬롯사이트 说:
2024年1月20日 20:39

I must say, I thought this was a pretty interesting read when it comes to this topic. Liked the material. 

industrial outdoor s 说:
2024年1月20日 21:19

Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’r wait to read more posts.

카지노사이트 说:
2024年1月21日 13:35

Nice post mate, keep up the great work, just shared this with my friendz

소액결제현금화 说:
2024年1月21日 14:06

Thankyou for this wondrous post, I am glad I observed this website on yahoo.

스포츠무료중계 说:
2024年1月21日 15:53

I have read your excellent post. This is a great job. I have enjoyed reading your post first time. I want to say thanks for this post. Thank you..

카지노커뮤니티 说:
2024年1月21日 16:42

"Thank you for the good writeup. It in fact was a amusement
account it. Look advanced to more added agreeable from you!"

카지노사이트 说:
2024年1月26日 12:36

카지노사이트 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.

하노이 유흥 说:
2024年1月26日 12:40

하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.

먹튀사이트 说:
2024年1月29日 11:43

No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!

베트남 유흥 说:
2024年1月29日 11:47

베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.

홈타이 说:
2024年1月29日 14:04

It’s really a fantastic website, thanks for sharing. There's no doubt i would fully rate it after i read what the idea about this article is. You did a nice

무료스포츠중계 说:
2024年1月29日 14:16

It proved to be Very helpful to me and I am sure to all the commentators here!

토토사이트 说:
2024年1月29日 14:30

Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read

코인지갑개발 说:
2024年4月24日 12:39

https://xn--539awa204jj6kpxc0yl.kr/
블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.

Coin exchange 说:
2024年6月03日 15:30

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/

Cryto exchange 说:
2024年6月08日 11:03

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter