Solved

PHP UML Modeller and generate code

Posted on 2013-01-13
1
661 Views
Last Modified: 2013-02-02
Back in my old uni days I used Rational Rose which was great, I could do my UML diagrams, and generate my code for Java.

Ive just started with PHP OOP, and decided to look for a package that would allow me to do my class diagrams and generate the code for PHP, but cant belive how hard it is.

I would prefer  the software to be free for personal user, so tried:-
Umbrello - Community
Visual Paradigm for UML
StarUML

Through work I have Microsoft Visio, but it doesn't have PHP code generation built in

What do other people use to develop their diagrams, or is it just easier to do what Im doing at the moment, and code from the diagrams instead of it being automatic.

Thank you
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
adrian_brooks earned 500 total points
ID: 38773038
What you're asking for is something that likely works well in true OOP coding languages. Albeit, PHP has come a long way to be more "object oriented", it's more like Perl 5.x in that sense. In that it will support the look and feel of objects, properties and methods. It even does inheritance pretty decently. But when it comes to method overloading and overriding, PHP falls quickly out of that window.

Now, don't get me wrong here. I have a massive affinity for PHP and have adapted quite nicely to most of its shortcomings, but in reference to your question, I'm sure that what you're looking for can be done, but it will either be something someone would need to write as a standalone application or that nobody will pursue since I have not really encountered too many developers that would even use UML as part of their software planning processes anymore. And I don't say that to disrespect you, it's just that I've been a programmer for over 25 years and am strictly speaking from 2.5 decades of looking back. UML has great value, but the PHP developers, including myself, that I have encountered, rarely, if ever, think in terms of UML when scoping out a project.

~AB
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question