Chapter 5: Programming Against SharePoint 2010 Lists

What You'll Learn in This Chapter:

  • Understanding the structure and function of a SharePoint 2010 list
  • Programming against SharePoint lists through client- and server-side object models, ASP.NET Web services, WCF, and RESTful services
  • Understanding when to use one method over the other
  • Developing against SharePoint 2010 lists

In Chapter 2, you were introduced to the SharePoint list from both the end-user perspective and the developer perspective. You were also introduced to a simple application that interacted with a list programmatically.

This chapter dives into more detail about the list and will provide you with some additional information about the different ways in which you can programmatically interact with a list (specifically, reading and writing items). You will learn about different application programming interfaces (APIs) and ways to develop against a list. This chapter also provides you with an introduction to list events and teaches you how to create and exploit them.

Overview of SharePoint Lists

In addition to the Web part, the list will be one of the more common objects you code against in SharePoint (and one of the most commonly used artifacts by end users). A list is essentially a type of data structure in SharePoint. A list represents a collection of items comprising objects of similar types. Similar in structure and behavior to a database, a SharePoint list contains rows, columns, and fields. It can react ...

Get Beginning SharePoint® 2010 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.