Content Structure

Content Structure

How is content managed by the Sitecore CEP?

  • Sitecore separates Content and Presentation
    • Content is stored in the fields of content items in the Sitecore Content Tree
    • Presentation components are stored on the file system of the web server
    • Presentation components have a definition item in Sitecore so that Sitecore can use them
  • Sitecore separates “work in progress” from “live” content
    • Work in progress content is stored in the Sitecore master database
    • All of the tools in the Sitecore UI store content in the Sitecore master database
    • Live content is stored in the Sitecore web database
    • Sitecore copies content from the master database to the web database when a content item is published

How is content structured by the Sitecore CEP?

  • Some fields support a low structure for content
    • Rich Text fields and Word fields provide business users with free-form capability
    • Content can be combined with media, links and other markup to customize its display
  • Other fields support highly structured content
    • Content is contained in specific field types
    • These fields do not support the free form use of html markup
    • Business users should be trained to know the usage of fields

Sitecore content structure guidelines for page-centric sites

  • Provide a content structure that closely mimics that of the web site
    • Navigational controls can be built more easily
    • Security rules can easily be used to grant or deny access to parts of the Content Tree
    • Simplifies the business user's task of finding given items within the content structure
  • Convert the parent item to a bucket for UI performance when the number of child items will grow to more than one hundred items
  • Limit the number of numeric versions of any item to less than ten
  • Use the presentation layer to define structure rather than using Rich Text Editor fields
  • Implement Datasource parameters to restrict the display of Treelists, DropTrees and TreelistEx to ensure users can only select the appropriate items
  • Use TreelistEx instead of Treelist when displaying large tree hierarchies
  • Assign SEO-optimized names to folders that contain content items
  • Do not place items that will be accessed by a URL outside of the Home of the site
  • Set Insert Options to enforce the topology of the tree by restricting what types of items users can create in the different parts of the tree

Sitecore content structure guidelines for panel-centric sites

  • A panel-centric site is one where most or all of the pages of the site are constructed from a set of reusable panels
    • The panels can be combined in any order to render the page
    • The pages appear as a set of multiple bands of content
  • Provide a separate content hierarchy for the navigation of the site so that pages can be more easily moved around
    • Create a node under /Globals named topnav
    • Use it to define your menu structure using a hierarchy of items with link fields

Sources