59
With Responsive Web Design Eric Overfield SharePoint Advocate and Enthusiast PixelMill Enhance SharePoint 2013 http://pxml.ly/EO-SP2013-Responsive

Enhance SharePoint 2013 with Responsive Web Design

Embed Size (px)

DESCRIPTION

Learn all about SharePoint 2013 and how to a better front end with Responsive Design Strategies and techniques

Citation preview

Page 1: Enhance SharePoint 2013 with Responsive Web Design

With Responsive Web Design

Eric OverfieldSharePoint Advocate and Enthusiast

PixelMill

Enhance SharePoint 2013

http://pxml.ly/EO-SP2013-Responsive

Page 2: Enhance SharePoint 2013 with Responsive Web Design

Introduction – Eric Overfield

Founder and SharePoint Branding/UI Lead,

PixelMill

Speaker, Teacher, Advocate

Author, SharePoint Community Organizer

Located in Davis, CA

ericoverfield.com

@EricOverfield

Order Your Copy http://pxml.ly/zsqykd

Co-author: “Pro SharePoint 2013 Branding and

Responsive Web Development” (Apress – June

12th, 2013)

Co-author: “Black Magic

Solutions for White Hat

SharePoint” (August, 2013)

Page 3: Enhance SharePoint 2013 with Responsive Web Design

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

Page 4: Enhance SharePoint 2013 with Responsive Web Design

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

Page 5: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

A Grid – In Action

Page 6: Enhance SharePoint 2013 with Responsive Web Design

Push NotificationsLet’s See a ComparisonFluid (Flexible) Grid

@EricOverfield - pixelmill.comi.e. 860 / 940 ~= 91.489361%

Page 7: Enhance SharePoint 2013 with Responsive Web Design

Push NotificationsLet’s See a ComparisonFlexible Media

@EricOverfield - pixelmill.com

Page 8: Enhance SharePoint 2013 with Responsive Web Design

Push NotificationsLet’s See a ComparisonMedia Queries

@EricOverfield - pixelmill.com

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; }}

Added in CSS 2.1, Enhanced with CSS3

Page 9: Enhance SharePoint 2013 with Responsive Web Design

Responsive Design

In Action

@EricOverfield - pixelmill.com

Page 10: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Page 11: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Page 12: Enhance SharePoint 2013 with Responsive Web Design

Who Cares?

@EricOverfield - pixelmill.com

The Mobile Revolution

Page 13: Enhance SharePoint 2013 with Responsive Web Design

Not The Web

@EricOverfield - pixelmill.com

Page 14: Enhance SharePoint 2013 with Responsive Web Design

Today’s Web

@EricOverfield - pixelmill.com

Page 15: Enhance SharePoint 2013 with Responsive Web Design

And Tomorrow?

Watches?

Game Devices?

Printers?

Who Knows?

Toasters?

Televisions?

Cameras? ??@EricOverfield - pixelmill.com

Page 16: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Business Insider conference presentation shows (Blodget & Cocotas, 2012)

Page 17: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Page 18: Enhance SharePoint 2013 with Responsive Web Design

http://thenextweb.com/insider/2012/12/27/christmas-day-mixpanel-study-more-online-activity-on-mobile-devices/ @EricOverfield - pixelmill.com

Mobile vs Desktop Traffic

Page 19: Enhance SharePoint 2013 with Responsive Web Design

"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

Page 20: Enhance SharePoint 2013 with Responsive Web Design

Screen Size

Functionality

Usability

How All Devices Differ

@EricOverfield - pixelmill.com

Page 21: Enhance SharePoint 2013 with Responsive Web Design

What AboutMobile Apps?

@EricOverfield - pixelmill.com

Page 22: Enhance SharePoint 2013 with Responsive Web Design

SharePoint Mobile Apps

Freely Available:

SharePoint Newsfeed App

Skydrive Pro App

@EricOverfield - pixelmill.com

Third Party:

SharePlus by Infragistics's

Briefcase by Colligo

Mobile Entrée by H3 Solutions

Filamente Mobile SharePoint

App

And more…

Page 23: Enhance SharePoint 2013 with Responsive Web Design

Apps and RWD serve different

purposes

@EricOverfield - pixelmill.com

Apps -> particular function

Mobile Collaboration

Mobile Document Sharing / Offline Viewing

RWD -> general site / portal

Mobile Friendly Website

Page 24: Enhance SharePoint 2013 with Responsive Web Design

Planning ForResponsive

Design@EricOverfield - pixelmill.com

Page 25: Enhance SharePoint 2013 with Responsive Web Design

Our Responsive Goals

Single site

Serve a variety of Viewports

And tailored to each viewport

@EricOverfield - pixelmill.com

Future Friendly

(i.e. no separate mobile)

Page 26: Enhance SharePoint 2013 with Responsive Web Design

Responsive Drawbacks

Desktop vs. Mobile content

Content order

@EricOverfield - pixelmill.com

Maybe SharePoint can help?

Device Channels

A lot more work

Page 27: Enhance SharePoint 2013 with Responsive Web Design

Start with Content

@EricOverfield - pixelmill.com

Page 28: Enhance SharePoint 2013 with Responsive Web Design

Mobile First

Information

Architecture

Content Rollups

Search Driven Content

Content is King@EricOverfield - pixelmill.com

Page 29: Enhance SharePoint 2013 with Responsive Web Design

Design

Extremes

@EricOverfield - pixelmill.com

to the

Page 30: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Page 31: Enhance SharePoint 2013 with Responsive Web Design

Navigation

Responsive Navigation the most difficult decision

SharePoint Navigation is not Responsive friendly

@EricOverfield - pixelmill.com

SharePoint relies on hover event / unfriendly HTML

Static Navigation vs. SharePoint Navigation

note: Custom Responsive Navigation will require

JS/jQuery

Page 32: Enhance SharePoint 2013 with Responsive Web Design

Floating

Drop down

Collapse

Off Canvas

Others?

Floating

Drop down

Collapse

Off Canvas

Others?

Responsive Navigation

@EricOverfield - pixelmill.com

Page 33: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Floating Navigation

Page 34: Enhance SharePoint 2013 with Responsive Web Design

Floating

Drop down

Collapse

Off Canvas

Others?

Responsive Navigation

@EricOverfield - pixelmill.com

Page 35: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Dropdown Navigation

Page 36: Enhance SharePoint 2013 with Responsive Web Design

Floating

Drop down

Collapsing

Off Canvas

Others?

Responsive Navigation

@EricOverfield - pixelmill.com

Page 37: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Collapsing Navigation

Page 38: Enhance SharePoint 2013 with Responsive Web Design

Floating

Drop down

Collapsing

Off Canvas

Others?

Responsive Navigation

@EricOverfield - pixelmill.com

Page 39: Enhance SharePoint 2013 with Responsive Web Design

@EricOverfield - pixelmill.com

Off Canvas Navigation

Page 40: Enhance SharePoint 2013 with Responsive Web Design

Floating

Drop down

Collapsing

Off Canvas

Others?

Responsive Navigation

@EricOverfield - pixelmill.com

Page 41: Enhance SharePoint 2013 with Responsive Web Design

No two projects are the same

Hide and Cry

Overlay

Footer Navigation

Global Navigation

jQuery or no jQuery

@EricOverfield - pixelmill.com

Page 42: Enhance SharePoint 2013 with Responsive Web Design

Time toCode it Up

@EricOverfield - pixelmill.com

Page 43: Enhance SharePoint 2013 with Responsive Web Design

Frameworks

Pre-Built Responsive and Fluid Grids

Saves time and resources

@EricOverfield - pixelmill.com

Many include extras

i.e. Collapsing navigation

Page 44: Enhance SharePoint 2013 with Responsive Web Design

Framework Drawbacks

May take time to learn framework

Not always SharePoint friendly

@EricOverfield - pixelmill.com

Might not be the way “you” would do

it

But - can save a bunch of time

Page 45: Enhance SharePoint 2013 with Responsive Web Design

Twitter Bootstrap

Zurb Foundation

Skeleton

Less Framework

and so many more@EricOverfield - pixelmill.com

Page 46: Enhance SharePoint 2013 with Responsive Web Design

Coding Responsive Design

Responsive SharePoint at CodePlex

Free, Open Source Responsive SharePoint

Frameworks

SharePoint 2013 Ready

http://responsivesharepoint.codeplex.com

SP Blueprint

http://spblueprint.codeplex.com/

SharePoint and Responsive DesignPush NotificationsLet’s See a ComparisonResponsive Frameworks and SharePoint

@EricOverfield - pixelmill.com

Page 47: Enhance SharePoint 2013 with Responsive Web Design

Mobile First

Build Mobile interface first

Forces us to concentrate on content

Helps control some resources

@EricOverfield - pixelmill.com

Mobile Interface not great for entering content

May not be preferable with some development

processes

Not IE7/IE8 friendly

Page 48: Enhance SharePoint 2013 with Responsive Web Design

Mobile First In Action

@EricOverfield - pixelmill.com

Page 49: Enhance SharePoint 2013 with Responsive Web Design

Mobile First and IE8 / IE7

Will only load mobile view

@EricOverfield - pixelmill.com

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]-->

Page 50: Enhance SharePoint 2013 with Responsive Web Design

Build to the Designnot the Device

@EricOverfield - pixelmill.com

Page 51: Enhance SharePoint 2013 with Responsive Web Design

Become Device Independent

Base breakpoints based on design

Allows for any device

Use a background image to help

@EricOverfield - pixelmill.com

Temporary background image with columns

Start with 300 pixel block

Then 50 to 100 pixel columns through 1200 pixels

total

Page 52: Enhance SharePoint 2013 with Responsive Web Design

SharePoint 2013 Helps

@EricOverfield - pixelmill.com

Page 53: Enhance SharePoint 2013 with Responsive Web Design

Device Channels

New to SharePoint 2013

Interfaces tailored and maps to specific device(s)

Custom Master Pages per Channel

Custom DeviceChannelPanels

Change the order of content!

@EricOverfield - pixelmill.com

Page 54: Enhance SharePoint 2013 with Responsive Web Design

Device Channels – An Example

@EricOverfield - pixelmill.com

Page 55: Enhance SharePoint 2013 with Responsive Web Design

Eric’s Practical Tips to #SPRWD

Start with a framework

@EricOverfield - pixelmill.com

Mobile first (most likely)

Set your project expectations accordingly

Test your design on primary devices/browsers

Be sure you are very comfortable with CSS/HTML

Don’t stop learning

(Responsive

SharePoint?)

Page 56: Enhance SharePoint 2013 with Responsive Web Design

Build towards

progressPerfection does not yet

exist

There is no silver bullet

@EricOverfield - pixelmill.com

Page 57: Enhance SharePoint 2013 with Responsive Web Design

Resources

"Responsive Web Design" by Ethan Marcotte

http://pxml.ly/23fkmjd

Responsive Frameworks for SharePoint 2010 and 2013

http://responsivesharepoint.codeplex.com

SharePoint 2010 Responsive Web design Template by Luis Kerr

http://pxml.ly/xvr2ny

v5, the Responsive HTML5 Master Page for SharePoint 2010 by Kyle Schaeffer

http://pxml.ly/i3dbxre

Ethan Marcotte’s 20 Favorite Responsive Designs

http://pxml.ly/yqiyor

Configure SharePoint Server 2010 for Mobile Device Access

http://pxml.ly/vh3hhca

html5shiv

http://pxml.ly/uzcz32

Modernizr

http://modernizr.comcss3-mediaqueries-js

http://pxml.ly/zcw2jb2 @EricOverfield - pixelmill.com

Page 58: Enhance SharePoint 2013 with Responsive Web Design

Resources

Twitter Bootstrap

http://pxml.ly/d3qbekq

Implementing Off Canvas Navigation

http://pxml.ly/26ajefj

Less Framework

http://pxml.ly/y4wq8w

Skeleton Framework

http://pxml.ly/t2gkrft

Zurb Foundation

http://pxml.ly/wcxkqv

@EricOverfield - pixelmill.com

Order Your Copy http://pxml.ly/zsqykd

“Pro SharePoint 2013 Branding and Responsive Web

Development” (Apress – June 12th, 2013)

Page 59: Enhance SharePoint 2013 with Responsive Web Design

With Responsive Web Design

Enhance SharePoint 2013

Thank YouEric Overfield

@EricOverfieldericoverfield.com

[email protected]

http://pxml.ly/EO-SP2013-Responsive