UML tool

I’m just wondering, do php/yii developers use UML in their projects? I belive, even pretty simple web site/applications require design and data modelling stages before you start actual writing code. In real life, I’ve seen quite a few web project with proper development process and documentation, but they are mostly corporate level and have nothing with php. Many companies outsource php projects and this is the worst case scenario if you have to support such projects. I start thinking about improving development process itself…I stumbled upon PHP Development with Yii and it sounds to me like music. Inevitably you come to something like this.

So, what is your favourite UML Design Tool?

Hi,

I use yEd and MySql workbench to create all diagrams I need. Since I try to write most of my applications following TDD methodology I don’t create detailed class diagrams. yEd is simple and great for use cases diagrams, authorization (roles, tasks, operations) diagrams and others which can give me a bird eye view on particular tasks. There is nothing that can beat a good old todo list ;)

HI sidewinde,

Thanks for yEd, looks really good. I’ve used the similar java based free software Dia (live.gnome.org/Dia/), but it’s more complicated and multi-purpose. Thumbs up for yEd, I’ll definitely try it. I bet, any sort of diagram is a way better than pick-up logic from source code, even if it’s really nice looking and well commented code.

Cheers,

Vit

Hi all,

As you know the great advantage using an UML modeler is to be able to specify in one place the goal of the application (use cases), its implementation, its deployment, and to generate the documentations, allowing a consistence difficult to reach using separated tools and supports.

By definition the more a language is pure object the more it can be well managed by a UML modeler, this implies Php and Python for instance aren’t perfect targets language. In comparison even C++ source codes can also contain C code out of the scope of UML, in C++ the attributes and operation parameters are typed and the multiplicity has sense enforcing its management by a UML modeler.

So it is not surprising if UML is less used in Php community compared to Java or C++ for instance, but yes UML is used for Php and this why people asked me to add its management in Bouml in 2007.

Best regards

P.S. I am the author of Bouml, I am not myself a Php developper

[size="3"] Hi Bruno,

I saw your application BOUML and I’m quiet disappointed that you stopped its development, but anyway you did a great job! I’ll definitely try php code generation and especially I’m interested in reverse generation from php code. However, my main goal isn’t code generation, I just want to improve my development process and documentation. Sometimes UML is over-killing for very basic php project, but for everyone who is into software development in general UML is a must have skill.

Cheers,

Vit

[/size]

pen & paper

I’ve been using BOUML for some time now (2+ years) in my C++/Qt projects. Its diagram from code generation is really helpful when creating documentations. Bruno, you created a really good and usefull application, which is a good alternative to some commercial software I tried. I was really sad to read all these accusations pointed at you from wikipedia members and administrators. I hope, at some time you will decide to continue developing one of the best, if not the best free UML editor.

Nevertheless I think it’s a bit of overkill to use BOUML for simple diagrams at planning stage which are very likely to change during development (following TDD/BDD that happens a lot :) ).

I’ve been doing work in Dia for a long time ago and while I worked in a MS environment, Vision was the tool to use.

I noticed in http://www.yiiframework.com/forum/index.php?/topic/25920-php-development-with-yii/ that Vangelis mentioned the following:

Some names are mentioned there that I have not read in this post, so I pushed in this post just for the extra info.

Duketown

I’m on mac so there is not thousands of choices in the open source, I’m using argoUML which is a really great tool (for me, it seems that some people need something a little more developped)!

Sorry for resurrecting such an old thread, but I think there’s no sense in creating a new one about the very same topic.

Some time ago, I stumbled upon http://genmymodel.com. And I have to say I really like it. So I thought I share this with you guys.

  • It’s a cloud backed solution, so your diagrams are available all the time, no matter where you work from

  • It’s free for open source projects

  • You can collaborate on projects (didn’t test it yet)

  • It’s UI is really usable and responsive for a browser based solution

  • You can export to various formats (jpg, pdf, svg, xmi)

  • They support code generation (currently java and sql. There’s also a feature for custom generators, but I didn’t test it yet)

  • They recently introduced a feature for reverse engineering from java

  • I’ve found open source projects for php generation (http://blog.genmymodel.com/contribute-to-the-php-custom-generator-project.html)

I used Star UML and it’s quite good. http://staruml.io/