View Full Version : XML vs Database with PHP

11-03-2006, 10:08 AM

I have a question to make!!! Is any advantage to convert the DB data in xml to show in the main page formatted with PHP???

11-03-2006, 11:22 AM
Why would you do that?

this question sounds like an assignment to me.

11-03-2006, 11:37 AM
Go to www.w3schools.com in XML and tell me what do you think!! I´m confused!!! I don't want to show the site in other hardware aplications but I want to enter in the future and I want the information can be acessed for everyone in other reading machines" (agents). Do you think you can help me???

11-03-2006, 01:54 PM
No, it would be a disadvantage. Databases are optimized for handling data while XML... XML can be used for anything which makes it inefficient in everything.

11-03-2006, 03:17 PM
And want do you think about XML shredding???
http://www.brics.dk/~amoeller/XML/querying/shredding.html - (Look more intently this site)

Do you really think DB with XML is unnecessary??

11-03-2006, 05:23 PM
A relational database is a good choice to storing XML??

11-03-2006, 06:26 PM
what are you actually wanting to do?
comparing completely different things, or answering really vague questions is a waste of time.

11-03-2006, 06:43 PM
Ok sorry!! I want to show and add/remove/update news in an administration with XML using a relational DB!!