STUG-Client Object Model SharePoint 2010
Upcoming SlideShare
Loading in...5
×
 

STUG-Client Object Model SharePoint 2010

on

  • 1,474 views

 

Statistics

Views

Total Views
1,474
Views on SlideShare
1,229
Embed Views
245

Actions

Likes
0
Downloads
15
Comments
0

1 Embed 245

http://www.shakirmajeed.com 245

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

STUG-Client Object Model SharePoint 2010 STUG-Client Object Model SharePoint 2010 Presentation Transcript

  • Client Object Model –SharePoint 2010Shakir Majeed Khanhttp://junooni.wordpress.com/
  • MySelf User Group Leader of SharePoint Techies, http://www.facebook.com/pages/SharePoint- Techies Working independently on SharePoint technologies. Trainer for Microsoft Office SharePoint Server 2007 and Window SharePoint Services 3.0 at AUC Technologies.
  • Agenda This Session is divided into two Client Side Object Model NET Client OM ECMAScript Client OM Silver Light API Questions
  • Why Client Object Model? More SharePoint Web services is a major request Client Object Model provides complete API instead of more services Provides an abstraction layer to return results as recognizable SharePoint objects Consistent developer experience across platforms (.NET, ECMAScript, Silverlight)
  • Equivalent ObjectsServer .NET Managed Silverlight ECMAScript(Microsoft (Microsoft.SharePoint (Microsoft.SharePoint (SP.js).SharePoint) .Client) .Client.Silverlight)SPContext ClientContext ClientContext ClientContextSPSite Site Site SiteSPWeb Web Web WebSPList List List ListSPListItem ListItem ListItem ListItemSPField Field Field Field
  • Using the Client Object Model ECMAScriptControls and LogicBrowser JSON Response ECMAScript OM Server XML Request OM Proxy Client.svc XML Request Proxy JSON Response Content Managed OM databaseManaged Client Managed Controls and Logic SharePoint Server
  • Client Object Model .NET Client Object Model
  • Demo
  • Client Object Model ECMAScript Client Object Model
  • ECMAScript Client OM ECMAScript Client OM is easily added to a SharePoint ASPX page - reference: _layouts/sp.js Add this using <SharePoint:ScriptLink> All libraries crunched for performance Use un-crunched *.debug.js by adding <SharePoint:ScriptLink … ScriptMode=“Debug” /> Method signatures can be different Different data value types
  • Demo
  • Thank YouFacebook: http://www.facebook.com/shakir.majeedBlog: http://junooni.wordpress.com/Email: shakir.majeed@gmail.com