| « On PHP performance... | mount over ftp - curlftpfs » |
Link: http://www.phpfreaks.com/blog/10-signs-of-crappy-php-software
John Kleijn composed a list of "10 Signs of Crappy PHP Software".
This list is incredibly good... but I have to add the 11th...
Rewriting in PHP what can be provided by an already written (PECL) extension.
In the age of affordable VPS and (very) cheap dedicated servers where you control everything why not just install the respective extension...
My preferred example is GETTEXT.
This is the way the whole Linux is translated... and PHP supports it from version 3... yes 3 not a typo.
I have seen applications that are storing strings in database, in CSV files... or any other method but gettext.
Oh well... I wish you many visits to pecl.php.net before you decide to write something in a PHP (class).
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
The SOAP extension for example is buggy as hell and breaks in a different way each major version (take a look at http://bugs.php.net/bug.php?id=50675 for example).
GETTEXT on the other hand relies on a very stable library which has been around for a long time so it's rather the exception than the rule.
If something is broken here & there... this does not mean it's all broken.
My fault indeed is that I didn't mentioned that I was referring (mostly) to CUSTOM SOFTWARE... it's not software for the masses (like Wordpress, Joomla) but custom applications build for individual(s) needs.