Deciding between the Object Model and Web Service - SharePoint 2007
By Jatin Prajapati
In thie FAQ we will see which programming model to choose for SharePoint 2007.
SharePoint 2007 has two types of programming model: one is Object Model and second
is Web Services. So many developers have confusion about that which type of programming model is best? So,
for this there is an easy rule of thumb for deciding between the SharePoint object
model and the SharePoint Web Services - where is your code going to be executed?
If you're building code that is executed on the SharePoint server, whether in
a server application, a service, or a Web Part, use the object model. Directly
hooking into the object model is fater and more efficient than using web services.
However, web services grant you the flexibility to take your code away from the
server. If your requirements include remote applications, even if your servers
and workstations are on the same domain, you have to use web services.
Deciding between the Object Model and Web Service - SharePoint 2007 (533 Views)