2013年5月29日 星期三

在IOS下存取Sharepoint資料

SharePlus是一套可以讓你在非windows平台下,也能夠存取Sharepoint server上的資料。

他是如何做到的呢?這就是接下來要研究的部分。

首先,要先了解能夠存取Sharepoint資料的技術有哪些,之後才來看哪些支援iOS環境。有了這個背景知識後,才來學習我們選定的技術。

支援存取Sharepoint之技術


在做決策前,應該先要回答三個問題:
  1. 你要開發什麼應用程式
  2. 你會什麼技術
  3. 你的裝置設備是什麼

1. 應用程式

可能包含的類別有:
  • an app for SharePoint:設計一個APP,能在Sharepoint中執行。
  • a Web Part on a SharePoint page:設一個Web Part,能夠放在設計頁面中使用。
  • a Silverlight application running on either a client computer or a client mobile device:設計Silverlight應用程式。
  • an ASP.NET application exposed in SharePoint by an IFrame:設計一個ASP.NET的應用程式,用IFrame崁在Sharepoint頁面中。
  • JavaScript running in a SharePoint site page:Sharepoint頁面中執行Javascript。
  • a SharePoint application page:一般Sharepoint應用程式
  • a Microsoft .NET Framework application running on a client computer:其實就是一邊的應用程式。
  • a Windows PowerShell script:
  • a timer job running on a SharePoint server

2. 技術項目

 從上述的應用情境,可想像出有下列技術:
  • JavaScript
  • ASP.NET
  • REST/OData
  • .NET Framework
  • Windows Phone
  • Silverlight
  • Windows PowerShell
     

3. 裝置設備

這應該不難理解,不外乎是一般電腦、平板、還是手機。


Choose the right API set in SharePoint 2013 頁面下方有一個表,說明了各種情境可以選擇的技術方向。

就目前我的需求是希望在iOS的作業系統下,能夠順利存取(CRUD)在Sharepoint上的清單資料。
所以,可以使用的技術為:

REST/OData endpoints

這就是後續要來研究的主題。有兩篇MSDN的文章是接下來的重點。
  1. Programming using the SharePoint 2013 REST service
  2. How to: Complete basic operations using SharePoint 2013 REST endpoints 

沒有留言:

張貼留言