I've read this...PHP is simultaneously the most infuriating and joyful languages I've ever worked with. I say "infuriating" primarily because the function names are so inconsistant.
...and what could I say. The person who writes this looks suspicious in giving the advices.
For me personally PHP is the MOST comfortable and understood coding language. I still haven't found the server side task which could not be implemented in PHP with the minimum effort. All functions are very well documented, and if the author can't remember which function means what, he could browse the manual and find the answer in seconds.
As about the article itself... well, there are few meaningful points and there are few doubtful. I think visitors already commented them all so I won't repeat here.
About gzcompression - it doesn't make sense for miniBB. First of all, we're using TEXT type fields for storing the messages, not BLOB fields like the author uses. TEXT type is limited in size to 64 Kbytes and most often forum messages do not overlimit even 2-3 Kb. Second, this field is used in the internal search
algorithm, and gz'compressed fields can not be searched by regular text. The author writes about it too, "The only exception is when I need full text indexing capabilities.
About validating the emails - as I already wrote in the linked thread
, it's not a way to validate the emails in full, so it's not even useful to use such approach. As you may read the author refers to this method as to "Partially
validating email addresses."
The only interesting thing I discovered is that author suggests "to store IP addresses as integers instead of strings in a database". This was a known issue for us when we started miniBB, however until these days the IP is stored as character field. Most probably it would be more efficient to implement this issue in the future...
Thanks for the information.