Join Robert Bogue for an in-depth discussion in this video Choosing an access method, part of Developing SharePoint Full Trust Solutions for SharePoint 2013.
- Let's talk about how to choose the kind of access methods…you're going to use to get data in SharePoint,…and one of the key things you're going to do to figure out…access to data is how fast can you get it.…If we look at this from the ground up,…you have the client object model,…which, for the most part, is one of the slowest methods…you can use to get to the data if you're off the server.…That's the unique thing about the client object model.…It allows you to do this off server.…The nest step up is the web, or WCF,…Windows Communication Foundation services.…
Those are a little bit faster if you're off the server.…Above that is the REST and OData calls, which you can do.…Those allow you to access the data in SharePoint…just by forming a URL.…Above that we have the server-side object model,…and now we're constrained to just the server,…where we can execute CAML,…the Collaborative Application Markup Language,…or we can use LINQ, Language-Integrated Query.…We'll talk about those both in a moment.…The fastest way to access data in SharePoint,…
If you've wanted to learn how to develop custom solutions on SharePoint—or you've been told that you need to develop a solution that integrates with SharePoint—this is the training you need. It's quick, to the point, and effective at helping new developers work with SharePoint code.
Robert Bogue shows how to create new web parts, access and update data in SharePoint, work with files, and create SharePoint artifacts: lists and libraries to store data, site-level features, files, etc. He also shows how to create sandbox solutions that do not affect the rest of the server environment, and discusses execution options for solutions, including in-page, quasi-page, and out-of-page execution.
- Define web parts.
- Explain how to interact with a web part.
- Recall how to help determine what declarative code and user code is.
- Identify which object allows you to get data from more than one list.
- Identify what class timer jobs are derived from.
- Recognize different types of event receivers.