610 likes | 739 Vues
Discover how to elevate your SharePoint 2013 experience with Responsive Web Design (RWD) from Eric Overfield, a recognized SharePoint branding expert. This guide covers the fundamentals of RWD, its significance in modern web development, and its seamless integration with SharePoint. Learn about planning, implementing fluid grids, flexible media, and media queries to ensure your SharePoint sites are visually appealing and functional across all devices. Eric Overfield shares best practices that support a responsive approach to site design while addressing common challenges faced by developers.
E N D
Enhance SharePoint 2013 With Responsive Web Design Eric Overfield
With Responsive Web Design Eric Overfield SharePoint Advocate and Enthusiast PixelMill Enhance SharePoint 2013 http://pxml.ly/EO-SP2013-Responsive
Introduction – Eric Overfield • Founder and SharePoint Branding/UI Lead, PixelMill • Speaker, Teacher, Advocate • Author, SharePoint Community Organizer • Located in Davis, CA Co-author: “Pro SharePoint 2013 Branding and Responsive Web Development” (Apress – June 12th, 2013) ericoverfield.com Order Your Copy http://pxml.ly/zsqykd @EricOverfield Co-author: “Black Magic Solutions for White Hat SharePoint” (August, 2013)
What You Will Learn • What is Responsive Web Design (RWD) • Why Should We Use It • Planning for Responsive Design • Join Response Web Design and SharePoint • SharePoint 2013 RWD Extras @EricOverfield - pixelmill.com
Responsive Web Design • #2 trend for 2012 - .net Magazine • Coined by Ethan Marcotte in May 2010 • Use fluid grids and flexible media to adapt • Uses CSS3 and JavaScript • All devices load same page, use CSS3 to adapt @EricOverfield - pixelmill.com
A Grid – In Action @EricOverfield - pixelmill.com
Fluid (Flexible) Grid Push Notifications Let’s See a Comparison i.e. 860 / 940 ~= 91.489361% @EricOverfield - pixelmill.com
Flexible Media Push Notifications Let’s See a Comparison @EricOverfield - pixelmill.com
Media Queries Push Notifications Let’s See a Comparison Added in CSS 2.1, Enhanced with CSS3 Load a stylesheet in HTML: <link rel=“stylesheet” type=“text/css” href=“css/styles.css” media=“screen and (min-width: 768px)” /> Media Queries in a Stylesheet @media screen and (min-width: 768px){ #banner { display: block; } } @EricOverfield - pixelmill.com
Responsive Design In Action @EricOverfield - pixelmill.com
The Mobile Revolution Who Cares? @EricOverfield - pixelmill.com
Not The Web @EricOverfield - pixelmill.com
Today’s Web @EricOverfield - pixelmill.com
And Tomorrow? Televisions? ? ? Who Knows? Cameras? Watches? Printers? Game Devices? Toasters? @EricOverfield - pixelmill.com
Business Insider conference presentation shows (Blodget & Cocotas, 2012) @EricOverfield - pixelmill.com
Mobile vs Desktop Traffic http://thenextweb.com/insider/2012/12/27/christmas-day-mixpanel-study-more-online-activity-on-mobile-devices/ @EricOverfield - pixelmill.com
"There’s a plethora of devices out there with widely differing abilities – it’s never been more confusing or challenging to create brilliant interfaces that work across them all.” ~ Jeffery Zeldman @EricOverfield - pixelmill.com
Screen SizeFunctionalityUsability How All Devices Differ @EricOverfield - pixelmill.com
What About Mobile Apps? @EricOverfield - pixelmill.com
SharePoint Mobile Apps Freely Available: SharePoint Newsfeed App SkydrivePro App Third Party: SharePlusby Infragistics's Briefcase by Colligo Mobile Entrée by H3 Solutions FilamenteMobile SharePoint App And more… @EricOverfield - pixelmill.com
Apps and RWD serve different purposes Apps -> particular function Mobile Collaboration Mobile Document Sharing / Offline Viewing RWD -> general site / portal Mobile Friendly Website @EricOverfield - pixelmill.com
Planning For Responsive Design @EricOverfield - pixelmill.com
Our Responsive Goals • Single site (i.e. no separate mobile) • Serve a variety of Viewports • And tailored to each viewport • Future Friendly @EricOverfield - pixelmill.com
Responsive Drawbacks • Desktop vs. Mobile content • Content order • Maybe SharePoint can help? • Device Channels • A lot more work @EricOverfield - pixelmill.com
Start with Content @EricOverfield - pixelmill.com
Mobile First Information Architecture Content Rollups Search Driven Content Content is King @EricOverfield - pixelmill.com
Design to the Extremes @EricOverfield - pixelmill.com
Navigation • Responsive Navigation the most difficult decision • SharePoint Navigation is not Responsive friendly • SharePoint relies on hover event / unfriendly HTML • Static Navigation vs. SharePoint Navigation • note: Custom Responsive Navigation will require JS/jQuery @EricOverfield - pixelmill.com
FloatingDrop downCollapseOff CanvasOthers? Responsive Navigation FloatingDrop downCollapseOff CanvasOthers? @EricOverfield - pixelmill.com
Floating Navigation @EricOverfield - pixelmill.com
FloatingDrop downCollapseOff CanvasOthers? Responsive Navigation @EricOverfield - pixelmill.com
Dropdown Navigation @EricOverfield - pixelmill.com
FloatingDrop downCollapsingOff CanvasOthers? Responsive Navigation @EricOverfield - pixelmill.com
Collapsing Navigation @EricOverfield - pixelmill.com
FloatingDrop downCollapsingOff CanvasOthers? Responsive Navigation @EricOverfield - pixelmill.com
Off Canvas Navigation @EricOverfield - pixelmill.com
FloatingDrop downCollapsingOff CanvasOthers? Responsive Navigation @EricOverfield - pixelmill.com
Hide and Cry Overlay Footer Navigation Global Navigation jQuery or no jQuery No two projects are the same @EricOverfield - pixelmill.com
Time to Code it Up @EricOverfield - pixelmill.com
Frameworks • Pre-Built Responsive and Fluid Grids • Saves time and resources • Many include extras • i.e. Collapsing navigation @EricOverfield - pixelmill.com
Framework Drawbacks • May take time to learn framework • Not always SharePoint friendly • Might not be the way “you” would do it • But - can save a bunch of time @EricOverfield - pixelmill.com
Twitter Bootstrap Zurb Foundation Skeleton Less Framework and so many more @EricOverfield - pixelmill.com
Responsive Frameworks and SharePoint Coding Responsive Design SharePoint and Responsive Design Push Notifications Let’s See a Comparison • Responsive SharePoint at CodePlex • Free, Open Source Responsive SharePoint Frameworks • SharePoint 2013 Ready • http://responsivesharepoint.codeplex.com • SP Blueprint • http://spblueprint.codeplex.com/ @EricOverfield - pixelmill.com
Mobile First • Build Mobile interface first • Forces us to concentrate on content • Helps control some resources • Mobile Interface not great for entering content • May not be preferable with some development processes • Not IE7/IE8 friendly @EricOverfield - pixelmill.com
Mobile First In Action @EricOverfield - pixelmill.com
Mobile First and IE8 / IE7 • Will only load mobile view • Fix with CSS Media Queries • JS Library: http://pxml.ly/zcw2jb2 • So we need to use JS? <!--[if lt IE 9]> <script src="http://css3-mediaqueries-js.googlecode.com/files/css3-mediaqueries.js"></script> <![endif]--> • Or an IE8- stylesheet <!--[if lt IE 9]> <link rel="stylesheet" type="text/css“ href=“/styles/styles-ie8.css” /> <![endif]--> @EricOverfield - pixelmill.com