XML database experiences

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: XML database experiences

Post by josh »

I came up with a good analogy. Regex is a text search facility. It is not a database. Mysql let's you use regex, this doesn't make mysql any less of a database. XML is a structured document, its not a database. DB2 lets you use XML but that doesn't make DB2 any less of a database.
HannesB
Forum Newbie
Posts: 5
Joined: Mon Feb 07, 2011 4:31 am

Re: XML database experiences

Post by HannesB »

…seems that this thread is more about ideologies than the appropriate technology.

I've come across numerous scenarios in which XML data is converted to various representations and eventually back to XML, in which case it would perfectly make sense to stay in the XML world via XQuery. XML databases, and particularly BaseX [1], have turned out to be a perfect fit for me, when it comes to natively querying and transforming XML data – but I have no doubts that it's completely the wrong tool if all you want to do is exchanging static XML documents. Reg. the Wikipedia and its XML dump, the statistics shown in [2] are noteworthy.

Please don't get me wrong; I'm not affiliated to BaseX or its members. I just learned to appreciate how much time can be saved if you take some time to choose the technology that suits your application most.

Best,
Hannes

[1] http://basex.org
[2] http://docs.basex.org/wiki/Statistics
Post Reply