How to organize XML files and difference to Database
Posted on 2006-04-12
I'm trying to learn XML and use it on a site with many articles that can be modified after being created.
1) Should I have a folder in my site to save all the articles, one article per XML file, or should I put all the articles in a single XML file?
2) Is it faster or better to save the information for the articles in a database or in an XML file?
You see, every article is going to have different parts (paragraphs, images, etc.) and any part can be modified or deleted, and more parts can be added to the article at any time (For the images, I'm just going to save the URL and save the image in a folder).