dagon;10935949 wrote:ok
Because that's how its always been done in the past is a poor argument in this (or any) industry. A horse and cart worked fine to.
On the other hand, just because it's new doesn't mean it's good.
However, in this case I agree with Dagon for a couple of reasons.
First off, it sounds like the file will grow over time, most likely beyond the point where you'd want to include all of its contents on that page.
Secondly, keeping the most recent update at the top of the page is generally a good idea, and that means you'd either have to read the whole file, then overwrite it with the new data prepended the latest post at the top of the file (doing the work once), or parse the file each time it's requested.
Finally, to present formatted data (title in bold or whatever), the flat file would either need to be parsed, or html code saved with each entry.
With a db, there'd be no problem with having more data than you want to show on one page.
There'd be no problem sorting in whatever way you want to.
There'd be no problem knowing what is title and what is body text.
However, what I might use a file for in the end is saving prefetched and formatted data from the db, that is caching the page as it will be shown. Whenever a new post is added to the db, overwrite the old file. The best of two worlds.