O'Reilly logo

Beginning SharePoint 2013 Development by Donovan Follette, Chris Johnson, Steve Fox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SUMMARY

The three new deployment models for Apps for SharePoint are the SharePoint-hosted, Autohosted, and Provider-hosted app models.

The SharePoint-hosted app model should be used for lightweight, smaller apps where you don’t need server-side code. You can build them using the client-side object model, HTML and JavaScript. The scope for a SharePoint-hosted app is the site collection.

The Autohosted app model is also used for lightweight apps, but the code for this app is automatically deployed to Windows Azure. You can tap into the power of Windows Azure Web Sites and SQL Database to build data-driven apps. The scope for Autohosted apps is at the site or tenancy level.

The Provider-hosted app model is about power and flexibility. The code does not live in SharePoint, but lives in a separate domain. This could be Windows Azure — in which case you can take full advantage of all of the features of the Windows Azure platform, or it could be IIS (by leveraging the Provider-hosted template in Visual Studio), or even a completely separate PHP app that lives in your own domain-hosted environment. There is quite a bit of flexibility built into this app model, but what comes with it is the need to manage your own code that lives in this separate domain.

These new models are a paradigm shift from previous versions of SharePoint and will surely change the way in which you think about, design, and deploy your apps.

The next chapter explores the SharePoint 2013 developer tooling in greater ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required