spca2013 - once you go app you don't go back

28
§

Upload: nccomms

Post on 11-May-2015

131 views

Category:

Technology


1 download

DESCRIPTION

Once you go app you don't go back

TRANSCRIPT

Page 1: SPCA2013 - Once you go app you don't go back

§

Page 2: SPCA2013 - Once you go app you don't go back

Once you go app..AN SHAREPOINT 2013 APP MODEL OVERVIEW

DANIEL SÖRLÖV & ALEXANDER VON MALACHOWSKI

Page 3: SPCA2013 - Once you go app you don't go back

Agenda

Introduction

30,000-feet perspective

Application demo

Page 4: SPCA2013 - Once you go app you don't go back

Daniel Sörlöv

Microsoft Certified Trainer since 2006

Works at Connecta as Senior SharePoint Arkitekt

Microsoft Most Valuable Professional (MVP)

Member of Microsoft Extended Experts Team (MEET)

Member of Springboard Series Technical Experts Panel (STEP)

Page 5: SPCA2013 - Once you go app you don't go back

Alexander von Malachowski

Microsoft Certified since 2009

Working at Connecta as SharePoint Developer

Blogger on PowerShellTaskForce.com

Page 6: SPCA2013 - Once you go app you don't go back

Why use the App Model?

Increased performance

Increase Power User and Site Owner capabilities

Reduce development cost

Overviewable operational costs

Reduce upgrade costs

Use ”OOTB” apps more

Page 7: SPCA2013 - Once you go app you don't go back

What?!

SharePoint 2007 SharePoint 2010 SharePoint 2013

Sharepoint Sharepoint Something Else

SharepointEvents

API

Page 8: SPCA2013 - Once you go app you don't go back

Basics please!

Consider it as a external application

Lives outside of SharePoint

Not even in SP farms

Can use any capability of the plattform on which it rums

Communicates with SharePoint by Client APIs

Page 9: SPCA2013 - Once you go app you don't go back

Security

Does not run in SharePoint farm

Can access data if allowed

Can be fully trusted by Oauth

Security must be addresses outside of SharePoint

Page 10: SPCA2013 - Once you go app you don't go back

Apps

Can be embedded as app-parts

Can be used as SharePoint extensions

Can use its own chrome

Can be managed by site owners!

Page 11: SPCA2013 - Once you go app you don't go back

Positives

Isolated

Multi-tennant

Other development stacks

Easy deploy

Easy to maintain*

Manageable

* let’s assume it for now and get back to it later

Page 12: SPCA2013 - Once you go app you don't go back

Limitations

No Deploying code to /_layouts

No Web templates

No reusable workflow actions

No reusable web services

No Connected webparts

No timer jobs

No BCS (limited to Odata)

No Farm Solutions

Page 13: SPCA2013 - Once you go app you don't go back

Suggested apps

Fullscreen apps

App parts

Workflows

Remote event receivers

Menu and Ribbon actions

Custom Lists, Fields, and Views

Page 14: SPCA2013 - Once you go app you don't go back

AppsEnd-UserPerspective

Page 15: SPCA2013 - Once you go app you don't go back

App Types

Provider hosted app

Auto hosted app

SharePoint Hosted*

* not cloud

Page 16: SPCA2013 - Once you go app you don't go back

Provider hosted

SharePoint Website

Your app!CSOM/Rest + OAuth

You design, host and manage your own plattform!

LAMP?

Page 17: SPCA2013 - Once you go app you don't go back

Auto hosted app

SharePoint Website

AzureCSOM/Rest + OAuth

You design the software and publish it automatically to Azure

Page 18: SPCA2013 - Once you go app you don't go back

SharePoint hosted

SharePoint Website

AppWeb

Reuse SharePoint components, no server code allowed.

Page 19: SPCA2013 - Once you go app you don't go back

Hosting Comparison

Cloud Hosted SharePoint Hosted

Scoping Tenant or Site Site

Architechture Multi-tenant Single-tenant

Developer features Full stack SharePoint+HTML

UI features Any stack SharePoint+HTML

Server Code Any None

Storage Any Lists and Libraries

Server code Any None

Page 20: SPCA2013 - Once you go app you don't go back

When to use SharePoint Hosted?

Good for smaller apps

Isolation

No server code

Clientside

Page 21: SPCA2013 - Once you go app you don't go back

When to use Cloud Hosted?

The world of possibilities

Page 22: SPCA2013 - Once you go app you don't go back

Integrating SharePoint apps

Full page

Parts

Menu/Ribbon extensions

Page 23: SPCA2013 - Once you go app you don't go back

Application identities

SP2010

Sandbox = under user context, no RunWithElevatedPrivileges

Farm = To much permissions, RunWithElevatedPrivileges

SP2013

Installing an app gives no permission to app

Explicitly given to a very specific scope

Builds on Oauth tokens

Page 24: SPCA2013 - Once you go app you don't go back

Permissions

You can give Read, Write, Manage and Full Control..

..Site, Web, List, Tenant

Given to a scope, and by that all it’s children

Page 25: SPCA2013 - Once you go app you don't go back

Remote API

Your code

JavaScript Silverlight .Net

CSOMRESTODATAJSON

_API (SharePoint)

Page 26: SPCA2013 - Once you go app you don't go back

Technical Infrastructure Requirements

Wild card entry for app domain

Apps Service Application And Subscrioption Service must be started

App catalog most be created

Page 27: SPCA2013 - Once you go app you don't go back

SharePoint

HostedDemo

Page 28: SPCA2013 - Once you go app you don't go back

Thank you!

Daniel Sörlöv Twitter: @sorlov

http://www.powershelltaskforce.com

[email protected]

http://sorlov.azurewebsites.net

http://facebook.com/sorlov

Alexander von Malachowski Twitter: @a_von_m

http://www.powershelltaskforce.com

[email protected]