Re: XML_Indexing and DB_Dataobject

From: Date: Wed, 06 Oct 2004 00:37:22 +0000
Subject: Re: XML_Indexing and DB_Dataobject
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33667@lists.php.net to get a copy of this message
There is XML backend support in DataObjects PHP5 successor.. http://pecl.php.net/dbdo Although I've not really tested it yet.. - I'm still focused on Win32 builds for libgda. Regards Alan Olivier Guilyardi wrote:
Hi, I've posted a proposal for XML_Indexing, a new package for indexing local XML files, so that one can fastly seek and retrieve a specific portion of these files. One of my main ideas behind this package is related to dataobjects, which offer _real_ database abstraction : dataobjects indeed are SQL-free. This gave me the idea of using an XML container instead of a SQL server as the dataobjet underlying layer. When one calls $do->find(), or $do->orderBy(), there is no need to know if it issues SQL or not. A container of any kind, be it an XML or CSV file, is required, that's it. In this regard XML_Indexing is, to me, a very important step : it makes XML native databases possible (RDB). No need to load the entire XML file anymore, thus sacrifying speed. As SQL databases, XML files now gets index-aware. Some may argue that, in PHP5, SQLite already provides a handy and optimized way to store data locally. That's true, but the data is stored in binary files, and for some, as me, it is a much more elegant and portable solution to produce and read XML. Of course, SQLite makes it easy to port an sql-server based application to a local-storage based one, by letting SQL statements in place, but that is another question. What do you think about XML native databases management with PHP ? Do you believe XML_Indexing integration with DB_Dataobject is a good idea ? -- og


« previous php.pear.dev (#33667) next »