天天看点

SharePoint Online 开发篇:SharePoint Framework 介绍

Blog链接:https://blog.51cto.com/13969817

今天我们讨论一下SharePoint Framework的基本介绍,可能大家都知道,如果是SharePoint On Premise的话,我们的开发方式是wsp,即solution package,而对于SharePoint Online,wsp则不适用,在云计算中是行不通的,然后微软引入一种App model的技术,后来把它重命名为add-in model。add-in model被分为SharePoint Hosted app或add-ins和Provider hosted apps 或add-ins,还有一种是auto hosted apps,是SharePoint on-premises和SharePoint Online的可行开发方法。

我个人认为SharePoint hosted apps的适用性非常有限,而且安装过程非常复杂,也不适合第三方产品。而后来微软提供的Microsoft Graph,即REST API,只要能够验证或获得令牌,就可以调用这些api,只要我们编写一些JavaScript来调用Microsoft Graph,并在我们SharePoint页面上提供服务:经典网站和现代网站,还有一些其他平台和挑战,Office插件,开发移动应用程序等等。所以我们只能说SharePoint的发展历程并不是一条直线,到目前为止,我们还没有一个易于安装和轻量级开发的平台。

继续阅读