Difference between revisions of "SME Server db property naming convention"
From SME Server
Jump to navigationJump to searchLine 5: | Line 5: | ||
* Single property names are always in ''lowercase' e.g. | * Single property names are always in ''lowercase' e.g. | ||
db configuration sshd setprop ''access'' private | db configuration sshd setprop ''access'' private | ||
− | where '''access''' is completely in lowercase | + | where '''access''' is a single word string and completely in lowercase |
− | * Composite property names are '' | + | * Composite property names are ''capitalized per word'' of the composite property name e.g. |
db configuration sshd setprop ''PermitRootLogin'' yes | db configuration sshd setprop ''PermitRootLogin'' yes | ||
− | where '''PermitRootLogin''' is | + | where '''PermitRootLogin''' is a composite string and capitalized per composite word. |
+ | |||
+ | |||
+ | * Composite property names that include abbreviations have capitalized abbreviations e.g. | ||
+ | db configuration sshd setprop ''TCPPort'' 22 | ||
+ | where '''TCPPort''' is a composite string with capitalized abbreviation and capitalized per composite word. |
Revision as of 18:46, 28 December 2014
The db Property naming convention is as follows:
- Single property names are always in lowercase' e.g.
db configuration sshd setprop access private
where access is a single word string and completely in lowercase
- Composite property names are capitalized per word of the composite property name e.g.
db configuration sshd setprop PermitRootLogin yes
where PermitRootLogin is a composite string and capitalized per composite word.
- Composite property names that include abbreviations have capitalized abbreviations e.g.
db configuration sshd setprop TCPPort 22
where TCPPort is a composite string with capitalized abbreviation and capitalized per composite word.