30
©2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010 SharePoint 2010 as a Development Platform Ayman El-Hattab Technology Solution Professional MEA Center of Expertise SharePoint MVP [email protected] www.aymanelhattab.com

SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Embed Size (px)

DESCRIPTION

1. Understand SharePoint editions and prerequisites.2. Understand the features SharePoint offers as a development Platform.3. Explore the differences between a site collection and a site.4. Create site collections and sites5. Create lists and libraries through the browser.6. Use Web Part pages.

Citation preview

Page 1: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint 2010 as a Development Platform

Ayman El-HattabTechnology Solution ProfessionalMEA Center of ExpertiseSharePoint [email protected] www.aymanelhattab.com

Page 2: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Session Objectives

Understand SharePoint editions and prerequisites.Understand the features SharePoint offers as a development Platform.Explore the differences between a site collection and a site.Create site collections and sitesCreate lists and libraries through the browser.Use Web Part pages.

Page 3: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint Capabilities by Edition

SharePoint Enterprise

Advanced scenarios with rich data integration and

analysis

SharePoint Standard

Single collaboration platform across all types

of content

SharePoint Foundation

Free Enabling technology for developers and

basic scenarios

Site

s

Com

mun

itie

sCo

nten

t

Sear

ch

Insi

ghts

Com

posi

tes

Page 4: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Compare editions :

http://sharepoint.microsoft.com/en-us/buy/Pages/Editi

ons-Comparison.aspx

Page 5: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

System RequirementsOS requirements for SharePoint 2010

Windows Server® 2008 SP2 or laterWindows Server® 2008 R2Must be 64 bit

SQL requirementsSQL Server 2005 SP2 or laterSQL Server 2008 SP1 CU2 or later

SP1 + KB970315

Must be 64 bitYou can use Windows Vista or Windows 7 for your development environments. Video: http://is.gd/js2FC

Page 6: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SP2010 as a Dev. Platform

SharePoint is a web application accessed through browser. Everything in SharePoint is based on templates (Web Sites, Data structure and storage components, processes, User Interface elements)Those templates are (XML + .NET) based.SharePoint has an engine to create instances of those templates.SharePoint has background services that run behind the scenes.

Page 7: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Customization Options

Page 8: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Components of a SharePoint Application

SharePoint applications are called “Solutions”.Stand-alone solutions (ISV’s)Reusable components that can be used by other solutions.Consistent deployment model for devs and admins. (Portability, versioning, ALM, etc…)All solution should use the platform services and frameworks provided by SharePoint foundation.

Page 9: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Components of a SharePoint Application

Data Structures and StorageUser InterfacesSecurityBackground ServicesService APIs

Page 10: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Data Structures and Storage

SharePoint provides services for data and content

ModelingManipulatingStoring

Underlying mechanismsWindows File SystemSQL Server

For end-user, storage details are invisible.For developer, storage details are abstract (API’s).

Page 11: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Data Structures and Storage API’s

API’s for working with dataCAML (XML Based)Managed codeJavaScript and Silverlight client librariesVarious web services (SOAP, WCF and REST)

API’s supportDeploy data and contentDefine and manage data structures.Define and manage data stores.Retrieve and manipulate data and content

Page 12: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Data API's

LINQ

SharePoint Data

External Data

Data Storage

Client-side

Server-side

Strongly-typed lists

Weakly-typed lists

Strongly-typed lists

Weakly-typed listsServer OM

Client OM

REST APIs

Page 13: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

User Interface

Data is worthless without UI.Build SharePoint Web UI’s using:

ASP.NETJavaScriptSilverlightInfoPath (Enterprise)

Services allow for any clientWindows FormsWPFNon Windows Platforms

Page 14: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint 2010 Team Site

Page 15: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Major Shifts in SharePoint UIServer ribbon

In-place editing

Popup dialog

AJAX refresh

Page 16: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Extensible UI ControlsClient Side actions in Ribbon added through Custom ActionsContext Sensitive Ribbon

Status Bar Notification Area

The Ribbon

Page 17: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Dialog Framework

Keep the user in contextOperations without unnecessary post packs

Dialog Framework

Page 18: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Security

Authentication Vs. Authorization.Windows Identity Foundation enables externalization of Authentication (Claims-Based)Scenarios: Live ID, Facebook or Twitter Authentication.

Page 19: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Background Services

Long running services.Search IndexingSurfacing external data in SharePoint (BCS).Word Automation Services

Service Application FrameworkOOB ServicesCustom ServicesAdministrative and configuration interfaces (Web, PowerShell,…)

Page 20: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Service API’s

Nothing is locked!Access data and services from other clients.Wide Variety:

SOAP ServicesWCF ServicesREST API’s (HTTP GET Request to retrieve data)WebDAVMore …

Page 21: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint Vocabulary ReviewFarm

SPFarm

Web ApplicationsSPWebApplication

Site CollectionsSite collection

SPSite

Site SPWeb

Root Site

Sub sites

Field 1 Field 2 Field 3

Item 1

Item 2

Item 3

Item 4

Item -SPListItem

List - SPList

Field 1 Field 2 Field 3

File 1

File 2

File 3

File 4

File – SPFileFolder - SPFolder

Document Library - SPDocumentLibrary

Lists

Page 22: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint Vocabulary Review

Pages: UI components that enable sites to display information and interact with users.Web Part: Packaged personalizable unit of functionality that end-user can drop onto a page.Web Part Page: A pre-designed page that is designed to accept web parts.Wiki Page: Less rigid than a web part page and supports in place editing.Site Pages Vs. Site Assets Library.

Page 23: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint 2010 as a Development Platform

Web Apps, Site Collections, Sites, Lists, Pages and Web Parts!

demo

Page 24: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Visual Studio 2010Developer Tools for SharePoint

Web Part, BCS and Workflow designersPackage and Deploy SharePoint projectsGenerate WSP for Production DeploymentView SharePoint site in Server ExplorerTeam Foundation Server Integration

Develop, Deploy and Debug

Web Part Designer

Project Types

Page 25: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint Object Model

Page 26: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

SharePoint Designer 2010The No code tool for SharePoint

Free for creating and editing SharePoint artifactsNew Tools

Connect to external dataList SchemaCustom ActionsTask / Approval Designer

Improved Tools Workflow DesignerPage Editor

SharePoint Designer work can be upgraded to Visual Studio 2010

“Save site as template” in SharePoint Site Settings creates solution package which can be imported to VS 2010

Page 27: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

The SharePoint Powershell Snapin

Explicitly load SharePoint PowerShell snap-in from console or script

Implicitly load snap-in by using link in Windows Start menu

Begin using SharePoint Cmdlets

Page 28: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

Recap: SP2010 as a Dev. Platform

Page 29: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
Page 30: SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.