My PHP Naming Convention
Join the DZone community and get the full member experience.Join For Free
From: http://codex.gallery2.org/Gallery3:Coding_Standards Files: lower_case Classes: Proper_Case (nouns) Variables: lower_case (short and meaningful) Functions: lower_case (verbs), questions with 'is_' preffix (is_enabled) Constants: UPPER_CASE DB Tables: lower_case (pluralized nouns) DB Fields: lower_case (singular). Dates with '_on' suffix, questions with 'is_' preffix, user related with '_by' suffix
Opinions expressed by DZone contributors are their own.