Explore the Experience in SharePoint 2013

Wednesday, November 26, 2014

Working with the ECMAScript Client Object Model (JSOM) in SharePoint 2013,2010

No comments

Hi Friends,

Thanks for visiting to my blog .

Today am going to explain about ECMAScript Client Object Model (JSOM) in SharePoint 2013,2010

ECMAScript :

ECMAScript is a java script based client side scripting language which is now supported in SharePoint 2010 and can be used to access Client Object Model.


Background

 One of the coolest features of SharePoint 2010 and 2013 as well. You might already know that if we have to talk to SharePoint 2007 and don’t want to write the server side code then we call SharePoint Web Services. Now with SharePoint 2010 we can use Client Object Model to talk to SharePoint and the option of web services is still there. Once a wise man said, two options are always better than one.



  • SharePoint Client Managed Object Model is a SharePoint API that runs on the client side. 
  • It converts the API calls made by the application, into XML request and sends it to the SharePoint server. On the server, the XML request is handled by a service called Client.svc where it translates the XML request in to appropriate Object Model calls (SharePoint Server Object Model) and gets the results. 
  • After getting the results, Client.svc translates them into JavaScript Object Notation (JSON) and sends back to the Client Managed Object Model. On the client side the JSON response is translated into ECMAScript objects for ECMAScript.

This is just a breif description of our ECMA Script . In  our next articles we will see the examples of ECMAScript.

No comments :

Post a Comment