http://www.devshed.com/index2.php?op...ge=0&hide_js=1
"The first practice we will discuss covers directory structure and security along with filesystem naming conventions for PHP applications. After that, we will cover some coding conventions such as function and variable naming, indentation, and more. Lastly we will review basic coding considerations to provide flexibility, scalability, and efficiency. Before beginning, let it be understood that some of the conventions advocated in this article could be considered a matter of preference and are by no means the single correct solution, however they are time tested and have proven effective time and again in application development."
Articles like this are definitely must-reads for all PHP developers. Most useful if you're still beginning, but even experienced PHP developers can miss a few of the points described there. Of course it's far from being a complete list of best practices, as you can't describe "best practices" without making someone disagree.
Anyways I gave a print-friendly version as I hate browsing through multiple pages of an article. And the print-friendly version is also save-as-friendly. ;-)
You can find my other favorite PHP resources here:
http://www.furl.net/members/ceefour/PHP
Also you can visit my site:
http://dev.gauldong.net/





Bookmarks