Re: XML + PHP

by "Darrell King" <darrell(at)webctr.com>

 Date:  Wed, 14 Mar 2001 15:27:44 -0500
 To:  "David Meadows" <david(at)heroes.force9.co.uk>,
<hwg-xml(at)hwg.org>,
"Tamara Abbey" <tamara(at)abbeyink.com>
 References:  abbeyink astra
  todo: View Thread, Original
Actually, I believe the concept is properly referred to as the
manager.  This has bothered me, too, and the descriptions I have
read seem to indicate that a relational database can be used.
Yet, I read just recently that the structure is not considered a
full XML database if it uses SQL for interaction.  I haven't
really had time to pursue the issue, but there should be some
articles here because I am sure the one I ma thinking of came in
their newsletter:

http://www.xml.com/ArticlesbyTopic/

D

----- Original Message -----
From: "David Meadows" <david(at)heroes.force9.co.uk>
To: <hwg-xml(at)hwg.org>; "Tamara Abbey" <tamara(at)abbeyink.com>
Sent: Wednesday, March 14, 2001 2:54 PM
Subject: Re: XML + PHP


"Tamara Abbey" <tamara(at)abbeyink.com> wrote:


> Now, eventually, XML /will/ be my database? I won't need to
store stuff in
> a db and then query it since the XML DTD will pre-define the
markup so if
I
> want to find all the headlines, I'll just query the XML for tags
that have
> headline?

This kind of statement has always bothered me. A lot of people
seem to be
thinking of XML as a database. How can this be?

If an XML file is a database, it's a very poor one.

I don't understand how a flat text file, no matter how clever the
mark up,
can ever be as efficient, scaleable, flexible, or robust as a
proper
database engine. For example, how do you put an XML file into 3NF?
How do
you control record-level locking? Optimistic locking? Enforce
referential
integrity? And a million other questions.

Can somebody enlighten me?

--
David Meadows [ Technical Writer | Information Developer ]
DNRC Minister for Littorasy * david(at)heroes.force9.co.uk
Assorted essays: www.themestream.com/authors/87004.html

"We weren't lost at all, were we? Not where it counted. Inside."
     -- Garth Ranzz

HWG hwg-xml mailing list archives, maintained by Webmasters