SharePoint 2010 as a Development Platform
Ayman El-HattabTechnology Solution ProfessionalMEA Center of ExpertiseSharePoint [email protected] www.aymanelhattab.com
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.
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
Compare editions :
http://sharepoint.microsoft.com/en-us/buy/Pages/Editi
ons-Comparison.aspx
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
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.
Customization Options
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.
Components of a SharePoint Application
Data Structures and StorageUser InterfacesSecurityBackground ServicesService APIs
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).
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
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
User Interface
Data is worthless without UI.Build SharePoint Web UI’s using:
ASP.NETJavaScriptSilverlightInfoPath (Enterprise)
Services allow for any clientWindows FormsWPFNon Windows Platforms
SharePoint 2010 Team Site
Major Shifts in SharePoint UIServer ribbon
In-place editing
Popup dialog
AJAX refresh
Extensible UI ControlsClient Side actions in Ribbon added through Custom ActionsContext Sensitive Ribbon
Status Bar Notification Area
The Ribbon
Dialog Framework
Keep the user in contextOperations without unnecessary post packs
Dialog Framework
Security
Authentication Vs. Authorization.Windows Identity Foundation enables externalization of Authentication (Claims-Based)Scenarios: Live ID, Facebook or Twitter Authentication.
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,…)
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 …
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
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.
SharePoint 2010 as a Development Platform
Web Apps, Site Collections, Sites, Lists, Pages and Web Parts!
demo
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
SharePoint Object Model
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
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
Recap: SP2010 as a Dev. Platform
© 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.
Top Related