Chapter 5. 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 use the server-side application programming interface (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.
This chapter demonstrates the use of CSOM and REST in the various app designs. Along the way, it introduces the required technical concepts necessary to understand the app designs and the best practices for developing them. The chapter starts with a short JavaScript primer followed by a review of the various patterns for creating ...
Get Inside Microsoft SharePoint 2013 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.