Branding share point 2013

  • 525 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
525
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
12
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Resources:http://msdn.microsoft.com/en-us/library/jj163942.aspxNo more tables:- Huge markups improvementsDesign Package:A design package does not include pages, navigation settings, or the term store.Design Manager:- Helps you create branding with HTML, CSS and JSavailable in publishing sites in both SharePoint Server 2013 and Office 365Client Site:rendering controls such as image renditionsMinimal Download strategiesRESTIn terms of authoring, SP 2013 introduces some great feaures:Cross site publishing utilizes the search service application and index. I will provide demo on authoring capabilities at a later date.Managed navigation. This is a very cool features tool. Not only it allows you to have “pretty” URLs but you will be able to work with one page design concept that dynamically loads content. In other words, one page to manage and develop from a front end prospective.Content Search Web Part. Although not available throughout the platform and versions of SP2013, this is a key components of the new SP version that will be demo in session 2.
  • Most of enterprise looking to develop branding solution will start with the Out of the Box (OOB) branding solution provided by MS SP. This is not necessarily due to a lack of branding solution development knowledge but a lack of priority. In fact, most new implementation will focus on the architecture, topology, business intelligence development, search configuration or any other pillars that makes SharePoint a great products… but will always leave branding as secondary priority. And no, just changing the logo to your company logo does not create a branding solution Although you have the option to create a theme, this will not answer all the business requirements.This is an excellent blog on how to customize the SP2013 composed look step by step by Benjamin Niaulinhttp://en.share-gate.com/blog/create-sharepoint2013-theme-using-color-palette-tool
  • Most of enterprise looking to develop branding solution will start with the Out of the Box (OOB) branding solution provided by MS SP. This is not necessarily due to a lack of branding solution development knowledge but a lack of priority. In fact, most new implementation will focus on the architecture, topology, business intelligence development, search configuration or any other pillars that makes SharePoint a great products… but will always leave branding as secondary priority. And no, just changing the logo to your company logo does not create a branding solution Although you have the option to create a theme, this will not answer all the business requirements.This is an excellent blog on how to customize the SP2013 theme step by step by Benjamin Niaulinhttp://en.share-gate.com/blog/create-sharepoint2013-theme-using-color-palette-tool
  • FromEthan Gur-esh and Alyssa Levitz’s SP Tech Conf 2012 slide.Developing SharePoint branding solution for 2010 was tedious. You had the distinction between the front end developer that will take the comps and prepare the HTML, CSS, JS elements and the SharePoint developer that will analyze and review the elements developed and translate it to a SharePoint page model “language”.
  • FromEthan Gur-esh and Alyssa Levitz’s SP Tech Conf 2012 slide.Now, you can have the front end developer develop the most of the branding solution with very little knowledge of SharePoint. They are trying to:Get Branding SharePoint sites gets easier and more familiar for Web Designers Branding SharePoint intranet to look more like internet sitesFor Web Designers:Convert HTML into SharePoint master page but not page layoutIn previous versions of SharePoint, branding a site required specific technical expertise about things like what content placeholders are required on a master page, or how a master page implements certain classes of styles. SharePoint 2013 introduces Design Manager—a new interface and central hub for managing all aspects of branding your SharePoint site. You can find the Design Manager in the top-level site for your site collection. It is a part of the Publishing Portal site collection template in SharePoint 2013.
  • Tools NotesSPD 2013 is freeWeb Development Tool such as NotePad++, Sublime Text 2, DreamweaverLibraries:Spservices is more powerful in the context of SharePoint 2010 and deprecated in 2013. Specifically for branding solutions where developers have no central administration access (and search service application), non publishing server sites or sandbox solution.Bootstrap.js is a very commonly used library in the WWW but not in SharePoint. Challenges comes from the fact that most of the default components (navigation, web parts ….) are not mobile friendlyAs we are leaning forward client side coding (This is available via the CSOM and JSOM on the development for SharePoint 2013…) it is important to elaborate proper strategies developing JS solutions. One of the solution is to use the Angular.js platform. It allows to structure very efficiently JS code as a MVC model and can be a very powerful assets for the display templates.Alternative to Angular are Ember.JS, Backbone.JS, Knockout.JSRead here the differences between the platform: http://www.100percentjs.com/backbone-or-angular-or-ember-here-is-my-choice-and-why/Read here a comparison between Angular VS Knockout: http://blog.nebithi.com/knockoutjs-vs-angularjs/
  • The structure of a SharePoint page includes three main elements. This is important to know when starting branding solution for SharePoint
  • First steps is to review the composition file that will be provided by your design/creative team. You will have to identify the parts of the composition that fits each SharePoint page model elements.
  • First steps is to review the composition file that will be provided by your design/creative team. You will have to identify the parts of the composition that fits each SharePoint page model elements.
  • Secondly, you will have to define what would be the page layout that you will use, the content type associated with and the different component that you will be adding to the page
  • Access/Upload assets:Direct accessHere are some links to resolve the Access Mapping Network IssueHere are the steps for all platform:http://msdn.microsoft.com/en-us/library/office/jj733519.aspxResolve issue:http://tommdaly.wordpress.com/2012/11/07/sharepoint-2013-design-manager-unable-to-map-network-drive-while-working-on-the-server/About Converting:- After you convert your HTML files, you can use your HTML editor to continue to refine your design, preview your files, and save them. Every time you save the HTML versions of the master page or page layout files, SharePoint 2013 automatically updates the associated SharePoint master page and page layouts to reflect your changes. - With Design Manager, you only have to edit the HTML files—while you can continue to write custom master pages and page layouts using your ASP.NET and SharePoint development skills, Design Manager enables you to design great sites without SharePoint developer expertise.If you prefer, SharePoint 2013 also includes HTML versions of several master pages and page layouts that you can use as starter templates. If you want to start from these files, create a copy of the HTML file (the associated ASP.NET file will be taken care of for you), and then edit the HTML file as you normally would. You can also start from just a basic template by using the master page from minimal template option, which automatically creates the associated .master file.Design Manager enables a step-by-step approach for creating design assets that you can use to brand sites. Upload design assets—images, HTML, CSS, and so on—and then create your master pages and page layouts. You can preview how your design looks either in a client-side code editor or on the server as you are designing it. Snippets:add custom SharePoint components and ribbon elements by using the Design Manager UI. HTML snippets that can be used by any web design tool—it renders HTML and ignores ASP.NET and SharePoint markup (while SharePoint renders only ASP.NET and SharePoint markup and ignores HTML).
  • This was a bit painful for me when I try to connect to my demo environment on O365 so hopefully it help someone.
  • All the following items are available for the master page snippet gallery.Note: same principle apply for page layout snippet gallery but you have access to your content type fields.
  • This is a new feature available to create powerful branding solution. In 2010, you had to create CQWP and then modify XLST files to enhance the branding solution. However, 2013 changes this. We will review in session 2.
  • Good tool: www.useragentstring.comYou can have up to 10 Device Channels defined in your Site Collection and per Device Channel you can specify up to 150 Device Inclusion Rules. Those are hard limits enforced by the code.The Publishing Output Cache which is a part of the Publishing infrastructure in SharePoint 2013 has built-in support for Device Channel so you don’t have to worry of much performance impact when working with Device Channelshttp://www.mavention.nl/blog/device-channels-sharepoint-2013
  • Image rendition is very cool. It allows you to set predefined scale for images and use them to define what type and part of the images you will display at different resolution.I ran into an issue “he blob cache is not enabled in this web application. Image renditions will not be generated until the blob cache is enabled. For information on turning on the blob cache, please review the product documentation.” that was easily solve with this article:http://sureshpydi.blogspot.com/2013/05/sharepoint-2013-blob-cache-is-not.html
  • Resource here: msdn.microsoft.com/en-us/library/dn456544.aspxThe basic mechanics of MDS are pretty simple. The main components of MDS are two engines, one in the server and another in the client, that work together to calculate the changes and render the pages in the browser when the user navigates from page to page in the site. In other words, we only use one page and content is loaded according to the context.

Transcript

  • 1. XSLT? Where we are going, we don’t need XSLT.
  • 2. About me French, SharePoint Developer and Food Lover Khoa Quach SharePoint Technologies MCTS, MCPD, MCSE Co-founded NIFTIT in Brooklyn Specializes in SharePoint Integration Application Development Branding Solution Mobile Solution @niftykhoa @NIFTIT
  • 3. Who is the session for? Wait, Don’t leave yet! This session will be mainly for: Front-End Developers SharePoint 2013 Developers There will be some tricks and tips for: SharePoint 2010 Developers
  • 4. Agenda Let’s get started! This session will cover: Differences between SP 2010 & SP 2013 Tools and Libraries Basic SharePoint Branding Knowledge Review of Design Manager Demo & Best Practices
  • 5. Differences Between 2010 & 2013! From a Branding Development Prospective: No More Table Markup Say Bye to XSLT Use your favorite Web Editor Introduce Design Manager Client Side Improvements Image Rendition Minimal Download Strategies REST Methodology
  • 6. Introduction Most SharePoint Intranet portals looks like this…
  • 7. Successful branding examples This is a majority of the intranet site at the moment
  • 8. A look back Designing your web site in SharePoint 2010 HTML Comps CSS, JS , etc. Dreamweaver / Photoshop / etc. SharePoint Designer
  • 9. New methodology Designing your web site in SharePoint 2013 SharePoint HTML Comps Upload CSS, JS, etc. Auto Convert Dreamweaver / etc. Add controls Snippet Gallery
  • 10. Tools and Libraries Sorry, No Hoverboard Allowed! Here are the tools you can use to brand your site: Visual Studio 2012/2013 SharePoint Designer 2013 Web Development Editor/Tool And some optional libraries: JQuery +1.7.1 Bootstrap.js Angular.js, Backbone.JS, Ember.JS Knockout.JS CoffeeScript.js
  • 11. SharePoint page model Some basic concept SharePoint uses templates to define and render the pages that a site displays. Master pages define the shared framing elements (AKA the chrome) for all pages in your site. Page layouts define the layout for a specific class of pages. Pages are created from a page layout by authors who add content to page fields. RENDERED PAGE = Master page + Page layout + page (content)
  • 12. Analyzing the design Let’s see if we get it right!
  • 13. Elements of the master page Let’s see if we get it right! Site Icon Search Bar Global Navigation Footer
  • 14. Elements of the page layout and page Let’s see if we get it right! Image Slider Content Search WebPart Content from Content Type
  • 15. Design Manager Under the hood! Access/Upload to assets and pages Convert HTML to ASP.NET master page Snippet Gallery Design Packages Device Channels Display templates (No more XSLT)
  • 16. Access network map As requested for NYCSDUG 2014 This should be straight forward for on-prems but here are possible solution for online. Internet Explorer Configuration Answer (click here) The “WebDav” Fix (http://sharepoint.stackexchange.com/questions/7 1991/office-365-sharepoint-access-denied-errorwhen-mapping-webdav) HotFix for IE10/Win7 (http://support.microsoft.com/kb/2846960) The “Keep me signed in” option (http://support.microsoft.com/kb/2616712)
  • 17. Snippet gallery Sorry, No Hoverboard Allowed! Site Icon Global Navigation Search Box Site Title Edit Mode Trim Security Device Channel Panel Media and Content OOB Web Parts Custom ASP.Net Markup
  • 18. Recap for the master page If it was too fast! Analyze your design and define SP page model elements to be used For 2013: Simply copy and paste your HTML markup into the master page but analyze Segregate the master page elements from the page layout(s) Stick to one methodology: HTML or SP
  • 19. Branding search components Search-driven web parts and display templates Display templates control which managed properties appear in the search results of a search-driven Web Part and the styling and behavior of those search results. Control display templates: control the layout of search results and any elements common to all results such as paging, sorting, and other links Item display templates: which control how each search result is displayed and repeated for each result
  • 20. Device Channels Search-driven web parts and display templates For content negotiations Use to differentiate master page Target different content with device channel panels Good to inform older browsers users to update or be aware
  • 21. Minimal download strategy Search-driven web parts and display templates New feature in SP 2013 Reduce Page Load time Only send the difference when users navigate to new page
  • 22. Branding search components Search-driven web parts and display templates Display templates control which managed properties appear in the search results of a search-driven Web Part and the styling and behavior of those search results. Control display templates: control the layout of search results and any elements common to all results such as paging, sorting, and other links Item display templates: which control how each search result is displayed and repeated for each result
  • 23. <thank you all>