Re: which is quicker? XML or database?
| From: | Robert Cummings | Date: | Sat, 14 Jun 2003 16:52:42 +0000 |
| Subject: | Re: which is quicker? XML or database? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151496@lists.php.net to get a copy of this message | ||
John Hicks wrote:
>
> Hi Justin--
>
> I've been wrestling with a similar problem.
>
> You say:
> > 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:
> >
> > <id>24</id>
> > <author>Justin French</author>
> > <author_email>foo@example.com</author_email>
> > <date_published>2003-11-28</date_published>
> > <intro>This is my intro</intro>
> > <body>This is my text and html -- say 1000 words?</body>
>
> Um, the above isn't pseudo XML. It's actually perfectly
> fine XML. Nothing pseudo about it.
Not to quibble (ok JUST to quibble :) It isn't correct XML because it
has no root tag *heheh*.
Cheers,
Rob.
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'