Escolar Documentos
Profissional Documentos
Cultura Documentos
User Groups
http://uaesharepoint.org/
Dev Saturday UAE
Join US
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Agenda
OVERVIEW NEW API SHAREPOINT
CSOM JSOM INTRODUCTION
REST IMPROVEMENT
New JS based Modern Frameworks (JS
Knockout)
DEMO
New tools
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Declarative customizations
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Development tools
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Mobility
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Application services
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
APIsImprovements
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
APIsImprovements
By Features
Feature
Object-oriented programming
Yes
Yes
No
Batch processing
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Preview us CSOM
Everything WAS
client.svc
Issues with
CSOM
No Direct Access to
client.svc Web
Service
Must use a Proxy or
Supported End Points
Supports .NET
Silverlight &
JavaScript
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2010 CSOM
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
x
Changes
in SharePoint 2013
Extended REST Support for Client.svc
Client.svc with REST
Clients
New APIs
New APIs for Server
Functionality
API for Windows Phone
Development
Search
Taxono
my
Sharing
Workflo
w
EDiscovery
Feeds
Publishi
ng
Lists
IRM
Analytic
s
Busines
s Data
Execute
Query
.NET CLR
Library
Silverligh
C
t Library
JavaScrip
t Library
OData
Development &
Customization
Farm
Sandbox
Declarative
elements
Partially trusted
code service still
included for
limited server side
support
SP Apps
New Apps model
Deployed from
corporate catalog
or office market
place
Manage
permission and
licenses
specifically
Preferred option
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Demo
Managed Client
OM
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Demo
JavaScript Client
OM
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
MVVM
Separation of powers/interests
Model
Holds the information
Independent of UI
View
Formats the information
State representation of the view model
ViewModel
Encapsulates behavior
Code representation of data and
operations
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Knockout.js
JavaScript Library
Free, Open Source
No dependencies (other than JavaScript)
Compatible with all major browsers
Used to implement Model View ViewModel pattern
2-Way Data Binding
Notify subscribers about changes
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Simple and
Easier to Use
How to Query
Everything is URL
Results can be
cached on Proxy
Servers.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
What is OData?
Web Protocol for Basic CRUD
Operations on Data
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
URLs
Service Root URI : http://intranet.contoso.com/_api/
Resource Path SQL Table or Web or List
Query Strings Options $Filter, $select, $orderby
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
JSON
Condensed notation
Smaller payload
ACCEPT =
application/json;odata=verbose
;
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Summary
CSOM
Now Covers More
Important for App Development
REST
Improved Syntax
Easy to Use with JavaScript than C#
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.