<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx</link><description>Site Definitions l A site definition is the core definition of what a site is in SharePoint. l A site definition is installed on file system of web front ends, located at ..\12\Template\SiteTemplates. This directory is language-neutral. l A site definition</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>a-foton &amp;raquo; Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx#8729265</link><pubDate>Sun, 13 Jul 2008 21:43:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8729265</guid><dc:creator>a-foton &amp;raquo; Site Definitions versus Site Templates and deciding on the correct customization approach</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/2008/07/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach/"&gt;http://blog.a-foton.ru/2008/07/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx#8761831</link><pubDate>Mon, 21 Jul 2008 18:51:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8761831</guid><dc:creator>petronella mhishi</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;You can create custom templates in development . You need to deploy them see example of how to deploy a list template here &lt;/p&gt;
&lt;p&gt;You can also do the same for site templates&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.sharepointblogs.com/tonstegeman/archive/2007/07/10/deploy-a-sharepoint-list-template-to-sharepoint-mysites.aspx"&gt;http://www.sharepointblogs.com/tonstegeman/archive/2007/07/10/deploy-a-sharepoint-list-template-to-sharepoint-mysites.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx#9593847</link><pubDate>Thu, 07 May 2009 18:39:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9593847</guid><dc:creator>Ven</dc:creator><description>&lt;p&gt;Excellent Article ...Hats-off.. Looking forward to more articles like this from you in future&lt;/p&gt;
</description></item><item><title>re: Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx#9874442</link><pubDate>Tue, 18 Aug 2009 22:23:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9874442</guid><dc:creator>Chalapathi</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;As part of SharePoint rollout in our company, we are in the process of developing custom site definitions/templates for team sites, project sites etc… &lt;/p&gt;
&lt;p&gt;We understood that new site definitions/templates required configuration (adding new views to lists, adding webparts to pages etc) can be built in three ways. They are &lt;/p&gt;
&lt;p&gt;Custom site template (do all the required configuration in a site and store it as .stp file to be used to recreate sites) &lt;/p&gt;
&lt;p&gt;Custom site definition (do all the required configuration in onet.xml of a custom site definition in 12 hive) &lt;/p&gt;
&lt;p&gt;Feature ( do all the required configuration in a dll through object model and attach the dll to Feature, to be called when a new site is created using Feature site template association) &lt;/p&gt;
&lt;p&gt;Instead of preferring option 2. above, we are leaning more towards option 3. (actually combination of 2. and 3. with bare bones site definiton) as this would help change the site definition ( by changing the dll) without touching the site definition files in 12 hive ( best practice from MS is not to touch the site definition files in 12 hive once site collections are created). This would help us in the version management of site definitions. &lt;/p&gt;
&lt;p&gt;But while preferring option 3., we are facing some challenges in doing the required configuration (changing some webpart settings) through code. &lt;/p&gt;
&lt;p&gt;So, do you have any idea if combination of 1. and 3. will be robust enough? By combination, I mean doing most of the changes in the custom template (option 1. above) and include some changes into Feature (option 3.) which are not doable through custom template. &lt;/p&gt;
&lt;p&gt;From the best practice perspective, do you suggest the above combination of 1. and 3. or you think it is better to go with 2. and 3. (with all the configuration done through code and just a bare bones site definition in 12 hive – this would require more time to resolve our challenges but will prefer if this is the best way to go.)? &lt;/p&gt;
&lt;p&gt;With Regards, &lt;/p&gt;
&lt;p&gt;Chalapathi&lt;/p&gt;
</description></item><item><title>re: Site Definitions versus Site Templates and deciding on the correct customization approach</title><link>http://blogs.msdn.com/brianwilson/archive/2008/07/13/site-definitions-versus-site-templates-and-deciding-on-the-correct-customization-approach.aspx#9897906</link><pubDate>Tue, 22 Sep 2009 11:42:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9897906</guid><dc:creator>Florin</dc:creator><description>&lt;p&gt;Very nice post, however a few comments:&lt;/p&gt;
&lt;p&gt; I agree with you that site definition are harder to develop but I do not agree that it is difficult to change after it has been deployed. I say this mainly thinking at feature stapling (I have seen on the MS site that changing site definitions already in use is not supported fo feature stapling is the only solution left :)).&lt;/p&gt;
&lt;p&gt;I always leave the onet.xml file blank and I only set the list of site/web features to be activated by default. By doing this I have never seen the issue you mentioned about 2 lists of the same type (I have never tried using SharePoint themes directly in the site definition, but I think it should be possible).&lt;/p&gt;
&lt;p&gt;Also, 3 important points about site definitions/templates comparison :&lt;/p&gt;
&lt;p&gt;- site templates cannot be multilingual&lt;/p&gt;
&lt;p&gt;- you cannot create a site template from a publising site (actually it works, if you use the correct Url but I think it is not supported, the link to create a site template is removed in the site admin page)&lt;/p&gt;
&lt;p&gt;- you cannot create a site template for the root site of a site collection (at least I haven't found a way to do it)&lt;/p&gt;
&lt;p&gt;- using site templates require extra work when working with multiple site collection/web application (you have to manually/automatically deploy the .stp files in the gallery)&lt;/p&gt;
</description></item></channel></rss>