Zend Framework coding standards

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’);

Advertisements

About admin

Just another php developer trying to give something back to the community.
This entry was posted in Best practices, Script and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s