share point best practices

40
Discover, Master, Influence 1 SharePoint Best Practices ReadiDepth Jeremy Thake Senior Consultant, Readify

Upload: guest17ee6d

Post on 10-May-2015

1.595 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Share Point Best Practices

Discover, Master, Influence 1

SharePoint Best Practices ReadiDepth

Jeremy ThakeSenior Consultant, Readify

Page 2: Share Point Best Practices

Agenda

• Painting a picture• Team development• Deployment• Tools• Celebrity Deathmatch

Page 3: Share Point Best Practices

PAINTING A PICTURESharePoint Best Practices - ReadiDepth

Page 4: Share Point Best Practices

DEV

Development

PRODUCTIONUATINTEGRATION

Page 5: Share Point Best Practices

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

Page 6: Share Point Best Practices

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

Page 7: Share Point Best Practices

More than one way to skin a cat

• Web User Interface• SharePoint Designer• Custom scripts• Solution Development

Page 8: Share Point Best Practices

TEAM DEVELOPMENTSharePoint Best Practices - ReadiDepth

Page 9: Share Point Best Practices

Environments

• Need SharePoint running on development environment• Visual Studio 2008 / SQL 2005

Page 10: Share Point Best Practices

Source Control

• Team Foundation Server– Shared Check outs– Labelling– Branching

Page 11: Share Point Best Practices

Code Analysis

• Disposing of SPWeb• Iterating through object collections

Page 12: Share Point Best Practices

Code Manageability

• Structure

Page 13: Share Point Best Practices

Visual Studio Team Edition Load Testing Tools

Page 14: Share Point Best Practices

DEPLOYMENTSharePoint Best Practices - ReadiDepth

Page 15: Share Point Best Practices

Automated Build Scripts

• Powershell

Page 16: Share Point Best Practices

Continuous Integration

Page 17: Share Point Best Practices

Traps Avoid

• Moving artifacts and content to environments using:– Backup/Restore– SharePoint Designer Export/Import

Page 18: Share Point Best Practices

TOOLSSharePoint Development Best Practices - ReadiDepth

Page 19: Share Point Best Practices

Content Deployment Wizard

• http://www.codeplex.com/SPDeploymentWizard

Page 20: Share Point Best Practices

DEMONSTRATIONContent Deployment Wizard to move content into Dev Environment

SharePoint Development Best Practices - ReadiDepth

Page 21: Share Point Best Practices

STSDEV

Page 22: Share Point Best Practices

DEMONSTRATIONSTSDEV to create workflow with InfoPath integration

SharePoint Development Best Practices - ReadiDepth

Page 23: Share Point Best Practices

WSPBuilder

Page 24: Share Point Best Practices

DEMONSTRATIONWSPBuilder to create Web Part Solution

SharePoint Development Best Practices - ReadiDepth

Page 25: Share Point Best Practices

SP Deploy

• http://code.google.com/p/rapid-tools/

Page 26: Share Point Best Practices

DEMONSTRATIONSP Deploy to create Site Structure

SharePoint Development Best Practices - ReadiDepth

Page 27: Share Point Best Practices

SharePoint Inspector

Page 28: Share Point Best Practices

DEMONSTRATIONSharePoint Inspector for debugging

SharePoint Development Best Practices - ReadiDepth

Page 29: Share Point Best Practices

VSeWSS – Solution Generator

Page 30: Share Point Best Practices

DEMONSTRATIONSolution Generator to create SharePoint List Template Solution

SharePoint Development Best Practices - ReadiDepth

Page 31: Share Point Best Practices

CELEBRITY DEATHMATCHSharePoint Development Best Practices - ReadiDepth

Page 32: Share Point Best Practices

SharePoint Designer vs Visual Studio Workflows

Page 33: Share Point Best Practices

SharePoint Lists vs SQL Database Tables

Page 34: Share Point Best Practices

InfoPath Forms vs ASP.NET Forms

Page 35: Share Point Best Practices

Site Features vs Site Templates

Page 36: Share Point Best Practices

Web.Config vs SharePoint Lists vs Web Service Configuration Management

• Web.config• SharePoint List• Web Service / Database

Page 37: Share Point Best Practices

SUMMARYSharePoint Development Best Practices - ReadiDepth

Page 38: Share Point Best Practices

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

Page 39: Share Point Best Practices

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

Page 40: Share Point Best Practices

Discover, Master, Influence 40

A Readify Developer Network sessionBy Jeremy Thake, Senior Consultant, Readify

Email Address: [email protected] Website: www.readify.net/rdn