|
First of all, I know very little about databases in general so this might be a dull question.
I am trying to write a CMS written in PHP mainly for a blog type of page that isn't updated extensively (maybe 10-20 updates a day at MAX). Because it is not updated so often it will serve static pages most of the time (until there is actually a change on the page, I see little reasons to make it dynamic all the time). The page will very extensively use XHTML, XMLHttpRequest and a lot of Javascript. The picture I have in my mind is to have all the data in XML files as opposed to a database. The main reason for this is as I know almost nothing about databases (or MySQL) and I think I was given advice that databases are not neccessary for a site like that as the only advantage they have in my case is speed.
As I said I know almost nothing about databases so please fill me in what you think about this. I know there are some CMS's that use text files for data, but I haven't heard anything about how they do in real life. I suppose for a forum you might need a database but I'm not so sure about the type of site I want to make. I imagine I larger site would cripple in a system like this when there are 5 or more requests per second, but as I said I would make the page semi-dynamic (is there a word for this?) when there are only updates every n seconds/minutes. Something like Slashdot. If the traffic is low, maybe even an update per comment/post/whatever.
Please feel free to give me any advice or more info about this, as I don't know exactly how this would work in reality.
Thanks.
|