Re: Graphical Documentation

2001-03-06 Thread Mark Fowler

On Tue, 6 Mar 2001, Marcel Grunauer wrote:

  1. Thingys showing SQL tables.
 
 Have a look at http://www.codewerk.com. On the projects page, download
 GraphViz::DBI and dbigraph.pl. See the sample database table graph linked
 from that page. I'm working on making it more flexible and pretty.

Oooh, ahhh.  Looks really nice.  Now the only problem with this is
that it requires me to actually have created the database.  We're not at
this stage yet (though I will see if I can knock up a diagram of our
current old database schema so we can have some reference.)

Oh, there seems to be something odd with that server set up.  Because
my copy of Gnome-Terminal does url catching I can Ctrl-Click on any url
and it pops up in netscape.  However, being a good url catcher it matches
the '.' at the end of the url (as it should do.)  Now this is really odd,
as 'http://www.codewerk.com./' does not show the same thing as 
'http://www.codewerk.com/' (which it should do as
'www.codewerk.com.profero.com' or 'www.codewerk.com.loc0.profero.com'
doesn't exist on our network.) This is most odd.  I've tried it from other
locations (via the wonders of ssh tunnelling) and I get the same thing.

Mark.

-- 
print "\n",map{my$a="\n"if(length$_6);' 'x(36-length($_)/2)."$_\n$a"} (
   Name  = 'Mark Fowler',Title = 'Technology Developer'  ,
   Firm  = 'Profero Ltd',Web   = 'http://www.profero.com/'   ,
   Email = '[EMAIL PROTECTED]',   Phone = '+44 (0) 20 7700 9960'  )








Re: Graphical Documentation

2001-03-06 Thread Aaron Trevena

On Tue, 6 Mar 2001, Mark Fowler wrote:

 On Tue, 6 Mar 2001, Marcel Grunauer wrote:
 
   1. Thingys showing SQL tables.
  
  Have a look at http://www.codewerk.com. On the projects page, download
  GraphViz::DBI and dbigraph.pl. See the sample database table graph linked
  from that page. I'm working on making it more flexible and pretty.
 
 Oooh, ahhh.  Looks really nice.  Now the only problem with this is
 that it requires me to actually have created the database.  We're not at
 this stage yet (though I will see if I can knock up a diagram of our
 current old database schema so we can have some reference.)

Gnome Dia has been quite good for designed classes and database
tables. Also worth a look is gnome-db which provides a nice UI to the
database. Only problem is that there doesn't appear to be anything that
offers Visio's reverse engineer database option.

I am looking for some dia scripts to generate dia xml from perl classes or
databases thru dbi/odbc. I might have to write an xml generator by reusing
code from GraphViz::DBI or just from scratch. Anyone else been working on
something like that before I start?
 
 Oh, there seems to be something odd with that server set up.  Because
 my copy of Gnome-Terminal does url catching I can Ctrl-Click on any url
 and it pops up in netscape.  However, being a good url catcher it matches
 the '.' at the end of the url (as it should do.)  Now this is really odd,
 as 'http://www.codewerk.com./' does not show the same thing as 
 'http://www.codewerk.com/' (which it should do as
 'www.codewerk.com.profero.com' or 'www.codewerk.com.loc0.profero.com'
 doesn't exist on our network.) This is most odd.  I've tried it from other
 locations (via the wonders of ssh tunnelling) and I get the same thing.

I had that problem - try http:://www.codewerk.com/projects.html 

A.

-- 
A HREF = "http://termisoc.org/~betty" Betty @ termisoc.org /A
"As a youngster Fred fought sea battles on the village pond using a 
complex system of signals he devised that was later adopted by the Royal 
Navy. " (this email has nothing to do with any organisation except me)






Re: Graphical Documentation

2001-03-06 Thread pmh

On Tue, 6 Mar 2001 10:40:35 + (GMT), Mark Fowler wrote:
 Oh, there seems to be something odd with that server set up.  Because
 my copy of Gnome-Terminal does url catching I can Ctrl-Click on any url
 and it pops up in netscape.  However, being a good url catcher it matches
 the '.' at the end of the url (as it should do.)  Now this is really odd,
 as 'http://www.codewerk.com./' does not show the same thing as 
 'http://www.codewerk.com/' (which it should do as
 'www.codewerk.com.profero.com' or 'www.codewerk.com.loc0.profero.com'
 doesn't exist on our network.) This is most odd.  I've tried it from other
 locations (via the wonders of ssh tunnelling) and I get the same thing.

I'd blame their virtual host recognition, although the web server here handles it 
properly, and we're running an even earlier version of Apache.


-- 
Peter Haworth   [EMAIL PROTECTED]
"Let the sickos get their kicks on USENET, not in the mass media."
-- Adam Rice



Re: Graphical Documentation

2001-03-06 Thread James Powell

On Tue, Mar 06, 2001 at 10:40:35AM +, Mark Fowler wrote:
 
 Oh, there seems to be something odd with that server set up.  Because
 my copy of Gnome-Terminal does url catching I can Ctrl-Click on any url
 and it pops up in netscape.  However, being a good url catcher it matches
 the '.' at the end of the url (as it should do.)  Now this is really odd,
 as 'http://www.codewerk.com./' does not show the same thing as 
 'http://www.codewerk.com/' (which it should do as
 'www.codewerk.com.profero.com' or 'www.codewerk.com.loc0.profero.com'
 doesn't exist on our network.) This is most odd.  I've tried it from other
 locations (via the wonders of ssh tunnelling) and I get the same thing.
 
 Mark.
 

Is it running a lightweight apache reverse-proxy and backend mod_perl?
I believe that can do it.

jp



Graphical Documentation

2001-03-05 Thread Mark Fowler

ELLO london.pm.org.  Long time no C[1].

I'm needing some programs to produce graphical documentation[2], and as
I'm feeling lazy (which is a good thing, right,) so rather than writing my
own, I thought I'd ask you lot what you thought were the best tools out
there.

I need to produce:

 1. Thingys showing SQL tables.
 2. Thingys showing OO abstraction

Nethier of these need to be in any particular form.  They just have to
make sense to me.

Ideally, I'd like somehthing that would run on Windows or Linux
(i.e. written in Perl) but you get the idea.  

Later.

Marks.

[1] Or no Perl, more to the point.  I'm back online.  As for a week
offline: Let us never talk of it again)

[2] This is a 'oh, god this is complicated and I need to see what's going
on' kind of problem not a 'management don't get it' kinda problem

-- 
print "\n",map{my$a="\n"if(length$_6);' 'x(36-length($_)/2)."$_\n$a"} (
   Name  = 'Mark Fowler',Title = 'Technology Developer'  ,
   Firm  = 'Profero Ltd',Web   = 'http://www.profero.com/'   ,
   Email = '[EMAIL PROTECTED]',   Phone = '+44 (0) 20 7700 9960'  )








Re: Graphical Documentation

2001-03-05 Thread Leon Brocard

Mark Fowler sent the following bits through the ether:

 I'm needing some programs to produce graphical documentation[2], and as
 ...
  1. Thingys showing SQL tables.
  2. Thingys showing OO abstraction

If you want to do it by hand, try dia.

Actually, I've been thinking about automagically producing these two
from the database/perl files using the award-winning[1] GraphViz[2]
module. I'm concerned that database/object metadata may not be good
enough though. Hmmm, maybe I can do a dia XML - GraphViz layer...

Leon

[1] I won the "Information Transfer" prize at the German Perl Workshop!
[2] A new version of which is winging it's way to CPAN. I fear I
need to learn some more MakeMaker skills, though...
-- 
Leon Brocard.http://www.astray.com/
yapc::Europehttp://yapc.org/Europe/

... If it ain't broke, fix it anyway just to screw it up