IT tutorials
 
Technology
 

SHAREPOINT 2013 APP MODEL : Apps for Office, Apps for SharePoint

8/22/2013 9:39:24 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

You can install SharePoint in two primary ways. As with SharePoint 2010, you can install the full version of SharePoint Server and have all of your assets and content running in an on-premises environment. Alternatively, you can provision an instance of Office 365 (O365) and then take advantage of SharePoint Online (or a cloud-hosted version of SharePoint). You saw some examples of SharePoint Online in Chapter 1, “Introduction to SharePoint 2013,” and you’ll see more in this chapter. Irrespective of how you deploy your SharePoint instance, the new app model for SharePoint holds true for both on-premises versions of SharePoint (SharePoint Server) and cloud-hosted versions (O365).

Although you have the ability to manually create SharePoint 2013 site collections and configure and brand those sites to your business needs. One of the key evolutionary areas in SharePoint 2013 is the new app model. You implement the new cloud model, broadly speaking, through the creation and deployment of either Apps for SharePoint or Apps for Office.

Apps for Office

Apps for Office are a new breed of Office 2013 applications that use a nonmanaged code approach to building in-context document and mail apps (think Excel, Word, and Outlook add-ins). These apps enable you to use HTML, CSS, or JavaScript to build lightweight apps that integrate with cloud-based apps. The cool thing here is that you can use a rich JavaScript object model to integrate with parts of the document or mail item. Apps for Office consist of a web page plus an XML-based configuration file called a manifest file, which configures items such as links to an external website, permissions, and so on. You can think of Apps for Office as web apps.

Although Apps for Office primarily target Office, you can integrate them with Office 365, documents, and mail items — artifacts that might in some way integrate with SharePoint. Figure 1 shows an example of an App for Office. In this example, the App for Office is integrated with the mail and it displays data from a Windows Azure SQL database within the mail item: Related Requests from Chris Johnson.

FIGURE 1

image

Apps for SharePoint

Apps for SharePoint (or SharePoint App) is the official name for apps you build and deploy to SharePoint. For those familiar with SharePoint, think of the SharePoint App as the evolution of the SharePoint Solution (that is, WSP). As mentioned in Chapter 1, the SharePoint App uses the .APP extension (whereas the SharePoint Solution uses .WSP).

The SharePoint App is a move toward a more cloud-centric development model — one where the code does not reside on the same server as SharePoint. This is a result of a greater migration of code to the cloud and a need to architect a platform to support smother updates and code that is loosely coupled to SharePoint and deployed to the cloud, as well as to mitigate the growing problems that server-side code typically presents (for example, performance and site-loading issues if the code is not properly written, deployed, or tested). Figure 2 shows an example of an app for SharePoint that integrates Windows Azure data — in fact, the same data that is being consumed in the app in Figure 1 is likewise integrated with SharePoint in Figure 2.

FIGURE 2

image

As mentioned earlier, when you build an app for SharePoint, you are building an .APP file. In reality, the .APP file is a “package” of files similar to a CAB file. Within the .APP package are a number of key files that are primarily made up of configuration files and libraries. For example, Figure 3 illustrates an .APP file that is created when you build and publish an app for SharePoint (you will walk through this later in this chapter). If you change the .APP extension to .ZIP you can see that the .APP consists of a number of files and another ZIP file. The zipped files represent the web portions of your SharePoint application, whereas the XML files represent more detailed configuration information for your app.

FIGURE 3

image

One of the key XML configuration files that you’ll see in both Apps for SharePoint and Apps for Office is the AppManifest.xml file. In this configuration manifest you’ll find key elements such as app meta data, app permissions and scope for those permissions, GUIDs for Web apps, and so on. The following code snippet shows a simple example of an AppManifest.xml file.

<?xml version="1.0" encoding="utf-8" ?>
<App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest"
     Name="AutohostedEmployeeList"
     ProductID="{125f9ba3-5efc-414a-ac53-023919ac2142}"
     Version="1.0.0.0"
     SharePointMinVersion="15.0.0.0"
>
  <Properties>
    <Title>AutohostedEmployeeList</Title>
    <StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}
  </StartPage>
  </Properties>
 
  <AppPrincipal>
    <AutoDeployedWebApplication/>
  </AppPrincipal>
 
  <AppPrerequisites> 
    <AppPrerequisite Type="AutoProvisioning" ID="RemoteWebHost" /> 
  </AppPrerequisites> 
<AppPermissionRequests><AppPermissionRequest 
Scope="http://sharepoint/content/sitecollection/web" 
Right="Write" /></AppPermissionRequests></App>
NOTE You can edit the AppManifest.xml file using either the Visual Studio 2012 IDE (visual designer), or you can right-click the AppManifest.xml file and select View Code to directly work with the XML.
 
Others
 
- Microsoft Dynamic AX 2009 : The Database Layer - Unicode Support
- Microsoft Dynamic AX 2009 : The Database Layer - Company Accounts
- Microsoft Dynamic AX 2009 : The Database Layer - Record Identifiers
- SQL Server 2008 R2 : Filtered Indexes and Statistics - Creating and Using Filtered Indexes
- SQL Server 2008 R2 : Index Design Guidelines - Indexed Views, Indexes on Computed Columns
- SQL Server 2008 R2 : Index Design Guidelines
- Windows Server 2008 : Manipulating Users and Groups with the net Command, Modifying NTFS Permissions with icacls
- Windows Server 2008 : Manipulating Shares with net share, Mapping Drives with net use
- Windows Server 2008 : Manipulating Shadow Copies with vssadmin
- Windows 7 : Disk Management (part 3) - Creating a Striped Volume, Creating and Attaching VHDs
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us