Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web...
-
Upload
matthew-robertson -
Category
Documents
-
view
262 -
download
0
Transcript of Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web...
![Page 1: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/1.jpg)
Alex RandallSenior Consultant, SharePointMicrosoft
When and When Not To Use the New SP2013 App Model
![Page 2: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/2.jpg)
When and When Not to Use the New SP2013 App ModelOverview of App Model
When to use it
When NOT to use it
Gray Areas
“To app or not to app” (Decision Matrix)
![Page 3: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/3.jpg)
Demo
What is an “app for SharePoint?”
![Page 4: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/4.jpg)
An “app for SharePoint”…Is a web application that is registered with SharePointFacilitates easy install/uninstall
Handles cross-domain issues
Provides App Isolation
Survives upgrade to future SP versions
Integrates cloud-based resources
Keeps SharePoint performing well
Uses cross platform standards
Works with SP2013 on prem or cloud
Uses Client APIs
![Page 5: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/5.jpg)
SharePoint 2013 Client APIs
JavaScript
REST
.NET
App Model “hosting option” determines what API(s) you can use
![Page 6: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/6.jpg)
apps for SharePoint Hosting OptionsCloud
SharePoint-hosted
SharePoint
Autohosted
Windows Azure and SQL Azure
Provider-hosted
Dedicated server or hosting service
CSOM/REST + OAuth
Host web
App web(optional)
Host web
App web
CSOM/REST + OAuth
Much more info at:
Hosting options for apps for SharePointhttp://msdn.microsoft.com/en-us/library/fp179887.aspx
Host web
App web(optional)
![Page 7: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/7.jpg)
Demo
Things that an app for SharePoint can do
![Page 8: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/8.jpg)
When to use the new SP2013 App Model?
Full s
creen p
ag
es
App Parts
Work
flow
sCustom Ribbon/Menu Actions
Data from other systemsDocument Libraries/Lists/Custom Fields/Views
Many more scenarios!
![Page 9: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/9.jpg)
When NOT to Use the New SP2013 App ModelJust some examples:
Functionality outside the scope of the client APIs
Server-side SharePoint object model
Site definitions
Web templates (host web)
Deploying assets to /_vti_bin or /_layouts Timer Jobs
SharePoint 2013 Themes
Connectable App Parts
![Page 10: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/10.jpg)
Gray Areas= Things that you can do in an app for SharePoint, but perhaps there are:
limitations or alternative ways to do it
![Page 11: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/11.jpg)
Out of box Web Parts
Only in “SharePoint-hosted” apps for SharePoint hosting type
![Page 12: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/12.jpg)
Remote Event Receivers
Only in “Autohosted” or “Provider-hosted” apps for SharePoint hosting types
![Page 13: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/13.jpg)
External data
BCS supports only OData connections in the App Model
Alternatives: 1) Create your own OData wrapper
outside of the app for SharePoint
2) Write code instead of using BCS
![Page 14: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/14.jpg)
“To App or Not To App” (Decision Matrix)1) Out of box SP capabilities?
2) App already exists?
3) Lite customization tools?
4) App Model?
5) Only as a last resort – farm/sandbox solution?
![Page 15: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/15.jpg)
My Twitter@alex_randall_
My Bloghttp://aka.ms/alex
Apps for Office Dev Center
http://dev.office.comSign up for free SP2013 O365 Developer
Account to create apps for SharePoint today!
Thanks!
Thanks for filling out the eval!
![Page 16: Cloud SharePoint-hosted SharePoint Autohosted Provider-hosted Host web App web (optional) Host web App web Host web App web (optional)](https://reader036.fdocuments.net/reader036/viewer/2022062309/5697bf7b1a28abf838c83b8a/html5/thumbnails/16.jpg)
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.