Post on 10-May-2015
Discover, Master, Influence 1
SharePoint Best Practices ReadiDepth
Jeremy ThakeSenior Consultant, Readify
Agenda
• Painting a picture• Team development• Deployment• Tools• Celebrity Deathmatch
PAINTING A PICTURESharePoint Best Practices - ReadiDepth
DEV
Development
PRODUCTIONUATINTEGRATION
Content and artifacts
– Artifacts• Master Pages, Page Layouts, Style Sheets, Images, Web Parts,
Content Types, List Templates, Event Receivers, Workflows, InfoPath Forms, Site Columns, Custom Fields
– Content• List Item Instances
– Pages, Documents, Tasks• Site Instances
– Team Sites, Document Workspaces
Synchronising Environments
• Hard to do two way syncs• Storage
– 12 Hive– Content Databases– Web Application Web.Configs– Web Applications, Site Collections, Sites, Lists object properties– Assemblies (GAC, Web Application bin directories)– Components
• ASP.NET 3.5
More than one way to skin a cat
• Web User Interface• SharePoint Designer• Custom scripts• Solution Development
TEAM DEVELOPMENTSharePoint Best Practices - ReadiDepth
Environments
• Need SharePoint running on development environment• Visual Studio 2008 / SQL 2005
Source Control
• Team Foundation Server– Shared Check outs– Labelling– Branching
Code Analysis
• Disposing of SPWeb• Iterating through object collections
Code Manageability
• Structure
Visual Studio Team Edition Load Testing Tools
DEPLOYMENTSharePoint Best Practices - ReadiDepth
Automated Build Scripts
• Powershell
Continuous Integration
Traps Avoid
• Moving artifacts and content to environments using:– Backup/Restore– SharePoint Designer Export/Import
TOOLSSharePoint Development Best Practices - ReadiDepth
Content Deployment Wizard
• http://www.codeplex.com/SPDeploymentWizard
DEMONSTRATIONContent Deployment Wizard to move content into Dev Environment
SharePoint Development Best Practices - ReadiDepth
STSDEV
DEMONSTRATIONSTSDEV to create workflow with InfoPath integration
SharePoint Development Best Practices - ReadiDepth
WSPBuilder
DEMONSTRATIONWSPBuilder to create Web Part Solution
SharePoint Development Best Practices - ReadiDepth
SP Deploy
• http://code.google.com/p/rapid-tools/
DEMONSTRATIONSP Deploy to create Site Structure
SharePoint Development Best Practices - ReadiDepth
SharePoint Inspector
DEMONSTRATIONSharePoint Inspector for debugging
SharePoint Development Best Practices - ReadiDepth
VSeWSS – Solution Generator
DEMONSTRATIONSolution Generator to create SharePoint List Template Solution
SharePoint Development Best Practices - ReadiDepth
CELEBRITY DEATHMATCHSharePoint Development Best Practices - ReadiDepth
SharePoint Designer vs Visual Studio Workflows
SharePoint Lists vs SQL Database Tables
InfoPath Forms vs ASP.NET Forms
Site Features vs Site Templates
Web.Config vs SharePoint Lists vs Web Service Configuration Management
• Web.config• SharePoint List• Web Service / Database
SUMMARYSharePoint Development Best Practices - ReadiDepth
Points to take away
• Nothing gets into an environment without a Solution WSP Package
• All artifacts are stored in source control• Choose your weapons wisely
For more information
• Jeremy Thake’s blog– http://wss.made4the.net/
• Jeremy Thake’s Diigo Social bookmarks– http://www.diigo.com/user/jthake/
• Perth SharePoint User Group– Richard Greene – Implementing BDC– Tommy Segoro – Comparing Development Tools– Clinton Cherry – Semantic Search Add-on
Discover, Master, Influence 40
A Readify Developer Network sessionBy Jeremy Thake, Senior Consultant, Readify
Email Address: jeremy.thake@readify.netRDN Website: www.readify.net/rdn