What is a SharePoint site definition?
- SharePoint sites consist of numerous Web pages, just like an ASP.NET 2.0 application.
- When a site is created, these pages are created as instances in the content database.
- The instances refer to the actual file on the file system.
- Contains a server-side collection of files that defines the structure of one or more site templates.
They are composed of the following: a. A webtemp.xml file that defines the numbering and creation details for the various site templates that are contained in the site definition.
b. A separate directory that contains all of the core files used by the site definition, excluding any items that are provided through Features.
c. The webtemp.xml file is stored in the following directory:
%COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML
d. The directory that contains the site definition files is named according to the site definition’s name and is stored in the following directory:
%COMMONPROGRAMFILES%\Microsoft Shared\web server extensions \12\TEMPLATE\SiteTemplates