Class dependency generation - Update
Jan Schneider just pointed me to some issues he had with my class graph generator. After looking into it I hopefully fixed the problems he discovered.
Because this little script has got quite some popularity I have created a seperate svn repostitory for it, which will always contain the newest version. If you are using linux and have subversion installed you can check it out by entering the following on your commandline:
$ svn co svn://svn.pureenergy.cc/php_classgraphUnfortunatly the generator wasn't tested on a lot of code, because I do not have the time for this at the moment.
If you have any problems with it don't hesitate to drop me a line. I will try to look into it as soon as I got some spare time.
Thomas Koch on Fri, 17 Nov 2006 08:48:00 +0100
Hallo Jakob,
Link to commentyour script could be helpfull for us from eGroupware, as it is rapidily growing. But why haven't you done it in PHP?
I've written a class to show database schemes with graphviz in PHP, using the Image_GraphViz from pear and it was quite easy. If you're interested, I'll post it in my blog.
BTW: I've written to Sebastian Bergmann two times and asked him kindly to change the licence of Image_GraphViz, so that we could use it in GPL'ed eGroupware. Maybe he will read this...
Jakob Westhoff on Fri, 17 Nov 2006 12:58:00 +0100
Hi Thomas,
Link to commentthe script started as a quick hack to create a really simple class dependency graph based on a project I am currently writing.
Because of this I started with a simple shell script. After realizing that the script got much more powerful than it was originally designed to be I did not have the time nor the motivation to rewrite it in php. Probably I will do this in the future, when a more complex version of this will be needed in my project.
greetings Jakob
Matt on Sat, 18 Nov 2006 00:43:00 +0100
Very nice. Works like a charm.
Link to commentGeoffrey on Sat, 18 Nov 2006 01:17:00 +0100
Hi Jakob, your script looks promising, but it seems to have difficulties handling 'long' names as you can see there on this Zend Framework graphic:
Link to commenthttp://harlock.hosmoz.net/~ash/zend.svg
Yours,