SharePoint 2013 Apps VS WebParts for Developers

Saturday, December 8, 2012



SharePoint 2013 Introduced App Model  Because of Software Market tends And Manage Solution without disturbing other tenants Especially in Online or Cloud scenarios. To meet this goal Microsoft Provide Great App Model for Developer to Build Apps on top of the SharePoint 2013. But mostly developer is used to develop their solution for Cloud by using visual WebPart in sandbox solution and farm based solution with visual webpart for on permission online sharepoint.  App Model quit bit similar from sandbox solution. But still are few recitations and changes between SharePoint WebPart and SharePoint Apps.  As a Developer feel bit restricted in this Model.As I like same felt same previously when 2010 sandbox . But it more secure as well because of any developer mistake it will not going to damage my SharePoint Site or Farm.

Difference  between WebPart and SharePoint App.

1.    OFFICE 356 AND MOST LIKE OTHER ONLINE SOLUTION FOR SharePoint would not allow Farm based Solution for web-Parts.


2.    Web Part has capability to use SharePoint Core Object by using code behind. 
3.    There is no code behind in SharePoint Apps. Especially for office 356 you create your solution without disturbing other tenant.



4.    You can create lists, libraries and other SharePoint Component.
 

5.    App have its own site-collection Site-Collection where app stores its list and data.
 
6.   SharePoint 2013 we have App Parts like Web Parts. App Part runs in IFrame by using the click jack technique. 
7.    The app runs in IFrame that why they cannot assess DOM. ITS HTML restriction. But it's really very cool feature if you app has some bed it will not disturb your site.


8.    If your app required any Service like the BCS. YOU HAVE TO ALLOW PERMISSION IN VS ON DEPLOYMENT TIME. WHEN USER WILL ADD APP. IT REQUIRED PERMISSION FROM USER TO ALLOW HIM TO ASSESS. THAT components OF SERVICE. LIKE books, stoical, taxonomy, Project, Reporting, List and Manage Rights Full Control., Read, Write, Managed. Give Specific Permissions for your apps. ReadMore
 
9.    SharePoint App has Page which Asp.net ASPX page where app actually start-up page for the app.  
10.                 SharePoint also keeps its Assets with it. Like JavaScript and Images.
 

11.                 SharePoint 2013 App Features have only Web-scoped only for deployment.
 

12.                 SharePoint 2013 Web templates are available .But not site definitions. 

Reference:
http://msdn.microsoft.com/en-us/library/fp179930.aspx


By Usama Wahab Khan




share this post
Share to Facebook Share to Twitter Share to Google+ Share to Stumble Upon Share to Evernote Share to Blogger Share to Email Share to Yahoo Messenger More...

1 comments:

Anonymous said...

it is office 365 not office 356