|
I am in the process of writing my own blog publishing software (PHP) I would like to know if it's better to use a database for storing posts and other data (and why) or just regular text files.
With text files I am thinking about making folders for each data, first line is name of the post, second is time/date, third author,.... where everything from n line on is the actual post.
As I don't know anything about databases so can someone tell me what would I gain with them over the system I described (btw, there is already blog software with almost the same .txt principal). I don't know anything MySQL but that's not really a problem as I want to learn but (until now) didn't find a reason why
Thanks.
|