SlideShare une entreprise Scribd logo
1  sur  24
The Past
Web
The humble
beginnings of the
Mobile
The Birth
It all started with WAP and frustrated
developers providing WML powered sites to
even more frustrated users.
The Toddler Years
Palm, Blackberry. Although with severely
limited browsers, recognizable devices are
starting to get hooked up.
Growing Up
iPhone and many other powerful devices
accessing the web with pretty darn good
browsers.
Mobile Sites
Great in theory, not in practice.
Improved UX
Nobody wants to browse a desktop website on
their phone. Pinch, zoom and scroll is not the
best way to consume!
Better Performance
Remove the fluff and provide the user with
what they want, when they want it. Optimized
images and asset management can provide
huge performance gains.
Engagement & Context
Provide your users with mobile optimized
features. Click to call, geolocation, mapping,
your mobile users are ready and waiting.
Advantages of
mobile "optimized"
websites
Double the code
By definition you have two separate, although
somewhat related, code bases to maintain.
Double the work, double the aggravation.
Redirecting
Redirecting your users is a real strain on
perceived performance. Before the client can
even begin to download your page they must
be redirected to the mobile site.
Inconsistent links
Inconsistent links only worsen this problem. If
I share a url from the mobile site and my
buddy opens it on a desktop machine, there's
another load of unrequired redirects.
Disadvantages of
mobile "optimized"
websites
The Present
Oh Hai,
Responsive
Web Design.
Term coined
Ethan Marcotte coined the term responsive
web design in a May 2010 article in A List Apart,
this is where it all began.
Fluid grids
Responsive grid systems are built based on
percentage widths relative to the viewport, as
opposed to fixed pixel values.
Media Queries
Introduced in CSS3, media queries allow us to
target device classes as well as the physical
characteristics of the device rendering of the
page. Max width, min width, resolution,
orientation. Media Queries = Happy Developers!
Write once, run anywhere.
Device divergence has rendered desktop &
mobile an obsolete design pattern
</>
Single codebase
Having a single codebase that molds to each client makes maintaining
your application 100 times easier and makes development way more
efficient.
All devices are equal
You have a single application served up to all clients, only the CSS
changes. No longer are mobile users punished for being mobile users,
they get your app in all it's glory.
Better SEO
Your one application has one sitemap and one set of urls. One set of urls
for users to share and one set of urls for you to optimize and Google to
crawl all over.
Advantages of RWD
Massive Images
Unfortunately some developers think that RWD means you can throw the
same assets at every client. Your poor mobile users, viewing your app on a
3G connection, are now stuck downloading (and often paying for) your
ridiculous 1400x800 px pngs.
Load + Shrink
This is one of the great RWD sins and is known as the dreaded "load +
shrink". You make your users load those assets and then shrink them with
CSS to half the size.
Load + Hide
Another of the great RWD sins is to load + hide. Again, wasting your users
bandwidth (and often money) on unnecessary bytes.
Disadvantages of RWD
#PERFMATTERS
RWD should be embraced but
implemented with care
To be truly responsive
we must adapt to the needs of the individual
Best of the RESS
Responsive Images
Appropriate formats
Progressive Enhancement
Compress and optimize
#perfmatters
Best of the RESS
Responsive Images
Appropriate formats
Progressive Enhancement
Compress and optimize
#perfmatters
Responsive design + server side components
Don't load & shrink, serve appropriate files
jpg, png, gif, svg, webp, data URI, canvas...
Not graceful degradation, start small
Compress, gzip, dynamically load
Understatement of the year, slow < pinch, zoom, scroll
Frameworks
are here to help
Don't reinvent the wheel
The ultimate tool in providing truly responsive
applications. Modernizr detects a clients
HTML/CSS feature support so you can provide
the most interactive experience possible for the
individual.
Asynchronous module definition is the future of
loosely coupled JavaScript in the browser.
RequireJS makes dynamically loading HTML, CSS
and JS straightforward.
No developer is complete without Chrome dev
tools, features like the network inspector and
the awesome tracing tool are essential in
creating bandwidth aware apps.
This provides a server side solution to Gumby’s
responsive images module. Visitor’s screen
sizes are detected and appropriate images
created, cached and delivered.
Large JavaScript libraries are becoming too
bloated for mobile. The release of jQuery 2.0
(which loses a lot of polyfil and functionality
redundant to mobile) and lightweight CSS
based libraries like Zepto are a major
improvement.
A JavaScript library enabling easy control of
multi touch gestures. Tap, swipe, pinch are all
made easy with Hammer.
Gumby's Little
Helpers
Responsive Images
This module allows you to specify different
inline/background images to load based on
media queries and feature support.
Shuffle the Dom
Don't use CSS to load + hide dom fragments
with media queries, use this module to shuffle
the dom around with media queries.
Responsive Text
Based on fittext.js, let your copy expand to fill
the available space, making titles as impactful
as possible all the time.
Check out Gumby Framework
The Future
To Infinity &
Beyond!
Better APIs
Look forward to network and battery APIs, the
Shadow DOM, components, HTML
templates/imports and formats like Google's
awesome webp and webm.
Moar CSS!
We'll get new media queries based on attached
pointer devices, hover capabilities, luminosity
and more, as well as responsive grids going
native to CSS.
Device convergence
Device divergence brought the need for rwd,
now the way we interact with those devices is
converging, point, click, tap, swipe, multi input
is the future.
#CONTEXTFIRST
RWD shouldn’t be about viewport
size, it’s more than that...
Context,
context, context.
Not mobile first, or anything first
Content and context first
Better. Brand. Experiences.
digitalsurgeons.com

Contenu connexe

Plus de Digital Surgeons

Navigating Your Brand Through Covid-19
Navigating Your Brand Through Covid-19Navigating Your Brand Through Covid-19
Navigating Your Brand Through Covid-19Digital Surgeons
 
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.Digital Surgeons
 
The Science of Story: How Brands Can Use Storytelling To Get More Customers
The Science of Story: How Brands Can Use Storytelling To Get More CustomersThe Science of Story: How Brands Can Use Storytelling To Get More Customers
The Science of Story: How Brands Can Use Storytelling To Get More CustomersDigital Surgeons
 
In Content Strategy, L.E.S.S. is More
In Content Strategy, L.E.S.S. is MoreIn Content Strategy, L.E.S.S. is More
In Content Strategy, L.E.S.S. is MoreDigital Surgeons
 
Unlock Your Organization Through Digital Transformation
Unlock Your Organization Through Digital TransformationUnlock Your Organization Through Digital Transformation
Unlock Your Organization Through Digital TransformationDigital Surgeons
 
Radical Candor: No BS, helping your team create better work.
Radical Candor: No BS, helping your team create better work.Radical Candor: No BS, helping your team create better work.
Radical Candor: No BS, helping your team create better work.Digital Surgeons
 
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...Digital Surgeons
 
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsFight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsDigital Surgeons
 
Typecurious: A Typography Crash Course
Typecurious: A Typography Crash CourseTypecurious: A Typography Crash Course
Typecurious: A Typography Crash CourseDigital Surgeons
 
Better Twitch Broadcasting through Rapid Prototyping & Human Centered Design
Better Twitch Broadcasting through Rapid Prototyping & Human Centered DesignBetter Twitch Broadcasting through Rapid Prototyping & Human Centered Design
Better Twitch Broadcasting through Rapid Prototyping & Human Centered DesignDigital Surgeons
 
How to Stream Video Games: A Primer on Twitch.tv
How to Stream Video Games: A Primer on Twitch.tvHow to Stream Video Games: A Primer on Twitch.tv
How to Stream Video Games: A Primer on Twitch.tvDigital Surgeons
 
Art, Meet Copy: A Copywriting Primer for Designers
Art, Meet Copy: A Copywriting Primer for Designers Art, Meet Copy: A Copywriting Primer for Designers
Art, Meet Copy: A Copywriting Primer for Designers Digital Surgeons
 
Creating Powerful Customer Experiences
Creating Powerful Customer ExperiencesCreating Powerful Customer Experiences
Creating Powerful Customer ExperiencesDigital Surgeons
 
How to Build a Brand Voice Toolkit
How to Build a Brand Voice ToolkitHow to Build a Brand Voice Toolkit
How to Build a Brand Voice ToolkitDigital Surgeons
 
Design Thinking: The one thing that will transform the way you think
Design Thinking: The one thing that will transform the way you thinkDesign Thinking: The one thing that will transform the way you think
Design Thinking: The one thing that will transform the way you thinkDigital Surgeons
 
What You Need to Know About the Future of Wearable Technology
What You Need to Know About the Future of Wearable TechnologyWhat You Need to Know About the Future of Wearable Technology
What You Need to Know About the Future of Wearable TechnologyDigital Surgeons
 

Plus de Digital Surgeons (20)

Navigating Your Brand Through Covid-19
Navigating Your Brand Through Covid-19Navigating Your Brand Through Covid-19
Navigating Your Brand Through Covid-19
 
SVG Animations
SVG AnimationsSVG Animations
SVG Animations
 
CSS Grid
CSS GridCSS Grid
CSS Grid
 
Machine learning
Machine learningMachine learning
Machine learning
 
CraftCMS 3.x Deep Dive
CraftCMS 3.x Deep DiveCraftCMS 3.x Deep Dive
CraftCMS 3.x Deep Dive
 
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.
Creating great decks: The Origins, the "Why", and 12 Tips to Make Yours Better.
 
The Science of Story: How Brands Can Use Storytelling To Get More Customers
The Science of Story: How Brands Can Use Storytelling To Get More CustomersThe Science of Story: How Brands Can Use Storytelling To Get More Customers
The Science of Story: How Brands Can Use Storytelling To Get More Customers
 
In Content Strategy, L.E.S.S. is More
In Content Strategy, L.E.S.S. is MoreIn Content Strategy, L.E.S.S. is More
In Content Strategy, L.E.S.S. is More
 
Unlock Your Organization Through Digital Transformation
Unlock Your Organization Through Digital TransformationUnlock Your Organization Through Digital Transformation
Unlock Your Organization Through Digital Transformation
 
Radical Candor: No BS, helping your team create better work.
Radical Candor: No BS, helping your team create better work.Radical Candor: No BS, helping your team create better work.
Radical Candor: No BS, helping your team create better work.
 
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...
Unlocking Creativity: How to Harness the Powers of Design, Art Direction & Cr...
 
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsFight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
 
Typecurious: A Typography Crash Course
Typecurious: A Typography Crash CourseTypecurious: A Typography Crash Course
Typecurious: A Typography Crash Course
 
Better Twitch Broadcasting through Rapid Prototyping & Human Centered Design
Better Twitch Broadcasting through Rapid Prototyping & Human Centered DesignBetter Twitch Broadcasting through Rapid Prototyping & Human Centered Design
Better Twitch Broadcasting through Rapid Prototyping & Human Centered Design
 
How to Stream Video Games: A Primer on Twitch.tv
How to Stream Video Games: A Primer on Twitch.tvHow to Stream Video Games: A Primer on Twitch.tv
How to Stream Video Games: A Primer on Twitch.tv
 
Art, Meet Copy: A Copywriting Primer for Designers
Art, Meet Copy: A Copywriting Primer for Designers Art, Meet Copy: A Copywriting Primer for Designers
Art, Meet Copy: A Copywriting Primer for Designers
 
Creating Powerful Customer Experiences
Creating Powerful Customer ExperiencesCreating Powerful Customer Experiences
Creating Powerful Customer Experiences
 
How to Build a Brand Voice Toolkit
How to Build a Brand Voice ToolkitHow to Build a Brand Voice Toolkit
How to Build a Brand Voice Toolkit
 
Design Thinking: The one thing that will transform the way you think
Design Thinking: The one thing that will transform the way you thinkDesign Thinking: The one thing that will transform the way you think
Design Thinking: The one thing that will transform the way you think
 
What You Need to Know About the Future of Wearable Technology
What You Need to Know About the Future of Wearable TechnologyWhat You Need to Know About the Future of Wearable Technology
What You Need to Know About the Future of Wearable Technology
 

Dernier

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Dernier (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

The Past, Present and Future of Responsive Web Design

  • 1.
  • 3. Web The humble beginnings of the Mobile The Birth It all started with WAP and frustrated developers providing WML powered sites to even more frustrated users. The Toddler Years Palm, Blackberry. Although with severely limited browsers, recognizable devices are starting to get hooked up. Growing Up iPhone and many other powerful devices accessing the web with pretty darn good browsers.
  • 4. Mobile Sites Great in theory, not in practice.
  • 5. Improved UX Nobody wants to browse a desktop website on their phone. Pinch, zoom and scroll is not the best way to consume! Better Performance Remove the fluff and provide the user with what they want, when they want it. Optimized images and asset management can provide huge performance gains. Engagement & Context Provide your users with mobile optimized features. Click to call, geolocation, mapping, your mobile users are ready and waiting. Advantages of mobile "optimized" websites
  • 6. Double the code By definition you have two separate, although somewhat related, code bases to maintain. Double the work, double the aggravation. Redirecting Redirecting your users is a real strain on perceived performance. Before the client can even begin to download your page they must be redirected to the mobile site. Inconsistent links Inconsistent links only worsen this problem. If I share a url from the mobile site and my buddy opens it on a desktop machine, there's another load of unrequired redirects. Disadvantages of mobile "optimized" websites
  • 8. Oh Hai, Responsive Web Design. Term coined Ethan Marcotte coined the term responsive web design in a May 2010 article in A List Apart, this is where it all began. Fluid grids Responsive grid systems are built based on percentage widths relative to the viewport, as opposed to fixed pixel values. Media Queries Introduced in CSS3, media queries allow us to target device classes as well as the physical characteristics of the device rendering of the page. Max width, min width, resolution, orientation. Media Queries = Happy Developers!
  • 9. Write once, run anywhere. Device divergence has rendered desktop & mobile an obsolete design pattern </>
  • 10. Single codebase Having a single codebase that molds to each client makes maintaining your application 100 times easier and makes development way more efficient. All devices are equal You have a single application served up to all clients, only the CSS changes. No longer are mobile users punished for being mobile users, they get your app in all it's glory. Better SEO Your one application has one sitemap and one set of urls. One set of urls for users to share and one set of urls for you to optimize and Google to crawl all over. Advantages of RWD
  • 11. Massive Images Unfortunately some developers think that RWD means you can throw the same assets at every client. Your poor mobile users, viewing your app on a 3G connection, are now stuck downloading (and often paying for) your ridiculous 1400x800 px pngs. Load + Shrink This is one of the great RWD sins and is known as the dreaded "load + shrink". You make your users load those assets and then shrink them with CSS to half the size. Load + Hide Another of the great RWD sins is to load + hide. Again, wasting your users bandwidth (and often money) on unnecessary bytes. Disadvantages of RWD
  • 12. #PERFMATTERS RWD should be embraced but implemented with care
  • 13. To be truly responsive we must adapt to the needs of the individual
  • 14. Best of the RESS Responsive Images Appropriate formats Progressive Enhancement Compress and optimize #perfmatters
  • 15. Best of the RESS Responsive Images Appropriate formats Progressive Enhancement Compress and optimize #perfmatters Responsive design + server side components Don't load & shrink, serve appropriate files jpg, png, gif, svg, webp, data URI, canvas... Not graceful degradation, start small Compress, gzip, dynamically load Understatement of the year, slow < pinch, zoom, scroll
  • 16. Frameworks are here to help Don't reinvent the wheel
  • 17. The ultimate tool in providing truly responsive applications. Modernizr detects a clients HTML/CSS feature support so you can provide the most interactive experience possible for the individual. Asynchronous module definition is the future of loosely coupled JavaScript in the browser. RequireJS makes dynamically loading HTML, CSS and JS straightforward. No developer is complete without Chrome dev tools, features like the network inspector and the awesome tracing tool are essential in creating bandwidth aware apps.
  • 18. This provides a server side solution to Gumby’s responsive images module. Visitor’s screen sizes are detected and appropriate images created, cached and delivered. Large JavaScript libraries are becoming too bloated for mobile. The release of jQuery 2.0 (which loses a lot of polyfil and functionality redundant to mobile) and lightweight CSS based libraries like Zepto are a major improvement. A JavaScript library enabling easy control of multi touch gestures. Tap, swipe, pinch are all made easy with Hammer.
  • 19. Gumby's Little Helpers Responsive Images This module allows you to specify different inline/background images to load based on media queries and feature support. Shuffle the Dom Don't use CSS to load + hide dom fragments with media queries, use this module to shuffle the dom around with media queries. Responsive Text Based on fittext.js, let your copy expand to fill the available space, making titles as impactful as possible all the time. Check out Gumby Framework
  • 21. To Infinity & Beyond! Better APIs Look forward to network and battery APIs, the Shadow DOM, components, HTML templates/imports and formats like Google's awesome webp and webm. Moar CSS! We'll get new media queries based on attached pointer devices, hover capabilities, luminosity and more, as well as responsive grids going native to CSS. Device convergence Device divergence brought the need for rwd, now the way we interact with those devices is converging, point, click, tap, swipe, multi input is the future.
  • 22. #CONTEXTFIRST RWD shouldn’t be about viewport size, it’s more than that...
  • 23. Context, context, context. Not mobile first, or anything first Content and context first