From: "Kelly Jones" <[EMAIL PROTECTED]>
> Many programming languages (including Perl, Ruby, and PHP) support hashes:
>
> $color['apple'] = 'red';
> $color['ruby'] = 'red';
>
> $type['apple'] = 'fruit';
> $type['ruby'] = 'gem';
>
> This quickly lets me find the color or type of a given item.
>
>
From: Julian Leviston <[EMAIL PROTECTED]>
> You could use ActiveRecord.
Without a database? I guess not. You'd still need at least SQLite.
But you are right, you could use ActiveRecord to obtain a nice object
oriented wrapper around the database so that it doesn't scare you.
Or, assuming you do
On Sun, 2008-04-06 at 16:52 -0700, Kelly Jones wrote:
> Many programming languages (including Perl, Ruby, and PHP) support hashes:
>
> $color['apple'] = 'red';
> $color['ruby'] = 'red';
>
> $type['apple'] = 'fruit';
> $type['ruby'] = 'gem';
>
> This quickly lets me find the color or type of a gi
3 matches
Mail list logo