Page 1 of 1
Generating UML Static Class Diagrams from PHP Code or XMI
Posted: Fri Aug 04, 2006 10:14 pm
by Ollie Saunders
I managed to find
this which creates an XMI file from my class hierarchy. I then spent the whole bloody night looking for something that could sucessfully turn that XMI file into a diagram.
So what I am looking for is either something that makes a UML Static Class Diagram from a load of PHP files or from a XMI file. Preferibly with a nice interface so that I can edit/add to the diagram after. I has to run on windows XP or in a terminal (no X) on linux and free is a bonus.
Posted: Fri Aug 04, 2006 10:30 pm
by Ambush Commander
Doxygen + Graphviz.
Posted: Sat Aug 05, 2006 6:25 am
by Ollie Saunders
Is there any thing you don't have to take a course in first?
I had real difficulty working out what they do let alone how you go about doing it and I'm not sure either of them do UML static class diags.
Posted: Sat Aug 05, 2006 7:25 am
by Ollie Saunders
OK UML is a smurfing mugs game.
There I was thinking it was a nice way to document and communicate programming constructs but everything about it is so overly complicated. The diagrams themselves are great but virtually ever piece of software (and I've tried about 8 now) assoicated with it you need a degree to use.
What a waste of time.
Posted: Sat Aug 05, 2006 9:38 am
by Ambush Commander
I don't think Doxygen is that hard: you just document your code using javadoc style blocks and then run the programmer on it. The graphs are a bonus:
http://www.stack.nl/~dimitri/doxygen/diagrams.html
Posted: Sat Aug 05, 2006 9:52 am
by Ollie Saunders
What is the command line you would use then?
Posted: Sat Aug 05, 2006 2:44 pm
by Ambush Commander
`doxygen` in the directory of the source code.
You'll probably need to configure it with a Doxyfile, but Doxywizard makes generating said file extremely easy.
Posted: Sat Aug 05, 2006 3:07 pm
by Ollie Saunders
well thanks for your help Ambush Commander but i've given up now.