Flowcharting Dataface?

A place for users and developers of the Xataface to discuss and receive support.

Postby Aoirthoir » Wed Aug 23, 2006 6:17 am

Mr. Steve, I noticed in a couple of the places on your site you have little UML looking diagrams. I am curious if you use a PHP Case tool to generate these out of dataface, or if you are basically doing them by hand. I ask because I am looking at a couple of round trip programs to first generate diagrams so I can better understand what is going on. And then from there perhaps be able to make contributions.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Aug 23, 2006 9:08 am

Hi,

All of the diagrams were done by hand using a program called OmniGraffle. I sometimes use Poseidon as a CASE tool but for PHP I find these tools much less helpful as they are best for describing class inheritance and relationships, but there is very little inheritance going on with PHP (partly because too much inheritance causes a performance hit).

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Thu Aug 24, 2006 5:49 pm

I have been playing around with the following software:

http://www.aivosto.com/visustin.html

It is just a flow charting program. Nothing more. No code edit, nada dada.

So I am going to use it for my own purposes on the Dataface code. I dont really know if we need other code flow charted or not but I can do it all if anyone needs... The problem is, it does not display file dependencies. Only code constructs. So I need to find a program that will parse a file, look for any include or import statements (dont really know the difference between the two), and then insert that literally into the space occupied by the include statement, and also comment out the original include statement (above the inserted code).

Also I need to find a program that will automatically generate php dependency tree.

(Both of these will be in a future version of Visustin.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 25, 2006 3:51 pm

I haven't done too much with automatic flowchart creation software before. It seems like it would be a pretty daunting task and could end up more difficult to read than the actual source, but I'd be interested to see what you turn out.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Fri Aug 25, 2006 4:44 pm

So far I like what I see. Currently I have just the eval version, thus I cannot print them. But there are settings, collapsable so to speak. So I can set how much of the code to see in a certain Flowchart. This lets me get an overall view of a file, down to indvidual code statements. Even comments are displayed off to the side with a line to the particular piece of code it is above. Or inline with the code if one wants.

So when we purchase it, maybe next week, I will run it off and then send them to you somehow. Or put them on my own site for folks to review.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 25, 2006 5:10 pm

That sounds pretty cool. I'd like to see it when you get them done.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 75 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved