Re: PHP and databases? ...without MySQL and such
| From: | Darren Henderson | Date: | Tue, 22 Oct 2002 21:15:05 +0000 |
| Subject: | Re: PHP and databases? ...without MySQL and such | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120982@lists.php.net to get a copy of this message | ||
On Tue, 22 Oct 2002, Maxim Maletsky wrote:
> So, my final suggestion to you is to actually stick to a database, not
> Flat Files for ANYTHING you do in feature. And, PHP, of course.
All things are relative.
Data bases are not always appropriate. Sometimes they may even be
detrimental.
There is a cost in complexity, resources and support when using a data base.
Sometimes a flat file is perfectly sufficient to the task, sometime usig a
file based db (gdbm, ndbm etc) is appropriate, sometimes MySQL or one of the
commercial products is.
MySQL is "expensive", in terms mentioned above, if all you are doing is
maintaing a configuration file, or a low volume shopping cart system, or
looking for simple access control.
Using a db to store php hashes in can be remarkably simple and effective in
the right situations.