Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Nefarious Designs Blog:
On Coding Standards
Feb 02, 2011 @ 10:15:46

On the Nefarious Designs blog today there's a new post looking at something that can be a key in the strategy of a development group - creating a coding standard.

In my time as a web developer, I have been involved in the definition, implementation, and maintenance of several different coding standards, across various web-based languages. In my experience, this process is not as straightforward as it first seems, and can lead to a great deal of headaches if not handled in a very specific manner.

He talks about why a coding standard is even important and some of the first steps you and your team can take towards creating them. He breaks it up into a few different sections:

  • Comments
  • Naming conventions
  • Style (ex. tabs versus spaces)
  • Already accepted standards
  • Expressions
  • Concerns over file size
tagged: coding standard create opinion

Link: