Thursday, March 17, 2011

SharePoint 2010 Training Day 4

Today the fourth day of the Developing Solutions with SharePoint 2010 training.
We discussed today chapter 10, 11 and 12.
  1. SharePoint 2010 Developer Roadmap
  2. SharePoint Foundation Development
  3. SharePoint Developer Tools in Visual Studio 2010.
  4. Creating Sandboxed Solutions
  5. Pages and Navigation
  6. Developing Web Parts
  7. Creating Fields, Site Columns & Content Types
  8. Creating Lists & Event Handlers
  9. Accessing Data using LINQ to SharePoint
  10. Client Object Model
  11. Developing SharePoint 2010 Workflows
  12. Business Connectivity Services (BCS)
  13. Web Content Management (WCM)
  14. Enterprise Content Management (ECM)
Tenth Chapter
There are 3 different Client Object Models. Each Client Object Model is created for a other language, .NET, Silverlight, EXMAScript (Javascript). The client object model provides an abstraction layer so process off the SharePoint server can interact with SharePoint using a consistent API that is very closely matched to the familiar server API.
ClientServer

ClientContext

SPContext

Site

SPSite

Web

SPWeb

List

SPList

ListItem

SPListItem

Field

SPField


The Member names mostly the same from server to client. "SPWeb.QuickLaunchEnabled = Web.QuickLaunchEnabled"


The diagram displays how the transport mechanism works.
Before you execute the ExecuteQuery method, you need to indicate which data you want to retrieve from the server. You van use the ClientContext.Load method for this purpose. You cannot only retrieve data using the ClientOM, but you also create object using specific classes.
  • ListCreationInformation:
    - using this class to create a new list. You can set properties like Title and TemplateType before calling the web.Lists.Add method, pasasing the ListCreationInformation object as argument.
  • ListItemCreationInformation
    - using this class to create a new list item on an existing list. The AddItem method on the List object accepts the ListItemCreationINformation argument and returns the new item of type ListItem. You van fill out the list item using the listItem["Title"] syntax for the different columns on the list, and calling the Update() method on the list item.
  • WebCreationInformation:
    - if you want to create a new SharePoint site, instantiate an object of the type and pass it to the Webs.Add method of a Web object.
  • NavigationNodeCreationInformation
    - use this class to create a new navigation node.
Eleventh Chapter
In SharePoint 2007 you can attach workflows to list items and documents. Additionally, in SharePoint 2010 you can add workflows to document sets and sites. If you look in SharePoint 2010 to the monitoring of the workflow process you can see a nice picture of which path the workflow has taken to complete.
New in 2010 is that you can use Visio to build the first workflow. Your manager can build the screens en export it for you. You can import it into SharePoint Designer 2010 en edit it further. On your time you can edit it in Visual Studio 2010 to fine tune it for the SharePoint site or list you are going to add the workflow.

Twelfth Chapter
This chapter we have got the theory. Tomorrow we have to do the labs so a write something about this chapter tomorrow.

No comments:

Popular Posts