Hacker News new | ask | show | jobs
by kawsper 4773 days ago
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.