Zend Coding Guidelines
just recently started trying to 'standardise' the way i program, i stumbled across this article from Zend, mainly for coders developing software for the Zend framwork, but i think it translates well to other uses too.
In it contains some usedful advise that i had never thought of before, for example for PHP files that only contain PHP code the '?>' closing tag is not required, and according to Zend is to be omitted as it is not required by PHP not having it prevents trailing whitespace from being injected into the output.
there are somthings i would disagree with i.e. brace placing and also some people may dislike the "camelCaps" (which i use) but it proves a good read (well it did for me anyway)
here it is:
Yep it is a good read and has some valuable tips.
Hmm, apparently I code using the Zend Framework standards which are comparable to the PEAR standards. Oh no, I'm standard !
|All times are GMT. The time now is 10:20 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0