Re: module for XML databases
| From: | Stig S. Bakken | Date: | Thu, 07 Nov 2002 22:16:10 +0000 |
| Subject: | Re: module for XML databases | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10590@lists.php.net to get a copy of this message | ||
On Thu, 2002-11-07 at 15:42, Richard Samar wrote:
> Hi,
> after a lot of request I have decided to commit the
> modules for XML Databases to the CVS of PEAR.
>
> I have a few questions resp. need a few OKs of some ppl
> to do that.
> There are two modules with some additional files.
> Modules for Xindice and Tamino.
>
> 1) where should the modules go? My preference is
> XDB_Tamino
> XDB_Xindice
If you see yourself using factory methods to create connections to these
different XML databases (like DB and MDB do), the norm is to use
all-lowercase names for the "factory module" so it's easier for programs
to get the right names. For example: DB_mysql (not DB_MySQL), DB_oci8,
DB_pgsql and DB_ado.
> which both result to the pear dir XDB for XML Databases.
>
> Being DBs they are still do not belong to the DB dir.
> Being XML DBs they don't do XML stuff in a way they should
> belong to the XML dir.
> ...this is though my idea about this.
> And there are a few other XML DBs which might be supportet
> and maybe one day me or someone else writes kind of an
> abstraction
As for naming, I'm +1 for XDB and +0 for XML_DB.
> 2) Xindice will follow soon, Tamino is still very alpha
> and needs a little bit time
>
> 3) everything is finely documented via PHPDoc - talking to
> Alexander Merz at the conference I will add the docu auto
> generated with a tool written by Alexander to the doc of
> pear.
Great.
- Stig (who will stay longer at the next php conf!)
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb