michellem has asked for the wisdom of the Perl Monks concerning the following question:
What I've done is the following:
1) User tells system which is primary key for that table, and which are foreign keys - system puts that info in a system table
2) For input - the user can specify lookups for menus and the like from the related tables
3) for output - an "output" lookup is done by the system based on the foreign key info placed in the system table.
4) The user interface for the relationships is not done, so right now, users cannot edit that information in a way that makes any sense to them (it makes sense to me, but that's not the point).
5) Relational integrity is not implemented in any way, which to my mind is a *bad thing*. I certainly could implement relational integrity again using perl instead of SQL.
One major problem I have is that if I focus on using SQL, it means that I have to radically beef up my table creation tool, and also somehow figure out how to have a user interface that makes sense to the non-SQL-speaking unwashed masses :-).
So, any advice, comments, etc. are welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to handle relationships
by tadman (Prior) on Aug 26, 2002 at 08:46 UTC | |
|
Re: How to handle relationships
by Tomte (Priest) on Aug 26, 2002 at 10:38 UTC |