SHAREPOINT 2013 APP MODEL
SharePoint 2013 introduces a new mechanism for custom code deployment known as “Apps”. A SharePoint App is a solution that can only include HTML, CSS, JavaScript, Silverlight XAP files, images, and any other static files.
Why Apps are needed?
Why Apps are needed?
- Previously in SharePoint 2010, there have been some issues with fully trusted applications. Some solutions which is not well developed caused damage to whole farm.
- Migration to new version was difficult.
- Solution packages were required to deploy farm solutions.
- There were lots of issues with sandbox solution because of his limitations.
- New Pattern: No server-side code on the SharePoint Server
- SharePoint 2013 apps do not live in SharePoint server, rather they are executing within the browser client or in a non-SharePoint server such as IIS or Windows Azure. Apps are granted permissions to SharePoint via OAuth protocol, and communicate with SharePoint via REST APIs or Client side object model.
- There are three primary ways in which code can be deployed on-premise in SharePoint 2013: Traditional Full-trust or Sandbox or App ModelSharePoint 2013 App Model Highlights:
- Apps are nothing but a self-contained piece of functionality which extends the capability of SharePoint.
- Custom code executes in the client, cloud or on-premise
- Communication of apps with SharePoint happens via REST / CSOM
- Acquire apps via centralized Marketplace, Corporate Marketplace, Public Marketplace via submission process
- APIs for manual deployment
- SharePoint hosted Apps are definitely a preferred way but they are not a replacement to sandboxed solutions
- Everything in a SharePoint site is nothing but an app: Travel request, Contact form, Shared Documents library, Contacts list
Benefits:- No custom code on the SharePoint server
- Easier to upgrade to future versions of SharePoint
- Works in hosted environments without limitations
- Reduces the ramp-up time for those building apps
- Leverage hosting platform features in new apps
- Enables taking SharePoint apps to different levels further than what can be done with farm / sandbox solutions
- Isolation – private vs. public clouds
No comments:
Post a Comment