sp2013 for developers - chris o'brien

17
What’s new in SharePoint 2013 for devs Chris O’Brien SharePoint MVP www.sharepointnutsandbolts.com

Upload: chris-obrien

Post on 08-May-2015

2.082 views

Category:

Technology


1 download

DESCRIPTION

Presentation at SharePoint User Group UK, December 2012. Discusses SP2013 developer investments by order of potential impact (my view!), tooling enhancements (e.g. list/content type designer), apps, Display Templates (aka JSLink, aka Client Side Rendering), managed navigation, cross-site publishing etc.

TRANSCRIPT

Page 1: SP2013 for Developers - Chris O'Brien

What’s new in SharePoint 2013 for devsChris O’Brien SharePoint MVPwww.sharepointnutsandbolts.com

Page 2: SP2013 for Developers - Chris O'Brien

Agenda (TODO)

.NET 4.5?Tooling

List/ctype designerGeneric VS improvements?

IntelliTrace?

AppsSP-hostedCloud-apps

Provider-hostedAuto-hosted (Azure)

Client-side rendering

Search/CSWP

Cross-site publishing/metadata-based navigation

Page 3: SP2013 for Developers - Chris O'Brien

Apps for Office

Page 4: SP2013 for Developers - Chris O'Brien

Tooling

Visual Studio 2012 enhancements

SearchSharePoint IntelliTraceBetter testing

List/content type designer

Page 5: SP2013 for Developers - Chris O'Brien

Apps - what is an app?

Adds some specific functionality to a siteE.g. expense reporting, time-tracking etc.

Apps should be safeA bug/performance issue cannot affect the overall stability of SharePointThe ‘engine’ may be in the cloud or on a non-SP server

Apps can be obtained from the app store (“SharePoint Store”)

Page 6: SP2013 for Developers - Chris O'Brien

Apps - Customising SharePoint – official guidance

Microsoft:

The most important guidance we can give you is to develop an app for SharePoint rather than a classic solution whenever you can.

http://msdn.microsoft.com/en-us/library/jj163114(office.15).aspx

Page 7: SP2013 for Developers - Chris O'Brien

Apps - hosting options

SharePoint-hostedJavaScript only

Cloud appProvider-hosted (YOU deal with hosting)

IIS, PHP/LAMP, something else!

Auto-hosted (O365 + Azure)E.g. automatically create database in SQL Azure

Hybrid app = combination

Page 8: SP2013 for Developers - Chris O'Brien

3 questions to answer

Are we going to allow apps?Create infrastructure, obtain wildcard SSL certificate etc.

Are we going to allow ANY app from the SharePoint Store to be installed?

Or are we going to restrict to certain ‘approved’ apps via the internal App Catalog?

Will our own customisations be developed as apps?

Page 9: SP2013 for Developers - Chris O'Brien

demo

Apps (and tooling)

Page 10: SP2013 for Developers - Chris O'Brien

Display Templates (aka JSLink)

Use JavaScript to customise appearance of:Web partsItems in a SharePoint listSearch resultsContent Search Web PartAdding/editing a list itemViews on a listSpecific fields on a list

Specify your JS file with JSLink propertyOOTB Display Templates stored in Master Page Gallery

Page 11: SP2013 for Developers - Chris O'Brien

Web partSpecifies the query and templates to useTriggers templates when search results are available

Logical Model of Display Templates

Control Template (Begins)Determines how to lay the items out on the pageRendered once per web part on the pageItem TemplateDetermines how each item should lookRendered sequentially, once per search result item

Control Template (Ends)After all items rendered, control template finishes rendering

Page 12: SP2013 for Developers - Chris O'Brien

demo

Display templates

Page 13: SP2013 for Developers - Chris O'Brien

Managed Navigation

No longer just based on sub-sites

Site structure/IA not defined by navigation needs

Friendly URLs (no “/Pages/”)

Page 14: SP2013 for Developers - Chris O'Brien

Cross-site publishing

Same information, showing in multiple places

Break through site collection barrier

Good for authoring/publishing and multi-lingual

Page 15: SP2013 for Developers - Chris O'Brien

Closing thoughts

AppsThe Store could be a great thing for SharePointDeveloping: what benefits is the app framework providing?Learning curve to app development

Greater prevalence of ‘classic’ web dev technologies

Several end-user and dev constraints removedSite collection boundaryNavigation based on site structure

Page 17: SP2013 for Developers - Chris O'Brien

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.