News for hackers. Stuff that matters.
Re:Why use a database instead of just saving your data to disk? by kawsper on Sunday May 19, 2013 @04:43PM (#5734320)
It really depends on your structure I think. In the days of PHP3 I saw a lot of developers that built .txt-backed websites, with complicated parsing that would break when you looked at it.

In my opinion, they would have been better of with a database, or a more clever design like yours probably is.

A lot of my first work was rewriting PHP3 sites that used text-files to PHP4 with MySQL. Some of them had 200mb articles in text-files, and for every request they parsed this file, and didn't know why it was slow.

There are no comments on this comment yet.