What about the coding standard found on PEAR.php.net
LW
-Original Message-
From: Maxim [EMAIL PROTECTED] [mailto:Maxim
[EMAIL PROTECTED]]On Behalf Of Maxim Maletsky
Sent: Monday, 3 February 2003 11:19 AM
To: anders thoresson
Cc:
Subject: Re: [PHP] how to write clean code.
Coding
Coding style is a very personal issue, one codes the way he/she likes.
But, for keeping the maintenance easier, K&R style (named after
Kernighan and Ritchie - the Linux fathers) would probably be the best. I
(personally) prefer it quite a lot, without much modifications.
Here are a few references
One resource I've found valuable is the PHP Coding Standard at
http://utvikler.start.no/code/php_coding_standard.html
To quote the introduction:
The PHP Coding Standard is with permission based on Todd Hoff's C++
Coding Standard. Rewritten for PHP by Fredrik Kristiansen / DB Medialab,
Oslo 2000-2
3 matches
Mail list logo