You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sp-add-ins/three-ways-to-think-about-design-options-for-sharepoint-add-ins.md
+6-11Lines changed: 6 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,22 @@
1
1
---
2
2
title: Three ways to think about design options for SharePoint Add-ins
3
-
ms.date: 11/01/2017
3
+
description: Overview of the design and architecture options available with SharePoint Add-ins.
4
+
ms.date: 11/02/2017
4
5
ms.prod: sharepoint
5
6
---
6
7
7
8
# Three ways to think about design options for SharePoint Add-ins
8
9
9
-
Get an overview of the design and architecture options that are available with SharePoint Add-ins. You should first be familiar with the article [SharePoint Add-ins](sharepoint-add-ins.md).
10
-
11
-
> [!NOTE]
12
-
> The name "apps for SharePoint" is changing to "SharePoint Add-ins." During the transition, the documentation and the UI of some SharePoint products and Visual Studio tools might still use the term "apps for SharePoint." For details, see [New name for apps for SharePoint](new-name-for-apps-for-sharepoint.md).
13
-
14
-
## Overview and the first decision
15
-
<aname="Overview"> </a>
10
+
Prerequisite: You should first be familiar with the article [SharePoint Add-ins](sharepoint-add-ins.md).
16
11
17
12
This article looks at the architectural choices for SharePoint Add-ins in three different ways. First, you learn about the most important categories of design choices; second, you view add-in architecture in terms of application tiers; and, third, you see a set of factors you need to consider when making your design choices.
18
13
19
14
The first decision to make is whether your SharePoint extension should be a SharePoint Add-in or a classic SharePoint farm solution or sandboxed solution. Some parts of the SharePoint object model, mainly connected with customizing SharePoint administration and security, are not accessible from clients. Only custom code running on the SharePoint server can access them, and custom server-side code is not allowed in a SharePoint Add-in. (A rich set of client object models and a REST/OData service make it possible for SharePoint Add-ins to do almost any end-user-oriented SharePoint extension.)
20
15
21
16
For more information about deciding between classic solutions and add-ins, see [SharePoint Add-ins compared with SharePoint solutions](http://msdn.microsoft.com/library/0e9efadb-aaf2-4c0d-afd5-d6cf25c4e7a8%28Office.15%29.aspx). Also helpful for making this decision is [Choose the right API set in SharePoint](http://msdn.microsoft.com/library/f36645da-77c5-47f1-a2ca-13d4b62b320d%28Office.15%29.aspx).
22
17
23
-
## Key elements in the design of SharePoint Add-ins
24
18
<aname="MajorCategoriesOfChoices"> </a>
19
+
## Key elements in the design of SharePoint Add-ins
25
20
26
21
Three major categories of choices need to be made when a SharePoint Add-in is designed. As always, application design involves trade-offs; choices you make in one category may limit your options in another. Not every possible combination of choices is feasible.
27
22
@@ -48,8 +43,8 @@ Three major categories of choices need to be made when a SharePoint Add-in is de
48
43
> [!NOTE]
49
44
> SharePoint Add-ins can be installed by your customers to multiple site collections in a tenancy, or on a website-by-website basis. The former are called tenant-scoped add-ins. If you want your customers to have the tenant-scoped option, you may not include a custom ribbon button or an add-in part. For more information, see [Tenancies and deployment scopes for SharePoint Add-ins](tenancies-and-deployment-scopes-for-sharepoint-add-ins.md).
50
45
51
-
## Architectural tiers
52
46
<aname="Tiers"> </a>
47
+
## Architectural tiers
53
48
54
49
Another way to think about your add-in architecture options is to think of the add-in as having three logical tiers: the UI, the business logic, and the data access. Each layer has multiple implementation options; again, choices made for one layer limit the options for others. The following tables describe some of the options, and their uses, for the remote components of an add-in and the SharePoint components.
55
50
@@ -84,8 +79,8 @@ Another way to think about your add-in architecture options is to think of the a
84
79
||SharePoint lists and libraries that are queried through the SharePoint REST/OData web service|Accessing SharePoint data from non-Microsoft platforms; leveraging existing OData query experience|
85
80
||A BCS Model|Surfacing external data in SharePoint as a SharePoint list|
86
81
87
-
## Factors to consider when making your design decisions
88
82
<aname="DecisionFactors"> </a>
83
+
## Factors to consider when making your design decisions
89
84
90
85
The SharePoint Add-in model enables so many possibilities for design that a simple decision tree is not possible. The following are some of the most important factors to consider when constructing the architecture of a SharePoint Add-in.
0 commit comments