A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Wednesday, November 16, 2011

Web Templates and Site Provisioning (via Paul Beck)

Extracted from the original post

The age old debate on how to provision sites in SharePoint was well and truly answered in my mind; use Site Definitions with feature stapling to provision your sites. In MOSS I even have xml driven config files to create sites using this technique en masse. It just irritates me when people mention site templates (the old .stp files). In SP2010 site templates are .wsp files and have improved from my minor experience however, due to the upgrade issues in MOSS and just how flaky I found site templates in MOSS I recommend avoiding them like the plague. And I see no reason why Site Templates are better than Site Definitions, some guy always pops up with speed of creation and how flexible they are but I don't want the headaches all over the environment.
Anyway, Anders Rask did a session on Web Templates and I'm sold. The question should now be Site Definitions or Web Templates? Webv templates look great, fairly straight forward and reproducible as they are created in Visual Studio (VS).

These are you options for site provisioning as laid out by Anders as i scribbled them down:

· Site Templates

· Site Definition

· Feature Stapling

· Provisioning Providers (I've never used)

· Web Templates (I've never used)

For complete post click here