Solved

PHP UML Modeller and generate code

Posted on 2013-01-13
1
659 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
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

Title # Comments Views Activity
how to access a remote mysql database with xampp 3 24
Custom Wordpress Loop 22 39
IP 10.0.1.2 / 255.0.0.0 61 56
Log in through ID 5 18
What is Waterfall Model? Waterfall model is the classic Software Development Life Cycle method practiced in software development process. As the name "waterfall" describes, this development is flowing downwards steadily like waterfall, i.e., procee…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

829 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