Development Wiki

PhpBB4/RFC/Coding Guidelines

From phpBB Development Wiki

Revision as of 01:48, 18 January 2010 by Naderman (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The coding guidelines for phpBB4 are based on the coding guidelines document for phpBB3. Information on templating, styling, translating, the file structure and the DBAL has been removed. A few changes were made. The most significant ones being:

  • Spaces instead of tabs
  • CamelCase for all identifiers
  • No closing PHP tag
  • New file header
  • Additional guidelines on object oriented concepts (Interfaces, Classes, etc.)