Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Developer Primer - Sitecore

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Mon, Apr 02, 2012, 3:36 PM


Overview

Sitecore is a CMS (Content Management System) based on ASP.NET and typically a SQL Server database, although Oracle is also supported. It can be highly customized by opening the web project within Visual Studio. Content items are created within the content hierarchy and stored in the database. In certain cases, content items will point to a file on the web server. This is the case with sublayouts, which is the Sitecore term for a web user control (ASCX file).

Content is stored in one of three database: Core, Master, or Web. The actual database name is prefixed with the name of your Sitecore instance, plus "Sitecore_". Thus, if the name of your Sitecore instance (specified during installation) is "MySite", the three databases would be called MySiteSitecore_Core, MySiteSitecore_Master, and MySiteSitecore_Web. The connection strings to these databases is held in the ConnectionStrings.config file in the /App_Config folder off the website root.

  • The Core database holds all the UI and security data.
  • The Master database holds all versions of all items.
  • The Web database holds the most recent version of all items, and is typically the database the production site is based upon.

Terminology

  • Template — what another CMS might call a "content type", Sitecore calls a "template". Similar to the term "class" in OOP or a database table, a template defines the fields for an item, as well as other details.

  • Template Standard Values — Template Standard Values is a container on a template that holds (1) default fields values, (2) default insert options, (3) default presentation layout details, (4) workflow.

  • Insert Options — Insert Options on an item (or its template) define what other items may be created subordinate to the given item. For example, you might establish that only Product items may be created subordinate to a ProductCategory item. Insert Options can be set on an item or on Template Standard Values.

  • Item — an item is a unit of addressable content. It is created from and based upon a Template. It is similar to an "object" in OOP or a row in a database table. Although each item corresponds to a row in a database table (dbo.Items), the field values aren't directly accessible as database field values.

  • Layout

  • Sublayout and Rendering

Website Creation Roadmap

Website development typically proceeds as follows.

1. Data Templates are created for each content type. An icon for template may optionally be changed at this point to distinguish items based on this template from those based on others.

2. Template Standard Values are created for the Data Template.

3. The Template Standard Values are used to specify default field values and default insert options.

4. Components are created for the presentation layer. These take the form of either a Sublayout (which is stored internally as a .NET web user control – i.e., an ASCX file) or an Rendering (which is stored internally as an XSLT file). Note the Renderings (XSLT files) are typically used for static or less complex content, and Sublayouts (ASCX files) are used for more complex presentations.

5. Template Standard Values are bound to Presentation Layout Details.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.