SharePoint Apps: “Provider Hosted First” Approach

Recently I had an exciting mail conversation with Thomas Deutsch. He came up with an idea how to fasten the development of apps. This smart approach is called “Provider Hosted First”. See Thomas’ original blog post. Here are some highlights:

What you actually do is a local website which runs in grunt server:

Then a SharePoint-hosted app is created with an SPAppIframe that refers to that local app site. Genious!!!

Some key features of this approach:

  • This local app contains a livereload script. Your sharepoint app is updated every time you save your css, js, html file in your IDE
  • Grunt minifies, bundles your assets
  • Grunt runs your tests automatically when your content is modified
  • The SharePoint app can be on Premises, on Office 365, wherever you want it.

Video

See the video how it looks like to develop using this approach

See the video how it looks like to develop using this approach

2 reaktion på “SharePoint Apps: “Provider Hosted First” Approach

  1. Gabriel

    I see in the chart that you need the cross domain library. Have you had any success using 3rd party libs like Data.js jQuery to make requests to sharepoint’s rest api?

    Svara

Kommentera

E-postadressen publiceras inte. Obligatoriska fält är märkta *