XML files as Database storage ?
| From: | Joao Prado Maia | Date: | Tue, 03 Apr 2001 20:48:53 +0000 |
| Subject: | XML files as Database storage ? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-160@lists.php.net to get a copy of this message | ||
Hi everyone,
I just nearly completed a poll like package using PEAR as the Database
abstraction utility for it and got a suggestion to also support text files
as the 'database' for this package.
Would it be possible to develop something to store this database in XML
files ? It would be extremelly cool if I could use the same exact function
that I already used on my package to treat 'xml' as just another option of
database, just like 'mysql' and whatnot.
Yes, I know it's really a bad idea to store something in pure text files
instead of just using a normal database engine, but brazillian users often
use this method for _really_ simple sites that can't have a db server
running.
Anyway, would it be possible to do something like this ?
Joao
--
João Prado Maia <jpm@phpbrasil.com>
http://phpbrasil.com - php com um jeitinho brasileiro
--
Contribua com o projeto de tradução do manual online do PHP
http://phpbrasil.com/traducao.php
--