Jump to content
Client-Side Programming in SharePoint
Submitted by kbnotes
Posted Apr 11 2010 04:05 AM
The following excerpt is from the forthcoming Inside Microsoft® SharePoint® 2010 by Ted Pattison, Andrew Connell, and Scot Hillier:
The server-side object model for SharePoint has long been sophisticated and fully-functional. In fact, there is nothing that can be done in the browser that cannot be done through the server-side object model. When it comes to accessing SharePoint using rich clients, however, there has historically been a large deficit in functionality. In previous versions of SharePoint, client-side programmability was largely accomplished through a set of web services provided by SharePoint. These web services exposed basic functions for interacting with lists, performing searches, reading profile data, and the like. However, the scope of these web services was easily less than a third of the functionality available in the server-side object model. In response, many developers resorted to creating custom web services that wrapped the server-side object model, but this approach never yielded a complete programming model. As a result, customers have consistently requested improved client-side programmability for future versions of SharePoint.
Along with new client object models, SharePoint 2010 also introduces a new web service interface that utilizes WCF Data Services. This new interface is primarily used for querying lists from the client. The main advantage of WCF Data Services over the client object models is that it provides an object-relational mapping (ORM) layer over the lists and items so that they are strongly-typed in code. You should think of the WCF Data Services interface as a complement to the client object models, and you will often use them together in solutions.
Understanding Client Object Model Fundamentals
kbnotes : Apr 18 2010 11:13 AM
Thanks for sharing your posts.