Re: which is quicker? pseudo XML, or database?
| From: | Manuel Lemos | Date: | Sat, 14 Jun 2003 04:39:35 +0000 |
| Subject: | Re: which is quicker? pseudo XML, or database? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151454@lists.php.net to get a copy of this message | ||
Hello,
On 06/14/2003 12:30 AM, Justin French wrote:
I'm looking at a site where there will be a lot of articles, all of which
will be added once, and rarely edited again...
Let's say each article consisted of 6 data types:
- id
- author
- authorEmail
- datePublished
- introduction
- bodyText
I'm considering:
a) storing this data in a MySQL table (a fairly simple query)
b) storing this data in a pseudo XML format like:
I think it is irrelevant as long as you do some content caching of the generated pages, for instance using a class like this that can cache arbitrary data in files for top speed:
http://www.phpclasses.org/filecacheclass
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/