Development/Server Coding Style

From MusicBrainz Wiki
< Development
Revision as of 13:11, 30 June 2008 by LukasLalinsky (talk | contribs) ((Imported from MoinMoin))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • Alert.png Status: This page is work in progress and has very questionable content :)

MusicBrainz Server Coding Style

Perl Modules

  • Use tabs, not spaces.
  • Name references to the current object $self, not $this.
  • Use words separated by underscores for function/method names. The server currently uses CamelCase, but I'd propose to change this to match perlstyle and most existing Perl modules.

TT2 Templates

  • TODO

CSS

  • TODO

JavaScript

  • TODO

ServerDevelopment