PHP Coding Standards (5) – Errors and Exceptions
1. The Zend Framework codebase must be E_STRICT compliant. Zend Framework code should not emit PHP warning (E_WARNING, E_USER_WARNING), notice (E_NOTICE, E_USER_NOTICE), or strict (E_STRICT) messages … Continue reading
Registry Pattern in Zend Framework
The registry has provided a mechanism which help you to store and maintain your objects within the application. It's aim at preventing improperly using the global objects by users. The registry usuall… Continue reading
PHP Coding Standards (4) – Inline Documentation
1. Docblocks start always with "/*" or "/**". The use of "#" is not allowed. The " //" is only allowed for comments within functions. For example : [codesyntax lang="php"] /** * Class docblock */ clas… Continue reading