The textboards use a flat-file system (look up shiichan), and the imageboards use a database. I can't wrap my head around coding a flat file imageboard, to be honest.
Name:
OP2010-04-02 11:28
1. Back when PHP wasn't that popular or even nonexisting and Perl was used for these image/textboard scripts, did they also use flat files or was an own database coded for this? Did Perl support databases at all back then (I read it does now)?
2. If flat/text files were used, how did they handle multiple access to one file, like hundreds of people posting in the same thread? Does Perl handle them one after each other automatically, or does a coder have to add his own lines in the script to handle this?
>>5 Back when PHP wasn't that popular or even nonexisting and Perl was used for these image/textboard scripts
This is incorrect, as the very first imageboard script (GazouBBS, which Futaba is based on) is coded in PHP. As for you second question, I wouldn't know. You would really only need a database if it's going to be a traffic heavy site.
Name:
Anonymous2010-05-14 21:49
>>5
Perl has file-locking. Shiichan isn't written in Perl, though.