开发者

Why imageboard scripts do not use database?

I was very surprised when downloaded two imageboard php scripts. There is no connection to database, threads and posts are listed as files and folders. Is this way faster than standard mysql database con开发者_如何学JAVAnection or there is another reason?


Two factors lead to this. 1) The number one purpose of imageboards is to hold images, and images don't do well when stored in a database. 2) Threads in an imageboard are strictly linear, therefore a simple monotonic filename scheme suffices to distinguish them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜