[prog] Starting from scratch with PHP

Alex Smith alex at alexsmith.org
Fri Sep 29 08:39:19 UTC 2006


Hello,

Quoting binaryjane <binaryjane at gmail.com>:

> Where can I read about 'best practices' and figure out what I
> should be calling variables and functions? The site I am currently
> debugging calls their variables stuff like f_mf, and they don't
> comment their code, and it is a bit difficult to track things down
> because there is so much redundancy. I'd like to do a better job of
> it!

http://www.shelter.nu/blog-076.html

Seems to have a few positive things, although personally I prefer the use of
longer variable names, eg intInteger, arrArray, dbhDatabaseHandler, etc.

> Lastly, do any of you have any suggestions as to any elegant PHP code
> that I can read, or where I should go to find the really good stuff?

Elegant php != good php, yahknow.. ;)

Alex



More information about the Programming mailing list