I'm in the process of creating an online photo library very similar to this, but with the options of allowing select people to upload files into the site.

My solution to the problem was to use the filenames themselves as a database.

By naming the files in a certain way the data can then be stored along with the file (great when people want to save a file because it actually explains what it is)

I didn't have quite as many fields as you but it could still be done by naming the files in the following way

[ID]-[DESCRIPTION]-[LOCATION]-[yyyymmdd]-[TIMEOFDAY]-[WEATHER]-[INT/EX +T] example... 0001-Daves_flat-London-20021016-A-S-E.jpg represents.. Daves Flat, London, 16th Oct 2002, Afternoon, Sunny, Exte +rior

It's just a different way of looking at the problem.

This solution has limitations, for example in the description I have limited it to a-z0-9 only with _ being used for spaces and then replaced with a space at runtime if the information is displayed

Just a different perspective on the problem I thought I would share with everyone

M


In reply to Re: Choosing a database for a new project by heezy
in thread Choosing a database for a new project by newrisedesigns

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.