Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Image "gallery" design considerations

by Chmrr (Vicar)
on Jun 19, 2002 at 11:48 UTC ( #175632=note: print w/ replies, xml ) Need Help??

in reply to Image "gallery" design considerations

It sounds like a database would be perfect for this job. Particularly because you seem to want to be able to look at the data from several viewpoints at once -- all "Palm" images, say, or all images one at a time in order, or ... This is the bread and butter of relational databases.

You probably only want to store the textual data in the database. Generally, it's best to leave the files themselves to what deals with them best -- namely, the filesystem. It's more complicated, with far more overhead and possible pitfalls, and very little (if any!) gain, to put the images themselves into the database. It's oh-so much easier to just have a column for "image_url" which one can just spit out, and let the browser handle fetching the image from the webserver.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

Comment on Re: Image "gallery" design considerations

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://175632]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-12-28 03:34 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (178 votes), past polls