Development/Server Coding Style
From MusicBrainz Wiki
Jump to navigationJump to search
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