From: Christian W. <cw...@cw...> - 2006-12-12 11:32:46
|
Hello all, Chris Bizer wrote that there are currently no official coding standards used in RAP and that we should suggest some that could be used. Coming from PEAR, I would opt for the PEAR coding standards [1]. They have been proven to be very readable, and are in used by a number of projects outside of pear, too. Further, there are some tools that make life easier with them: - PHP_CodeSniffer [2] is an application found in PEAR that scans php files and shows you which lines do not match the coding standards - PHP_Beautifier [3] automatically formats php code according to CS. [1] http://pear.php.net/manual/en/standards.php [2] http://pear.php.net/package/PHP_CodeSniffer [3] http://pear.php.net/package/PHP_Beautifier --=20 Regards/MfG, Christian Weiske |