List Info

Thread: Re: Perl, Databases & 2D Arrays?




Re: Perl, Databases & 2D Arrays?
country flaguser name
United States
2007-05-31 08:43:14

If you're using a flatfile, you're going to end up
with small loops to "look up" information unless you
store it all as record ID numbers. For example, user
ID becomes a record ID number, so you can look it up
in your hash:

$username = $users{$id}{'name'}

--- Mike Southern < gb1198%40cox.net">gb1198cox.net&gt; wrote:

> > The problem with this design is that there's no
> information other than id's,
&gt; > and a list of reference numbers wouldnt mean much
>; to the end user. I could
&gt; > put in duplicate data from the profile tables,
> like username, etc., but that
>; > would go against normalization.

User Interface design blog
http://user-advocacy.blogspot.com/
Code:esign::UI::Consulting
http://www.dionysius.com/

__________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&amp;sid=396545469

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )