I have been developing SharePoint 2007/2010 for a couple of years. And now I understand that no company uses the same deployment method for new sites. I wonder what “best practices” need to be deployed.
Here is the method I used:
1 - Avoid using the WSP method
- Create a site in DEV using the SharePoint GUI interface (create subsites, lists, libraries, pages, etc.).
- Configure some minor things through SharePointDesigner.
- When this is done, we will pack DEV with stsadm -export , and then port it to QA and PROD using stsadm -import .
- When we need to make changes to an existing site, we create a console application (.exe) that makes the necessary changes, test it on QA , then run it on PROD (and register all operations in a separate txt file).
- We use only WSPs to deploy Web pages, EventReceivers, or things to be used on different sites.
2 - Do everything in the WSP method
- , , WSP, , ( , , , ..) .
- , SiteCollection, WSP .
- , WSP, , , .
() # 1, . , ? # 1 , .