
February 17th, 2013, 04:38 AM
|
 |
For POny!
|
|
Join Date: Apr 2012
Location: Amsterdam
|
|
|
XML vs Database
Hi guys,
I was playing a bit around with the php domdocument stuff which made me wondering the following. I noticed that quite some CMS use xml-files to accompany templates, components and plugins (pretty much third party software to extend the cms).
My question is, is this just done because it's easily (human) readable, (maybe even easier to manage)? Or is there another advantage opposed to storing for instance settings in a database. I can imagine that opening a flat file every time is more time consuming than querying a database that is designed for storing data (so maybe also settings).
Love to hear what you guys think of it.
|