I am pretty new to PHP classes and I want to follow the standard pattern?
views:
43answers:
3
+3
A:
The Zend guidelines are the most popular:
Though really the best advice on naming conventions in any project is simply to pick one that works best for you and your team, and therefor will follow so long as it's consistent.
byte
2010-05-21 06:31:45
A:
It makes sense to choose a widely used coding convention that is well documented. One such example is the PEAR coding conventions (which include the PEAR naming conventions). That way you're less likely to encounter stylistic differences among yourself and your team members and you don't need to write and maintain the documentation yourself.
Asaph
2010-05-21 06:35:48
+1
A:
Another popular is the one defined here: http://drupal.org/coding-standards
Palantir
2010-05-21 06:36:11