Quick question
Date: 06/21/05
(Web Development) Keywords: php, database
I'm building a site for my photographs. This involves a php script trawling through directories and subdirectories in a designated location, and then either:
1) Adding details into a database, including thumbnails (which can be stored as a BLOB)
2) Getting the script to dump the thumbnails to file and then building static pages.
I'm not sure which one I want to go for. I can see that having a database will allow for greater expandability (like if I want to add comments, ratings, or anything at a later date), but it's going to be significantly slower than having static files, isn't it?
Source: http://www.livejournal.com/community/webdev/213147.html