O'Reilly logo

Microsoft® SharePoint® 2013 App Development by Scot Hillier and Ted Pattison

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Client-side Programming

The Microsoft SharePoint 2013 app model does not support running server-side code within the SharePoint host environment. As a result, SharePoint developers cannot utilize the server-side API in apps. Instead, app developers must use the client-side API, which consists of the Client-Side Object Model (CSOM) and the Representational State Transfer (REST) API.

When developing apps, CSOM and the REST API can be programmed by using either C# or JavaScript. C# is used in remote webs associated with provider-hosted or autohosted apps. JavaScript can run in the browser in SharePoint-hosted, provider-hosted, or autohosted apps. The combination of languages and APIs results in the app designs outlined in Table 2-1.

Table 2-1. App ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required