DocumentType to contain children of another DocumentType
Hello.
Is there any best practices on the naming of a document type that should contain children of another document type, ie an "ArticleList" document type that contains "Article" nodes?
I have previously named such document types "Articles" and "Article", but I just discovered that this is a VERY bad idea if you want to use Linq 2 Umbraco.
Im thinking about suffing the list/collection document type with "Collection". In some cases "Database" might also be a good suffix, ie a "ProductDatabase" that contains "Product" nodes. What naming convention do you guys use?
DocumentType to contain children of another DocumentType
Hello.
Is there any best practices on the naming of a document type that should contain children of another document type, ie an "ArticleList" document type that contains "Article" nodes?
I have previously named such document types "Articles" and "Article", but I just discovered that this is a VERY bad idea if you want to use Linq 2 Umbraco.
Im thinking about suffing the list/collection document type with "Collection". In some cases "Database" might also be a good suffix, ie a "ProductDatabase" that contains "Product" nodes. What naming convention do you guys use?
Thanks,
Andreas
Hi Andreas,
I often use the suffix Folder, and using one of the Famfamfam-folder-icons. Nah, plurals aint good... See also http://our.umbraco.org/wiki/reference/umbraco-best-practices
Regards
Jonas
Hi Jonas.
Thanks for your reply. I recently discovered the best practices article that you are linking to. Unfortuntely I found this a little late.
So I guess I can conclude that using a suffix like "Folder" or "List" is a best pratice.
/Andreas
is working on a reply...