Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build Right: Midwest Tour Day 2

Build Right
August 17, 2012

Build Right: Midwest Tour Day 2

The second day of content from our 2012 Midwest Tour in Columbus, Cleveland, Pittsburgh, and Grand Rapids. Includes the business of RWD, responsive retrofitting, role of JavaScript in RWD, responsive JavaScript, emerging patterns, and what's next.

Build Right

August 17, 2012
Tweet

More Decks by Build Right

Other Decks in Design

Transcript

  1. PROCESS REVIEW Research Technical Requirements Content Inventory Deliverables Priority Guide

    or Content Priority Prototype Style Tile or Style Prototype Large Resolution Design Code Responsive Templates
  2. CLIENT DELIVERABLES So if everything is changing, and there are

    all these new possibilities, what do we show clients?
  3. CLIENT DELIVERABLES It depends... So if everything is changing, and

    there are all these new possibilities, what do we show clients?
  4. Your Team Resources Level of trust from the client Scope

    of the project Time and budget Client Education... CLIENT DELIVERABLES DELIVERABLE DECISIONS ARE EFFECTED BY...
  5. Educated clients (or more trusting and open-minded ones) may be

    open to deliverables closer to what we’ve described in our current process. CLIENT DELIVERABLES
  6. Though we may educate our clients, some will inevitably want

    to see more and more versions of wireframes and layouts which cover multiple screen sizes... perhaps due to the project scope, or simply a lack of vision. CLIENT DELIVERABLES
  7. Though we may educate our clients, some will inevitably want

    to see more and more versions of wireframes and layouts which cover multiple screen sizes... perhaps due to the project scope, or simply a lack of vision. We recommend getting paid for that. CLIENT DELIVERABLES
  8. It depends... So, we know it costs more to build

    responsively. But how much more? PRICING RWD
  9. As much as 100% more initially. Likely to be 50%

    more soon after. PRICING RWD Really, eally ough numbers:
  10. As much as 100% more initially. Likely to be 50%

    more soon after. Probably won’t go less than 30% more. PRICING RWD Really, eally ough numbers:
  11. FACTORS RAISING THE COST OF RESPONSIVE Increased project management costs.

    Less established patterns increasing efficiency. More code = more time coding. More time in testing and quality assurance. Device hardware expenses (for true testing). PRICING RWD
  12. FACTORS RAISING THE COST OF RESPONSIVE Increased project management costs.

    Less established patterns increasing efficiency. More code = more time coding. More time in testing and quality assurance. Device hardware expenses (for true testing). PRICING RWD
  13. The New P ocess P oblem We’ve gotten very little

    negative feedback. Clients that buy into RWD tend to accept new process. Just try it. MANAGING RWD
  14. (Related to The Device-Specific Fixation) MANAGING RWD Constantly educating and

    reminding of the benefits. Remind them of their priorities, and warn against making assumptions of users per context. The Layout P oblem
  15. The Performance P oblem Remind them of their own pain.

    Make connections with the past. MANAGING RWD
  16. RESPONSIVE RETROFITTING • LARGE RESOLUTION FIRST • SMALL RESOLUTION FIRST,

    CAPPED • DEVICE QUERIES • FUN WITH RETROFITTING
  17. RESPONSIVE RETROFITTING LARGE RESOLUTION FIRST /* FILE: main.css */ /*

    all your original styles */ @media (max-width: 650px) { /* styles for 650px and lower */ }
  18. RESPONSIVE RETROFITTING SMALL RESOLUTION FIRST, CAPPED <html class=”no-js no-mediaquery”> <head>

    <script src=”/js/modernizr.js”></script> <script> if ( Modernizr.mq('(min-width: 0px)') ) { $( "html" ).removeClass( "no-mediaquery" ); $( "html" ).addClass( "mediaquery" ); } </script> <link rel="stylesheet" href="/css/base.css"> </head>
  19. /* if JS disabled OR media queries aren't supported */

    .no-mediaquery { @import "original"; } .mediaquery { @media (max-width: 660px) { @import "small"; } @media (min-width: 661px) and (max-width: 979px) { @import "small"; @import "medium"; } @media (min-width: 980px) { @import "original"; } }
  20. /* translated to CSS as... */ .no-mediaquery li { /*

    original li styles */ } @media (max-width: 660px) { .mediaquery li { /* small li styles */ } } @media (min-width: 661px) and (max-width: 979px) { .mediaquery li { /* small li styles */ } .mediaquery li { /* medium li styles */ } } @media (min-width: 980px) { .mediaquery li { /* original li styles */ } }
  21. RESPONSIVE RETROFITTING Apply styles based on width of device vs

    width of browser. @media (max-device-width: 650px) { /* styles for 650px and lower */ } DEVICE QUERIES
  22. RESPONSIVE RETROFITTING WHEN IS RETROFITTING APPROPRIATE? - smaller budget/timeline -

    can’t start over - semantic markup - solid UX at large resolutions
  23. RESPONSIVE RETROFITTING TURNING THE TITANIC - take small steps -

    start buliding responsive elements - ask for forgiveness, not permission
  24. RESPONSIVE JAVASCRIPT P ogressive Enhancement “...uses web technologies in a

    layered fashion that allows everyone to access the basic content and functionality of a web page... while also providing an enhanced version of the page... http://en.wikipedia.org/wiki/Progressive_enhancement
  25. RESPONSIVE JAVASCRIPT Aggressive Enhancement “... treating content itself as an

    enhancement.” http://globalmoxie.com/blog/making-of-people-mobile.shtml
  26. RESPONSIVE JAVASCRIPT Polyfills A shim that mimics a future API

    providing fallback functionality to older browsers. http://paulirish.com/i/7570.png
  27. Top Nav Bottom Nav Slide Down Nav Select Box Nav

    Menu Icon Nav Multi-Level EMERGING PATTERNS navigation
  28. Top Nav Bottom Nav Slide Down Nav Select Box Nav

    Menu Icon Nav Multi-Level EMERGING PATTERNS navigation http://riothq.com http://contentsmagazine.com http://2012.dconstruct.org http://fortysevenmedia.com http://twitter.github.com/bootstrap http://msj.edu/
  29. Show the first column Turn the rows into blocks Just

    hide some of it Selective Display EMERGING PATTERNS tables
  30. Show the first column Turn the rows into blocks Just

    hide some of it Selective Display EMERGING PATTERNS tables http://www.zurb.com/playground/responsive-tables http://css-tricks.com/examples/ResponsiveTables/responsive.php http://elvery.net/demo/responsive-tables http://filamentgroup.com/examples/rwd-table-patterns
  31. http://tiny.cc/vr24gw EMERGING PATTERNS images ~K istofer Lanyon “...performance is important,

    but access is more important. Mobile later is better than mobile never.”
  32. EMERGING PATTERNS @media (min-width: 600px) { /* styles for 600px

    and up here */ } @media (min-width: 30em) { /* styles for 60em and up here */ } em-based media queries
  33. “The truly responsive design web designer wasn’t born until after

    the launch of the iPhone. We haven’t seen his or her work yet.” ANDY CLARKE http://the-pastry-box-project.net/andy-clarke/2012-april-8/
  34. • MOBILE FIRST PROCESS • PERFORMANCE AS A FEATURE •

    THE SERVER IS OUR FRIEND • MODULAR CONTENT SYSTEMS • CONTENT PRIORITY MOVE BEYOND