Files
OurUmbraco/OurUmbraco.Site/Documentation/Development-Guidelines/Coding-Standards/naming-conventions.md
T
Sebastiaan Janssen 810cbd267f Initial commit
2012-12-17 09:41:11 +01:00

828 B

#Naming conventions

##HTML & CSS

  • CSS class names will be .lowercase-hyphenated-names
  • HTML IDs will be camelCasedNames

##JavaScript

  • Namespaces: ProperCase
  • Class names: ProperCase
  • Method names: camelCase
  • Property names: camelCase
  • Private property names: _camelCase

##C# When developing new Class Libraries we will be adhereing as closely as possible to the official guidelines as proposed by Microsoft http://msdn.microsoft.com/en-us/library/ms229042.aspx

Another good reference is "Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries" book by Krzysztof Cwalina and Brad Abrams

Resharper settings are included with the solution, so developers can cleanup code in a consistent manner.