RE: [PHP] Re: Databases vs. File Access
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Thu, 09 Jan 2003 06:51:19 +0000 |
| Subject: | RE: [PHP] Re: Databases vs. File Access | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130878@lists.php.net to get a copy of this message | ||
My 2 cents would be use a database and templates then create cached
static versions of
the pages on the first request and then when you need to changes things
it is just a
simple change the template and you a whole new look without the issue of
performance.
Make that 5 cents worth!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp]
> Sent: Thursday, 9 January 2003 3:54 PM
> To: php-general@lists.php.net
> Subject: [PHP] Re: Databases vs. File Access
>
>
> Erich Kolb wrote:
> >
> > I am going to be dealing with a ton of data shortly and my
> goal is to
> > make it accessible via the web. I am curious about the performance
> > differences between using a database or leaving the data in the
> > individual files they originated in. Can anyone offer any
> > recommendations?
>
> Depends on what you mean by "a ton of data" and what kind of work you
> will do with the data.
>
> If all you will do is display the file as is on the web, then
> leave in
> file format.
>
> If the data needs to be searched, parsed, or indexed, the use a DB.
>
> My 2 cents,
>
> Jc
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>