Reply to Re: creating image database

Your name:

Reply:


Posted by Jussist on 06/27/07 09:16

> Best practice: dont use a database to store images. Just store image
> references and metadata.

This is not as simple as that - both approaches have their advantages,
which you can google easily. There are cases where both are better
approach - I usually store them to filesystem.

One point just came to my mind is a case where an application running
on a server needs to be moved to another server. In php-applications
the filesystem -stored files are usually easily found - but if one
expects that software installation and database transfer would have
the application (and content) fully running, this would not be the
case if files would be in filesystem, they would need to be
transferred separately. If the files would be stored to the database,
the db could be burned to cd/dvd, and imported - no need to seek for
the files according to their location. But this all of course depends.

Just some thoughts, on tea-daze.

--
Jussi
Deep abstraction kills strong typing.

http://disczero.com
http://naamio.net
http://hoffburger.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация