Free Articles, Free Web Content, Reprint Articles
Tuesday, July 23, 2019
 
Free Articles, Free Web Content, Reprint ArticlesRegisterAll CategoriesTop AuthorsSubmit Article (Article Submission)ContactSubscribe Free Articles, Free Web Content, Reprint Articles
 

Client Object Model – Yet another interesting SharePoint 2010 feature!

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";}

In SharePoint Server 2010 and SharePoint Foundation 2010, there is an interesting feature called Client Object Model (Client OM) which is a unified model that uses the same or similar programming concepts as the Server Object Model (Server OM). The Client Object Model can be accessed via web services, via a client (JavaScript) API, and via REST.

Why Client Object Model?

You must be thinking now why should I have Client Object Model when millions of sites are running smoothly without the Client Object Model. So here is the answer to your question – Client object Model is the result of SharePoint customers’ request to Microsoft to introduce more and more web services to get data out of SharePoint Server. But introducing web services will not fix the issues, as Microsoft found, because then the request for more functionality in the web services will continue. Even if Microsoft provides a good number of web services with SharePoint, customization in web services will be required for different clients, and this will make the out-of-the-box web services unusable. Also introducing a large number of web services will be a waste as not all companies will use all the web services functionalities. Thus, in order to add more web services from users, Microsoft has taken a different approach called Client Object Model (OM). This SharePoint Client Object Model will allow getting data out of SharePoint from PCs that are not hosting SharePoint. Also Client Object Model provides complete API to interact with SharePoint Server which is more intuitive, and useful and very much similar to SharePoint Object Model.

SharePoint 2010 has launched three new client APIs which can be used to interact with SharePoint sites. The three APIs are targeted for three different types of clients:

· For .net Managed applications (for example, console applications, window applications, web applications etc, which are not running inside SharePoint Context).

· For Silverlight applications.

· For using with JavaScript (called ECMAScript). This API is only available for applications hosted inside SharePoint (for example, web part deployed in SharePoint site can use this JavaScript API for accessing SharePoint from browser using JavaScript).

· Conclusion: The new Client Object models provide an object-oriented system for interoperating with SharePoint data from a remote computer, and they are in many respects easier to use than the already existing SharePoint Foundation Web services. You start by retrieving a client context object that represents the current request context, and through this context, you can obtain access to client objects at site-collection level or lower in the SharePoint Foundation hierarchy. Client objects inherit from the ClientObject class (ECMAScript: ClientObject), and you can use them to retrieve properties for a specific SharePoint object, to retrieve child objects and their properties, or to retrieve child items from a collection.

The Client Object Model and other useful features in SharePoint Server 2010 encourage an upgrade from MOSS 2007. Also useful are the free SharePoint templates and web parts that are included with SharePoint products.

 

About the Author:

Adrian Gates (adrian@apps4rent.com) is a Business Manager with Apps4Rent; which offers Microsoft  Exchange Hosting, Windows SharePoint Services, SharePoint Foundation 2010, SharePoint Server 2010Article Search, and virtual dedicated servers.

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR





Health
Business
Finance
Travel
Technology
Home Repair
Computers
Marketing
Autos
Family
Entertainment
Law
Education
Communication
Other
Sports
ECommerce
Home Business
Self Help
Internet
Partners


Page loaded in 0.056 seconds