SlideShare ist ein Scribd-Unternehmen logo
1 von 30
RESPONSIVE DESIGN
AND THE MODERN WEB APPLICATION
RESPONSIVE DESIGN
MOBILEFIRSTRESPONSIVEDESIGN
ASSUMPTIONS BASED ON SCREEN SIZE
MOBILEFIRSTRESPONSIVEDESIGN
ON THE GO NOT TOUCH INTERFACEHIGH RES IMAGES
ASSUMPTIONS BASED ON SCREEN SIZE
IT’S ALL ABOUT DEFINING THE CONTEXT
Find store...
1 2 3 4 ...
MOBILEFIRSTRESPONSIVEDESIGN
ON THE GO
Find store...
1 2 3 4 ...
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DODGY CONNECTION: SERVE LO-RES IMAGES
DEVICE CONTEXT
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DODGY CONNECTION: SERVE LO-RES IMAGES
TOUCH SCREEN: SUPPORT GESTURES
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DODGY CONNECTION: SERVE LO-RES IMAGES
HARDWARE ACCESS: INTEGRATE WITH CONTACTS
TOUCH SCREEN: SUPPORT GESTURES
DEVICE CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
Find store...
1 2 3 4 ...
Find store...
1 2 3 4 ...
Find store...
1 2 3 ...
CONTEXT
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DODGY CONNECTION: SERVE LO-RES IMAGES
HARDWARE ACCESS: INTEGRATE WITH CONTACTS
WEBGL AVAILABLE: SHOW 3D STREET VIEW
TOUCH SCREEN: SUPPORT GESTURES
BUSINESS CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
AT THE AIRPORT
BUSINESS CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
BUSINESS CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
KNOWN IP-RANGE: AT THE AIRPORT
BUSINESS CONTEXT
MOBILEFIRSTRESPONSIVEDESIGN
CONTEXT
KNOWN IP-RANGE: AT THE AIRPORT
KNOWN FLIGHT NUMBER: LAST CHECK-IN
BUSINESS CONTEXT
PUTTING IT ALL TOGETHER
MOBILEFIRSTRESPONSIVEDESIGN
KNOWN IP-RANGE: AT THE AIRPORT
KNOWN FLIGHT NUMBER: LAST CHECK-IN
CONTEXT
GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE!
DODGY CONNECTION: SERVE LO-RES IMAGES
HARDWARE ACCESS: INTEGRATE WITH CONTACTS
WEBGL AVAILABLE: SHOW 3D STREET VIEW
DEVICEBUSINESS
...
TOUCH SCREEN: SUPPORT GESTURES
MOBILEFIRSTRESPONSIVEDESIGN
CSS&MEDIAQUERIESWEBCOMPONENTS
RESPONSIVE WEB DESIGN 2.0
“We want to be able to build truly responsive user interfaces, without letting
content and functionality targeting a specific screen size, affect the
performance of another - no matter how rich it is.”
RESPONSIVE WEB DESIGN 2.0
Components will be aware of all their own prerequisites:
• Content - Data source (JSON)
• Layout - Client side template and styling (HTML & CSS)
• Behaviour - Functionality layer if needed (JS)
RESPONSIVE WEB DESIGN 2.0
Components will be aware of all their own prerequisites:
• Content - Data source (JSON)
• Layout - Client side template and styling (HTML & CSS)
• Behaviour - Functionality layer if needed (JS)
• RWD2 - Configurable breakpoints (to match other RWD concepts in place)
RESPONSIVE WEB DESIGN 2.0
Components will be aware of all their own prerequisites:
• Content - Data source (JSON)
• Layout - Client side template and styling (HTML & CSS)
• Behaviour - Functionality layer if needed (JS)
• RWD2 - Configurable breakpoints (to match other RWD concepts in place)
AngularJS will give us almost all we need to contain these on a per element
basis in a structured way:
<section
ng-controller="SomeComponentController" // Model
ng-include="'/some/component/template.html'" // Layout
ng-click="handleComponentClick($event);" // Behaviour
/>
RESPONSIVE WEB DESIGN 2.0
Include the module:
Set up breakpoints matching your CSS:
Assign the breakpoints to your DOM:
github.com/mordendk/rwd20
app.config(function(responsiveServiceProvider) {
responsiveServiceProvider.addBreakpoint('small', 0, 600);
responsiveServiceProvider.addBreakpoint('medium', 600, 960);
responsiveServiceProvider.addBreakpoint('large', 960, 1600);
responsiveServiceProvider.addBreakpoint('xlarge', 1600, 99999);
});
var app = angular.module('app', ['rwd20']);
<section class="related-column" responsive-breakpoint="'large'">
<!-- Element only initialized when 960 < window.innerWidth <= 1600 -->
</section>
RESPONSIVE WEB DESIGN 2.0
Components will be aware of all their own prerequisites:
• Content - Data source (JSON)
• Layout - Client side template and styling (HTML & CSS)
• Behaviour - Functionality layer if needed (JS)
• RWD2 - Configurable breakpoints (to match other RWD concepts in place)
AngularJS will give us almost all we need to contain these on a per element
basis in a structured way:
<section
ng-controller="SomeComponentController" // Model
ng-include="'/some/component/template.html'" // Layout
ng-click="handleComponentClick($event);" // Behaviour
responsive-breakpoint="'large'" // Breakpoint
/>
RESPONSIVE WEB DESIGN 2.0
// Simple image for small screens
<img
responsive-breakpoint="'small'”
ng-src="/images/planet.png"
/>
RWD2 Components:
// Heavy SVG for medium screens and up
// (deferred d3, topojson, planetary and data)
<canvas
planet="/json/planet.json"
responsive-breakpoint="'medium,large'"
/>
// Optional related column
// (deferred template, json and images)
<section
model="/json/news.json"
ng-include="'/partials/news.html'"
responsive-breakpoint="'large'"
/>
jsallthethings.com/dev/rwd20-demo
CONSIDERATIONS
REQUESTS
ONLY ADAPTIVE TO SCREEN SIZE
UX, SEO & ANALYTICS
?

Weitere ähnliche Inhalte

Ähnlich wie RESPONSIVE DESIGN AND THE MODERN WEB APPLICATION

Mini project final presentation
Mini project final presentationMini project final presentation
Mini project final presentationGianlucaCapozzi1
 
Easy2park - A smarter way to find a parking lot
Easy2park - A smarter way to find a parking lotEasy2park - A smarter way to find a parking lot
Easy2park - A smarter way to find a parking lotDaniele Davoli
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 mayLuciano Amodio
 
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web AppBring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web AppThe Software House
 
Devon 2011-f-1 반응형 웹 디자인
Devon 2011-f-1  반응형 웹 디자인Devon 2011-f-1  반응형 웹 디자인
Devon 2011-f-1 반응형 웹 디자인Daum DNA
 
MongoDB Mobile - Bringing the Power of MongoDB to your Device
MongoDB Mobile - Bringing the Power of MongoDB to your DeviceMongoDB Mobile - Bringing the Power of MongoDB to your Device
MongoDB Mobile - Bringing the Power of MongoDB to your DeviceMongoDB
 
Tomer kimhi mobmodcon-nov2015-integrating new camera hardware
Tomer kimhi mobmodcon-nov2015-integrating new camera hardwareTomer kimhi mobmodcon-nov2015-integrating new camera hardware
Tomer kimhi mobmodcon-nov2015-integrating new camera hardwareRon Munitz
 
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...David Kaneda
 
Serving Mobile Apps from Content Management Systems
Serving Mobile Apps from Content Management SystemsServing Mobile Apps from Content Management Systems
Serving Mobile Apps from Content Management SystemsSencha
 
Stocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkStocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkJohn Strott
 
Mobile Enterprise Applications
Mobile Enterprise ApplicationsMobile Enterprise Applications
Mobile Enterprise ApplicationsJason Conger
 
Story about module management with angular.js
Story about module management with angular.jsStory about module management with angular.js
Story about module management with angular.jsDavid Amend
 
Aurea Vision & Aurea Consulting: technology proposal
Aurea Vision & Aurea Consulting: technology proposalAurea Vision & Aurea Consulting: technology proposal
Aurea Vision & Aurea Consulting: technology proposalAnna Doroshenko
 
Zero-downtime deployment of Micro-services with Kubernetes
Zero-downtime deployment of Micro-services with KubernetesZero-downtime deployment of Micro-services with Kubernetes
Zero-downtime deployment of Micro-services with KubernetesWojciech Barczyński
 
You know what iMEAN? Using MEAN stack for application dev on Informix
You know what iMEAN? Using MEAN stack for application dev on InformixYou know what iMEAN? Using MEAN stack for application dev on Informix
You know what iMEAN? Using MEAN stack for application dev on InformixKeshav Murthy
 
Functional Animation with SVG - OpenWest 2018
Functional Animation with SVG - OpenWest 2018Functional Animation with SVG - OpenWest 2018
Functional Animation with SVG - OpenWest 2018Duke Speer
 
Introduction To Service Cloud Snapins SDK
Introduction To Service Cloud Snapins SDKIntroduction To Service Cloud Snapins SDK
Introduction To Service Cloud Snapins SDKMohith Shrivastava
 

Ähnlich wie RESPONSIVE DESIGN AND THE MODERN WEB APPLICATION (20)

Intro Angular Ionic
Intro Angular Ionic Intro Angular Ionic
Intro Angular Ionic
 
Mini project final presentation
Mini project final presentationMini project final presentation
Mini project final presentation
 
Easy2park - A smarter way to find a parking lot
Easy2park - A smarter way to find a parking lotEasy2park - A smarter way to find a parking lot
Easy2park - A smarter way to find a parking lot
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 may
 
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web AppBring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
Bring Your Web App to the Next Level. Wprowadzenie do Progressive Web App
 
Devon 2011-f-1 반응형 웹 디자인
Devon 2011-f-1  반응형 웹 디자인Devon 2011-f-1  반응형 웹 디자인
Devon 2011-f-1 반응형 웹 디자인
 
MongoDB Mobile - Bringing the Power of MongoDB to your Device
MongoDB Mobile - Bringing the Power of MongoDB to your DeviceMongoDB Mobile - Bringing the Power of MongoDB to your Device
MongoDB Mobile - Bringing the Power of MongoDB to your Device
 
Tomer kimhi mobmodcon-nov2015-integrating new camera hardware
Tomer kimhi mobmodcon-nov2015-integrating new camera hardwareTomer kimhi mobmodcon-nov2015-integrating new camera hardware
Tomer kimhi mobmodcon-nov2015-integrating new camera hardware
 
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
 
Serving Mobile Apps from Content Management Systems
Serving Mobile Apps from Content Management SystemsServing Mobile Apps from Content Management Systems
Serving Mobile Apps from Content Management Systems
 
Stocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkStocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible framework
 
Mobile Enterprise Applications
Mobile Enterprise ApplicationsMobile Enterprise Applications
Mobile Enterprise Applications
 
Story about module management with angular.js
Story about module management with angular.jsStory about module management with angular.js
Story about module management with angular.js
 
Responsive Enhancement
Responsive EnhancementResponsive Enhancement
Responsive Enhancement
 
The Enterprise Dilemma: Native vs. Web
The Enterprise Dilemma: Native vs. WebThe Enterprise Dilemma: Native vs. Web
The Enterprise Dilemma: Native vs. Web
 
Aurea Vision & Aurea Consulting: technology proposal
Aurea Vision & Aurea Consulting: technology proposalAurea Vision & Aurea Consulting: technology proposal
Aurea Vision & Aurea Consulting: technology proposal
 
Zero-downtime deployment of Micro-services with Kubernetes
Zero-downtime deployment of Micro-services with KubernetesZero-downtime deployment of Micro-services with Kubernetes
Zero-downtime deployment of Micro-services with Kubernetes
 
You know what iMEAN? Using MEAN stack for application dev on Informix
You know what iMEAN? Using MEAN stack for application dev on InformixYou know what iMEAN? Using MEAN stack for application dev on Informix
You know what iMEAN? Using MEAN stack for application dev on Informix
 
Functional Animation with SVG - OpenWest 2018
Functional Animation with SVG - OpenWest 2018Functional Animation with SVG - OpenWest 2018
Functional Animation with SVG - OpenWest 2018
 
Introduction To Service Cloud Snapins SDK
Introduction To Service Cloud Snapins SDKIntroduction To Service Cloud Snapins SDK
Introduction To Service Cloud Snapins SDK
 

Kürzlich hochgeladen

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

RESPONSIVE DESIGN AND THE MODERN WEB APPLICATION

  • 1. RESPONSIVE DESIGN AND THE MODERN WEB APPLICATION
  • 4. ASSUMPTIONS BASED ON SCREEN SIZE
  • 5. MOBILEFIRSTRESPONSIVEDESIGN ON THE GO NOT TOUCH INTERFACEHIGH RES IMAGES ASSUMPTIONS BASED ON SCREEN SIZE
  • 6. IT’S ALL ABOUT DEFINING THE CONTEXT
  • 7. Find store... 1 2 3 4 ... MOBILEFIRSTRESPONSIVEDESIGN ON THE GO Find store... 1 2 3 4 ... DEVICE CONTEXT
  • 8. MOBILEFIRSTRESPONSIVEDESIGN CONTEXT Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... DEVICE CONTEXT
  • 9. MOBILEFIRSTRESPONSIVEDESIGN CONTEXT Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DEVICE CONTEXT
  • 10. MOBILEFIRSTRESPONSIVEDESIGN CONTEXT Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DODGY CONNECTION: SERVE LO-RES IMAGES DEVICE CONTEXT
  • 11. DEVICE CONTEXT MOBILEFIRSTRESPONSIVEDESIGN CONTEXT Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DODGY CONNECTION: SERVE LO-RES IMAGES TOUCH SCREEN: SUPPORT GESTURES
  • 12. DEVICE CONTEXT MOBILEFIRSTRESPONSIVEDESIGN CONTEXT Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DODGY CONNECTION: SERVE LO-RES IMAGES HARDWARE ACCESS: INTEGRATE WITH CONTACTS TOUCH SCREEN: SUPPORT GESTURES
  • 13. DEVICE CONTEXT MOBILEFIRSTRESPONSIVEDESIGN Find store... 1 2 3 4 ... Find store... 1 2 3 4 ... Find store... 1 2 3 ... CONTEXT GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DODGY CONNECTION: SERVE LO-RES IMAGES HARDWARE ACCESS: INTEGRATE WITH CONTACTS WEBGL AVAILABLE: SHOW 3D STREET VIEW TOUCH SCREEN: SUPPORT GESTURES
  • 18. MOBILEFIRSTRESPONSIVEDESIGN CONTEXT KNOWN IP-RANGE: AT THE AIRPORT KNOWN FLIGHT NUMBER: LAST CHECK-IN BUSINESS CONTEXT
  • 19. PUTTING IT ALL TOGETHER
  • 20. MOBILEFIRSTRESPONSIVEDESIGN KNOWN IP-RANGE: AT THE AIRPORT KNOWN FLIGHT NUMBER: LAST CHECK-IN CONTEXT GEOLOCATION AVAILABLE AND CHANGING: ON THE MOOVE! DODGY CONNECTION: SERVE LO-RES IMAGES HARDWARE ACCESS: INTEGRATE WITH CONTACTS WEBGL AVAILABLE: SHOW 3D STREET VIEW DEVICEBUSINESS ... TOUCH SCREEN: SUPPORT GESTURES
  • 22. RESPONSIVE WEB DESIGN 2.0 “We want to be able to build truly responsive user interfaces, without letting content and functionality targeting a specific screen size, affect the performance of another - no matter how rich it is.”
  • 23. RESPONSIVE WEB DESIGN 2.0 Components will be aware of all their own prerequisites: • Content - Data source (JSON) • Layout - Client side template and styling (HTML & CSS) • Behaviour - Functionality layer if needed (JS)
  • 24. RESPONSIVE WEB DESIGN 2.0 Components will be aware of all their own prerequisites: • Content - Data source (JSON) • Layout - Client side template and styling (HTML & CSS) • Behaviour - Functionality layer if needed (JS) • RWD2 - Configurable breakpoints (to match other RWD concepts in place)
  • 25. RESPONSIVE WEB DESIGN 2.0 Components will be aware of all their own prerequisites: • Content - Data source (JSON) • Layout - Client side template and styling (HTML & CSS) • Behaviour - Functionality layer if needed (JS) • RWD2 - Configurable breakpoints (to match other RWD concepts in place) AngularJS will give us almost all we need to contain these on a per element basis in a structured way: <section ng-controller="SomeComponentController" // Model ng-include="'/some/component/template.html'" // Layout ng-click="handleComponentClick($event);" // Behaviour />
  • 26. RESPONSIVE WEB DESIGN 2.0 Include the module: Set up breakpoints matching your CSS: Assign the breakpoints to your DOM: github.com/mordendk/rwd20 app.config(function(responsiveServiceProvider) { responsiveServiceProvider.addBreakpoint('small', 0, 600); responsiveServiceProvider.addBreakpoint('medium', 600, 960); responsiveServiceProvider.addBreakpoint('large', 960, 1600); responsiveServiceProvider.addBreakpoint('xlarge', 1600, 99999); }); var app = angular.module('app', ['rwd20']); <section class="related-column" responsive-breakpoint="'large'"> <!-- Element only initialized when 960 < window.innerWidth <= 1600 --> </section>
  • 27. RESPONSIVE WEB DESIGN 2.0 Components will be aware of all their own prerequisites: • Content - Data source (JSON) • Layout - Client side template and styling (HTML & CSS) • Behaviour - Functionality layer if needed (JS) • RWD2 - Configurable breakpoints (to match other RWD concepts in place) AngularJS will give us almost all we need to contain these on a per element basis in a structured way: <section ng-controller="SomeComponentController" // Model ng-include="'/some/component/template.html'" // Layout ng-click="handleComponentClick($event);" // Behaviour responsive-breakpoint="'large'" // Breakpoint />
  • 28. RESPONSIVE WEB DESIGN 2.0 // Simple image for small screens <img responsive-breakpoint="'small'” ng-src="/images/planet.png" /> RWD2 Components: // Heavy SVG for medium screens and up // (deferred d3, topojson, planetary and data) <canvas planet="/json/planet.json" responsive-breakpoint="'medium,large'" /> // Optional related column // (deferred template, json and images) <section model="/json/news.json" ng-include="'/partials/news.html'" responsive-breakpoint="'large'" /> jsallthethings.com/dev/rwd20-demo
  • 29. CONSIDERATIONS REQUESTS ONLY ADAPTIVE TO SCREEN SIZE UX, SEO & ANALYTICS
  • 30. ?