Gossamer Forum
Home : Products : DBMan : Customization :

administrator for dbman

Quote Reply
administrator for dbman
was looking at the mod administrator for dbman -- looks like a great tool. noticed in the source code some variables that look like they should define relationships between databases:

# table relations
my (@relation_fields, @relation_table, @relation_link, @relation_view, @relation_show);
} elsif ($key =~ /^db_relation_fields\d+/) {
push (@relation_fields, ($in{$key}));
} elsif ($key =~ /^db_relation_tables\d+/) {
push (@relation_table, ($in{$key}));
} elsif ($key =~ /^db_relation_link\d+/) {
push (@relation_link, ($in{$key}));
} elsif ($key =~ /^db_relation_view\d+/) {
push (@relation_view, ($in{$key}));
} elsif ($key =~ /^db_relation_show\d+/) {
push (@relation_show, ($in{$key}));

but i can't figure out how to use this. can anyone help?
Quote Reply
Re: [delicia] administrator for dbman In reply to
Where is the mod administrator? Possibly if I can look at the code, I can give you an idea.

Edited to add --

I found it. It looks like it was something that the programmer had intended to add, but did not implement. There are no corresponding fields on the form for the elsif ($key =~ /^db_relation_ lines.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.

Last edited by:

JPDeni: Apr 2, 2005, 7:29 AM
Quote Reply
Re: [JPDeni] administrator for dbman In reply to
looks like it would be a help with relational databases? maybe you'd be interested :) with that tool and your configurator for the html, wow!
Quote Reply
Re: [delicia] administrator for dbman In reply to
I wouldn't know where to start with using that tool to help with the relational databases. I really think they have to be dealt with by hand instead of being automated. For one thing, the programmer needs to understand the concept of relational databases in order for it to work. Sorta zen-like, I guess. :-)

I had seen the administrator thing before. I had just forgotten about it.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.