1 / 58

Launch with confidence

Launch with confidence. Responsive Web Design. What else is new? Twitter: @rmonteroo #DrupalCampCR #RWD. Rob Montero - Achieve Internet. Rob is a senior engineer at Achieve Internet. Over 10 years of experience doing web development and 4+ doing Drupal exclusively.

levi
Download Presentation

Launch with confidence

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Launch with confidence Responsive Web Design What else is new? Twitter: @rmonteroo#DrupalCampCR #RWD

  2. Rob Montero - Achieve Internet Rob is a senior engineer at Achieve Internet. Over 10 years of experience doing web development and 4+ doing Drupal exclusively. Achieve Internet is a leader in advanced web and mobile platform development. We build rock-solid digital architecture and we do it right so you can launch with confidence. We build high-traffic websites, platforms and apps for the most demanding environments.

  3. Nefty Loría – Quazar Web Design • Award winner • Web UI/UX designer. 10+ years of web design experience. • Loves design. • quazarwebdesign.com • kinetikweb.com • intergraphicdesigns.com

  4. Agenda • What else is new? • Themes • <picture> • FlexSlider • Bgstretch • Things you can check out later. • Questions • What is RWD? • Some examples • From scratch or theme? • Who needs RWD? • Why is it relevant? • The buzzwords. • New toys

  5. What is RWD?

  6. Responsive Web Design RWD is the concept of developing a website in a way that allows the layout to adjust according to the user’s screen resolution (view port) using media queries.

  7. What is RWD?

  8. What is RWD?

  9. http://mattkersley.com/responsive/?http://sony.com

  10. What is RWD? • If you have a laptop, and a smart phone and a tablet you can see what I’m talking about, by going here: • http://achv.in/rwdrob • http://mattkersley.com/responsive/?{website_url}

  11. Simon Collison

  12. Food Sense

  13. Clean Air Commute Challenge

  14. FlexSlider

  15. OK! You get the point! For more examples: http://designmodo.com/ responsive-design-examples

  16. What is RWD? • More Examples • http://foodsense.is • http://earthhour.fr • http://w3conf.org • http://mediaqueri.es • http://fourkitchens.com • http://achieveinternet.com

  17. The big question Do I build all my HTML + CSS + JS from scratch - OR - use a Drupal Theme?

  18. The big question

  19. Who needs RWD? • You need RWD if: • You’re starting from scratch. • You want to keep costs low • You want it to work even when new devices are released

  20. Why is it relevant? • 1.8 billion internet connections in the world today. • 6.8 billion people in the world today. • 3.4 billion people with mobile devices today. ( roughly ½ the population of the planet)

  21. Why is it relevant? • It’s about people, not devices • Yes your iPhone goes to great lengths to facilitate browsing full sites, but technology should be available to everyone, even those without smart phones. • The most popular devices aren’t necessarily the most used devices.

  22. Why is it relevant? • 1.3 billion mobile internet users in the world today. ( Includes WAP and “real web” ) • 1/3 of the global internet usersaccess the internet only via mobile

  23. Why is it relevant? • The future is now: • Babies have an easier time interacting with an iPad than with a magazine. To them a print magazine is just like a broken iPad. • Websites are not limited to laptops only.

  24. Why is it relevant? • It’s convenient: • You’re not at your desk, you are hungry. In your email you have a coupon to this cool new restaurant. You pull up your phone, click on the link and… • What would you expect to see? >>

  25. Why is it relevant? • RWD allows us to tweak the layout and present the relevant information first: • Hours of operation • Phone number • Directions • Perhaps a link to the menu. • Everything else can wait / save bandwidth.

  26. Why is it relevant? • Meanwhile back at your desk, the restaurant’s page has all the bells and whistles you didn’t care for while browsing on your phone. • Beautiful rich imagery. • Mouth watering brain wash • All that super important messaging from the marketing agency. • The chef’s profile and his awards, etc.

  27. Why is it relevant? • Avoids keyhole browsing. • You shouldn’t need a magnifying glass to access web content on your phone.

  28. Hello Media Queries and CSS3 In its essence a media query consists of a media type and an expression to check for certain conditions of a particular media feature. The most commonly used media feature is width.

  29. CSS3 & Media Queries The absence of support for @media queries is in fact the first @media query.

  30. CSS3 & Media Queries In your CSS: @media screen and (min-width: 480px) { .content { float: left; } .social_icons { display: none } // and so on... }

  31. CSS3 & Media Queries On the header of your website: <link rel="stylesheet" href="this.css" media="(min-width: 960px)">

  32. CSS3 & Media Queries By restricting CSS rules to a certain width of the device displaying a web page, one can tailor the page's representation to devices with varying screen resolution (view port).

  33. Popular Viewport Sizes • 320 x480 px: Smartphone • 480 x 320 px: Smartphone in landscape orientation • 768 x 1024 px: iPad/tablet • 1024 x 768 px: iPad in landscape orientation/netbook • Anything larger: Desktop/laptop computer • Anything smaller: a feature phone

  34. How do we design for RWD? Simple: Use the Mobile First Approach and favor Progressive Enhancement instead of the traditionalGraceful Degradation

  35. Mobile First Approach

  36. Mobile First Approach

  37. Graceful Degradation • Focuses on building the website for the most advanced/capable browsers. • Older browsers are expected to have a poor, but passable experience. • Small fixes may be made to accommodate a particular browser ( they are not the focus )

  38. Progressive Enhancement • Focuses on the content. ( not browsers ) • Think from the content out. ( Peanut M&M ) • Peanut: Content marked up in rich semantic (x)html • Coated with rich creamy CSS • Added JS as the hard candy shell

  39. Progressive Enhancement • Progressive Enhancement consists of the following core principles: • Basic content and functionality should be accessible to all web browsers. • Sparse, semantic markup contains all content. • Enhanced layout  external CSS. • Enhanced behavior  external JavaScript. • End-user web browser preferences are respected.

  40. Progressive Enhancement • Benefits: • Accessibility: PE pages are by nature more accessible. • SEO: Since basic content is always accessible. • Performance: Responsive means fast

  41. Really New toys for your sandbox http://lab.maltewassermann.com/viewport-resizer/

  42. Really New toys for your sandbox http://respondr.webhoard.net/

  43. Really New toys for your sandbox http://designmodo.com/responsive-test/

  44. Media Query Debugger • http://johanbrook.com/design/css/debugging-css-media-queries

  45. So… what else is new? RWD has been around for a while, but it’s far from being passé.

  46. So… what else is new? Here are some of my favorite new developments in Responsive Web Design

  47. So… what else is new? Zen & Zenstrap Bootstrap Zurb-Foundation Boilerplate Omega

  48. So… what else is new? The <picture> tag and therefore the Picture module. Vs: adaptive-image, aiscs_adaptive_image, responsive_images and resp_img, rwdimages

  49. So… what else is new? The FlexSlider module Like a views_slideshow but fully reponsive and touch enabled. It supports the picture module, too.

More Related