NYCPHP Meetup

[nycphp-talk] Best practices for naming conventions & coding style?

lists at nopersonal.info lists at nopersonal.info
Tue Apr 28 11:01:37 EDT 2009


Justin Hileman wrote:

> If you're looking for suggestions, I tend to use a modified PEAR
> coding style--with a just a handful of exceptions where they got
> stupid--when I write PHP. It's a lot like K&R/1TBS, so it's
> comfortable to me... And it helps that several of the projects I work
> on have compatible coding standards.
>
> See:
>
> http://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS
> http://pear.php.net/manual/en/standards.php
> http://drupal.org/coding-standards
> http://zoopframework.com/docs/coding-standard
>

I'll take a look at those, thanks.

Bev




More information about the talk mailing list