Set of API for SharePoint 2013 to manipulate SharePoint list and library.
1.
Server-Side Object Model (SSOM)
By using
Server-Side Object Model (SSOM) we can write the code to access the
SharePoint data on machine where SharePoint Server is installed, the language
can use C# or Vb.net.
Server
Object Model is the most extensive API set available for SharePoint 2013.
Server
Object Model core assembly is Microsoft.SharePoint.dll which is installed in
the Global Assembly Cache
Object
Hierarchy
SPFarm
SPServer
SPService
SPWebApplication
SPSite
SPWeb
SPList
SPListItem
To See More
on Server Side Object Model (SSOM)
2.
Client-Side Object Model (CSOM)
Client
Object Model provides API to access SharePoint objects from a client machine.
The core assembly involved is Microsoft.SharePoint.Client.
You
can access & modify SharePoint objects from a remote client machine.
Following
are the 3 types of Client-Side Object Model :
.Net
Silverlight
Mobile
Asynchronous
Methods are provided in Client Object Model.
SharePoint
provides REST (Representational State Transfer) enabled web services that allow
objects to be transferred in JSON format. Client Object Model assemblies in the
background uses these web services to communicate with the server.
To See More
on Client Side Object Model (CSOM)
3.
JavaScript Object Model (JSOM)
JSOM
provides a comprehensive set of APIs that can be used to perform operations on
most SharePoint objects such as Site, Web, List, Content Types, User Permission
and so forth.
Following files
built for ECMAScript-enabled platform:
SP.js
SP.Core.js
SP.Ribbon.js
SP.Runtime.js
Above files
are deployed in the {SharePointRoot}\TEMPLATE\LAYOUTSdirectory. The default master pages of
SharePoint define a ScriptManager control, by default includes references to these .js files. You can
also reference manually.
Client
Object Model within a custom ASPX page, required to include the FormDigest
control by you.
.Net
Server Object
|
JavaScript
Object
|
SPSite
|
SP.Site
object (sp.js)
|
SPWeb
|
SP.Web
object (sp.js)
|
SPWebCollection
|
SP.WebCollection
object (sp.js)
|
SPList
|
SP.List
object (sp.js)
|
SPListItem
|
SP.ListItem
object (sp.js)
|
SPListItemCollection
|
SP.ListItemCollection
object (sp.js)
|
Client
context not available
|
SP.ClientContext
object (sp.js)
|
SPContentType
|
SP.ContentType
object (sp.js)
|
SPContext
|
SP.RequestContext
object (sp.js)
|
To See More on JavaScript Object Model(JSOM)
Thank you very
much
Fahadullah Karimi
SharePoint Specialist
How to Create Master Page Using Design Manager in SharePoint 2013 | Server Side Object Model(SSOM) in SharePoint 2013 |
Very clearly explained Server Object Model in SharePoint 2013, Keep share more SharePoint articles.
ReplyDeleteBest Regards,
SharePoint 2013 Online Training in Hyderabad