Zend Framework Coding Standards

Posted on the 10 July 2012 by Akahgy

Description:

Guideline for coding in the Zend Framework.

Solution:

Use the following coding standards, derived from the original coding standards inherited from http://framework.zend.com/manual/en/coding-standard.overview.html :

Class names: Classes_Upper_Case

Function names: camelCaseFunction

Constant names: CONSTANTS_USE_CAPITAL_LETTERS

Configuration: UTF8

Return parameters(no direct $_GET or $_POST):
$param = $this ->_request ->getParam(‘param’);