Naming conventions

  • Use the suffix “Base” for abstract classes.
  • Suffix part classes with "Part", records with "Record" and records of parts with "PartRecord".
  • Name js and css files with the segments of their names delimited by dashes, e.g. my-style.css. It's also advised to prefix names of such resources with the module name, since these names are global, e.g. my-module-my-style.css.
  • Resource names declared in resource manifests are also global so prefix them with the module's name e.g. "MyModule.MyStyle".

This page is part of the Orchard Dojo Library!

This page and many others here are part of the open-source, portable package of Orchard 1.x goodies: the Orchard Dojo Library. The Library is freely accessible by anyone; just go to its repository to download its full content (you can even download the textual content of the Library as a big concatenated document in HTML), file issues or fork it! You can even edit it online on Bitbucket, just click on the Edit link in the upper right corner!

Note that the Library also has an Orchard Core version, check it out here!