RE: SQL in XML [was PHP and DBase...]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> But, finally, I wonder if I shouldn't use XML files instead ?
> Is it possible, directly, to make a SQL request on a XML file ?

How much data are you storing and how fast do you need it?

If you're doing heavy "database" type queries, then just use mySQL.

XML is kind of a PITA to use IMHO. You have to set up DOM Objects and all
this crap, then loop over nodes and use xpaths and watch out for #text
elements and it's just messy. I'm forced to use XML for part of a project @
work, and I'm always grateful when I can switch back to using a database and
SQL as God intended it to be. ;-p

However, if you're just storing some basic configs or preferences, then I
would suggest looking into a much simpler (and universal):

http://www.php.net/parse_ini_file

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux