Translate

Saturday, July 27, 2013

Difference between Server,Ecma and Managed Client object model


Server objects , client objects  and Managed .Net client objects


S.No.
Ecma Script
Server Object Model
.Net Managed
1
SP.ClientContext

Microsoft.SharePoint.SPContext
Microsoft.SharePoint.Client.ClientContext
2
SP.Site

Microsoft.SharePoint.SPSite
Microsoft.SharePoint.Client.Site
3
SP.Web

Microsoft.SharePoint.SPWeb
Microsoft.SharePoint.Client.Web
4
SP.List

Microsoft.SharePoint.SPList
Microsoft.SharePoint.Client.List
5
SP.ListItem

Microsoft.SharePoint.SPListItem
Microsoft.SharePoint.Client.ListItem
6
SP.Field
Microsoft.SharePoint.SPField
Microsoft.SharePoint.Client.Field

SharePoint 2013 Development Models


SharePoint 2013 Development Models

Microsoft has provided 3 types SharePoint model solutions


  1. Farm solution model
  2. Sandboxed solution model
  3. SharePoint app model

Farm solution model :
This model is basically known as the Fully Trusted Solution
(FTS) Model, which allows the developer to deploy customizations directly to global assembly cache (GAC) and web front end 15 hive or SharePoint Root folders. This option provides the greatest
power and flexibility in developing solutions for your SharePoint 2013 environment. 
This model was actually introduced in SharePoint 2007.


Sandboxed solution model
This model is known as Partially Trusted Solution (PTS) Model, this enables the developer to deploy customizations directly to an individual site collection. Partially trusted assemblies are executed in a separate isolated process, called the user code service. 

This model was introduced in SharePoint 2010 version.Microsoft has indicated that the sandboxed solution model is available in SharePoint 2013,but has been deprecated. This means you can still develop and use sandboxed solutions,but that they may not be upgradeable to SharePoint Next. Microsoft recommends moving away from the sandboxed solution model wherever possible and using the new app model in
conjunction with client object models and out-of-the-box web services

SharePoint app model
This is the new model introduced by microsoft in the latest version of SharePoint 2013 which is known as SharePoint app model. This model enables the developer to develop solutions that can be hosted in a corporate catalog and on the Microsoft Office Store Catalog.