Difference between revisions of "Developers Standards"

From Zen Cart(tm) Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
Zen Cart Coding Standards
 
Zen Cart Coding Standards
 +
Currently I am using a mix of the pear/phpBB coding standards docs to provide the categories as below. 
  
 
== Indentation ==
 
== Indentation ==
 
== Control Structures ==  
 
== Control Structures ==  
== function Calls ==
+
== Function Calls ==
== function Definitions ==
+
== Function Definitions ==
 
== Comments ==
 
== Comments ==
 
== Including Code ==
 
== Including Code ==
 
== PHP Code Tags ==  
 
== PHP Code Tags ==  
 
== Header Comment Blocks ==
 
== Header Comment Blocks ==
 +
== Example URLs ==
 +
== Maning Conventions ==
 +
=== Variable Names ===
 +
=== Function Names ===
 +
=== Class Names ===
 +
== Code Optimisations ==
 +
== SQL/SQL Layout ==
 +
== File Locations ==
 +
== Miscellaneous ==

Revision as of 22:30, 30 December 2005

Zen Cart Coding Standards Currently I am using a mix of the pear/phpBB coding standards docs to provide the categories as below.

Indentation

Control Structures

Function Calls

Function Definitions

Comments

Including Code

PHP Code Tags

Header Comment Blocks

Example URLs

Maning Conventions

Variable Names

Function Names

Class Names

Code Optimisations

SQL/SQL Layout

File Locations

Miscellaneous