To follow up on the PEARs coding standards idea from Sean (good thinking, always good to stick to something existing): find it at: http://pear.php.net/manual/en/standards.php Also, PEAR uses phpdoc (http://www.phpdoc.de/) as inline API document generator. Have a look and try it out! I vote for (trying to) adhere to it. Nico