Re: module for XML databases
| From: | Markus Wolff | Date: | Thu, 07 Nov 2002 15:20:02 +0000 |
| Subject: | Re: module for XML databases | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10550@lists.php.net to get a copy of this message | ||
Am Thu, 7 Nov 2002 16:10:45 +0100 schrieb Marc Boeren <M.Boeren@guidance.nl>:
> > So i'm +1 for XDB.
>
> I would suggest XMLDB, which is clearer upon first view.
I second this. But I wonder if XML databases are really _that_ different
from RDBMS in terms of handling/querying data that there is no
possibility to just make a driver class for DB or MDB.
LDAP is a good example for a non-RDBMS driver class where it makes
perfect sense to use the already familiar PEAR::DB API to query the
directory server.
I have no experience at all with XML databases, but I wonder if they
don´t work like others, e.g.:
- Connect to server
- Make a query (in whatever language/format)
- Retrieve result object
- Iterate through results, extracting arrays for each dataset
- Free result
- Close connection
If XML databases work like that as well, I´d rather like to see this as
a new DB/MDB driver.
Regards,
Markus
--
*21st Media* | Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff | Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1