Control Types

Control Types

Control Types

  • Sitecore supports the use of XSLT, web controls, and user controls for presentation
  • Each of these controls should be part of the mix to reduce development time
  • Pick a control to use based on which one reduces the overall complexity

XSLT

  • Provides rapid development
  • Useful when the rendering is relatively simple
  • Lots of useful sample code and snippets on the web
  • Avoid implementing too many XSLT extensions
  • Cannot create forms or Sitecore placeholders

User Controls (SubLayouts)

  • Provide a clean separation between presentation and code
  • Primary purpose is to generate placeholders and divs

Sources