SlideShare a Scribd company logo
1 of 18
Download to read offline
What is a responsive website?
One whose contents folds, flows, hides or appears as the device and its

orientation changes.

A good responsive website should have

•
•
•
•

easy viewing
easy navigation
no resizing needed
NO horizontal scrolling!
Why go responsive?
Why are there so many mobile companies coming up? Because people

are increasingly buying them.
Why responsive? Because ^. And as mobile usage increases, it now
accounts for 10% of worldwide Internet usage.

And by going responsive we make sure our users have a comfortable
and enjoyable experience no matter what device they are on.
Why go responsive?
http://www.bitrebels.com/wp-content/uploads/2011/04/Mobile-Marketing-Avertising-Landscape.jpg

some images from above infographics
Why go responsive?
http://www.bitrebels.com/wp-content/uploads/2011/04/Mobile-Marketing-Avertising-Landscape.jpg

some images from above infographics
Why go responsive?
http://www.bitrebels.com/wp-content/uploads/2011/04/Mobile-Marketing-Avertising-Landscape.jpg

some images from above infographics

Lets have LOOK at what we are talking about! (check out 1 or 2 good

responsive website)
Where to get started? How to approach this?
Graceful Degradation
[image]
- desktop first
or

[image]

Progressive Enhancement
- mobile first
Graceful Degradation
Less content - less functionality - develop for desktop degrade gracefully - YES!

More content - more functionality - develop for desktop ALAS! we don’t have so much space in a smartphone! :O
Progressive enhancement vs Graceful degradation
when? why?
Graceful degradation

•
•
•

starts with complexity and tries to fix for smaller screens
content and functionality gets chopped off as we go smaller
at the end - we have a website that is great on desktop and….well it doesn’t
break on tablets and smartphones

But we can still go for it! With lesser content and basic very few functionality we
can easily have the content move and flow to suit the device.
Progressive Enhancement
Less content - less functionality - develop for mobile - easy

enhancement - got it!
More content - more functionality - we must have this, this … and
this functionalities - develop for mobile - smooth..

move to tablet - give me more!
move to desktop - give me most!
- Enhance progressively - We Want!! ^_^
Progressive enhancement vs Graceful degradation
when? why?
Progressive enhancement

•
•
•

list out the essential functionalities - for mobile and larger devices
add features, complex designs, enhancement as screen size grows
at the end - we have a website that gives the basic functionality in all
devices. And more to look at in larger screens!

Any website - simple or complex - will fit into this approach.
Designing and Theming
The design for different devices must be connected - each
design should flow to the next.
...
Drupal & Responsive Theming
Our options -

1. media queries
2. context

3. panels
4. and of course...responsive base themes like zen, omega, etc.
Media Queries - Brief Intro
The query contains two components:

1. a media type (screen), and
2. a particular media feature (max-device-width) to inspect, followed by the
target value (480px).
eg.

@media screen and (max-device-width: 480px) {
.column {

float: none;
}
}
Context
Context module - https://drupal.org/project/context

Specify condition

-

Add reaction
Panels
Customized layouts for multiple uses - all from ui

Family of modules for panels and panesPanels : https://drupal.org/project/panels
Mini Panels : https://drupal.org/project/panels_mini
Panels In-Place Editor : https://drupal.org/project/panels_ipe
Views content panes : https://drupal.org/project/views_content
Custom content panes : https://drupal.org/project/ctools_custom_content
Dos and Don’ts for responsive
•
•
•
•
•
•
•
•

no pixel perfect designing/theming
everything should be flexible
on touch devices - links and buttons should have enough space for fingers
lighter/smaller images for smaller devices
good for seo - since one site for all devices

mobile friendly navigation
know from before the basic functionalities you want
...
Testing
•
•
•

browser plugin examples and demos
websites examples and demos
actual devices
Try it out!
•

Lets have a demo by creating a simple 2-3 page responsive website

[create a simple demo site - go to development]

More Related Content

What's hot

Mobile Presentation
Mobile PresentationMobile Presentation
Mobile Presentation
dmkirspel
 
Mader henry week4_presentation
Mader henry week4_presentationMader henry week4_presentation
Mader henry week4_presentation
Henry Mader
 
Paul vesely mobile seo
Paul vesely mobile seoPaul vesely mobile seo
Paul vesely mobile seo
Barry Schwartz
 
Bharti axa website analysis, competitor analysis & visual approach
Bharti axa website analysis, competitor analysis & visual approachBharti axa website analysis, competitor analysis & visual approach
Bharti axa website analysis, competitor analysis & visual approach
Rahul Singh
 
Information Architecture in Mobile
Information Architecture in MobileInformation Architecture in Mobile
Information Architecture in Mobile
Lazar Petrakiev
 
Mobile First and Tablet-Centric Design
Mobile First and Tablet-Centric DesignMobile First and Tablet-Centric Design
Mobile First and Tablet-Centric Design
Jeff Wisniewski
 
Rivera barbara presentation
Rivera barbara  presentationRivera barbara  presentation
Rivera barbara presentation
Lady Rivera
 

What's hot (19)

mSite exam presentation - GDG Sonargaon
mSite exam presentation - GDG SonargaonmSite exam presentation - GDG Sonargaon
mSite exam presentation - GDG Sonargaon
 
Introduction to mobile apps and mobile websites
Introduction to mobile apps and mobile websitesIntroduction to mobile apps and mobile websites
Introduction to mobile apps and mobile websites
 
Mobile Presentation
Mobile PresentationMobile Presentation
Mobile Presentation
 
Promoting your business on mobile devises
Promoting your business on mobile devisesPromoting your business on mobile devises
Promoting your business on mobile devises
 
Mader henry week4_presentation
Mader henry week4_presentationMader henry week4_presentation
Mader henry week4_presentation
 
Paul vesely mobile seo
Paul vesely mobile seoPaul vesely mobile seo
Paul vesely mobile seo
 
Why go mobile
Why go mobileWhy go mobile
Why go mobile
 
Drupal Business Summit - making your sites mobile accessible, four methods
Drupal Business Summit - making your sites mobile accessible, four methodsDrupal Business Summit - making your sites mobile accessible, four methods
Drupal Business Summit - making your sites mobile accessible, four methods
 
Salomon katherine mobile_presentation2
Salomon katherine mobile_presentation2Salomon katherine mobile_presentation2
Salomon katherine mobile_presentation2
 
Bharti axa website analysis, competitor analysis & visual approach
Bharti axa website analysis, competitor analysis & visual approachBharti axa website analysis, competitor analysis & visual approach
Bharti axa website analysis, competitor analysis & visual approach
 
Putting Mobile First
Putting Mobile FirstPutting Mobile First
Putting Mobile First
 
Mobile app growth - 3 essential feedback loops
Mobile app growth - 3 essential feedback loopsMobile app growth - 3 essential feedback loops
Mobile app growth - 3 essential feedback loops
 
Information Architecture in Mobile
Information Architecture in MobileInformation Architecture in Mobile
Information Architecture in Mobile
 
What Lies Ahead
What Lies AheadWhat Lies Ahead
What Lies Ahead
 
Whitepaper: Building Web Apps with Uniface
Whitepaper: Building Web Apps with UnifaceWhitepaper: Building Web Apps with Uniface
Whitepaper: Building Web Apps with Uniface
 
Mobile first responsive web design
Mobile first responsive web designMobile first responsive web design
Mobile first responsive web design
 
Mobile First and Tablet-Centric Design
Mobile First and Tablet-Centric DesignMobile First and Tablet-Centric Design
Mobile First and Tablet-Centric Design
 
Rivera barbara presentation
Rivera barbara  presentationRivera barbara  presentation
Rivera barbara presentation
 
Multiple Design Strategies for Multiple Screens
Multiple Design Strategies for Multiple ScreensMultiple Design Strategies for Multiple Screens
Multiple Design Strategies for Multiple Screens
 

Similar to Basic Responsive Theming - Somedutta Ghosh

Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
Omkarsoft Bangalore
 
Responsive Web Design vs Mobile Web App
Responsive Web Design vs Mobile Web AppResponsive Web Design vs Mobile Web App
Responsive Web Design vs Mobile Web App
Pamela Ireri
 
Responsive Web Design vs. Mobile Web App: What is best for Enterprise - Whit...
Responsive Web Design vs. Mobile Web App:  What is best for Enterprise - Whit...Responsive Web Design vs. Mobile Web App:  What is best for Enterprise - Whit...
Responsive Web Design vs. Mobile Web App: What is best for Enterprise - Whit...
RapidValue
 
Going mobile edu web presentation - 2011
Going mobile   edu web presentation - 2011Going mobile   edu web presentation - 2011
Going mobile edu web presentation - 2011
Nathan Gerber
 

Similar to Basic Responsive Theming - Somedutta Ghosh (20)

5 Reasons to go Responsive
5 Reasons to go Responsive5 Reasons to go Responsive
5 Reasons to go Responsive
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: Styling
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
 
Seminar: Putting Mobile First
Seminar: Putting Mobile FirstSeminar: Putting Mobile First
Seminar: Putting Mobile First
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Design vs Mobile Web App
Responsive Web Design vs Mobile Web AppResponsive Web Design vs Mobile Web App
Responsive Web Design vs Mobile Web App
 
Responsive Web Design vs. Mobile Web App: What is best for Enterprise - Whit...
Responsive Web Design vs. Mobile Web App:  What is best for Enterprise - Whit...Responsive Web Design vs. Mobile Web App:  What is best for Enterprise - Whit...
Responsive Web Design vs. Mobile Web App: What is best for Enterprise - Whit...
 
Conversion Conference - Schuh's journey to RWD
Conversion Conference - Schuh's journey to RWDConversion Conference - Schuh's journey to RWD
Conversion Conference - Schuh's journey to RWD
 
The future of BYU web design
The future of BYU web designThe future of BYU web design
The future of BYU web design
 
#MobileInAction - iRecruitExpo June 2013, Amsterdam
#MobileInAction - iRecruitExpo June 2013, Amsterdam#MobileInAction - iRecruitExpo June 2013, Amsterdam
#MobileInAction - iRecruitExpo June 2013, Amsterdam
 
Performance Optimisation For Web & Mobile
Performance Optimisation For Web & MobilePerformance Optimisation For Web & Mobile
Performance Optimisation For Web & Mobile
 
Going mobile edu web presentation - 2011
Going mobile   edu web presentation - 2011Going mobile   edu web presentation - 2011
Going mobile edu web presentation - 2011
 
Enterprise Mobile Strategy for SharePoint Server 2013 at SEF2014 in Stockholm
Enterprise Mobile Strategy for SharePoint Server 2013 at SEF2014 in StockholmEnterprise Mobile Strategy for SharePoint Server 2013 at SEF2014 in Stockholm
Enterprise Mobile Strategy for SharePoint Server 2013 at SEF2014 in Stockholm
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
Redesigning a large B2B website - The FusionCharts revamping story
Redesigning a large B2B website - The FusionCharts revamping storyRedesigning a large B2B website - The FusionCharts revamping story
Redesigning a large B2B website - The FusionCharts revamping story
 
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
 
Web UI Design Patterns 2014
Web UI Design Patterns 2014Web UI Design Patterns 2014
Web UI Design Patterns 2014
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Responsive Design for Landing Pages
Responsive Design for Landing PagesResponsive Design for Landing Pages
Responsive Design for Landing Pages
 

More from Drupal Camp Delhi

Campusdiaries Showcase - Raj Chourasia
Campusdiaries Showcase - Raj ChourasiaCampusdiaries Showcase - Raj Chourasia
Campusdiaries Showcase - Raj Chourasia
Drupal Camp Delhi
 
Generics & Specifics of QA on Web - Sweta Shahi
Generics & Specifics of QA on Web - Sweta ShahiGenerics & Specifics of QA on Web - Sweta Shahi
Generics & Specifics of QA on Web - Sweta Shahi
Drupal Camp Delhi
 
Memcache and Drupal - Vaibhav Jain
Memcache and Drupal - Vaibhav JainMemcache and Drupal - Vaibhav Jain
Memcache and Drupal - Vaibhav Jain
Drupal Camp Delhi
 
How NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai TanayHow NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai Tanay
Drupal Camp Delhi
 
Amplify user engagement with Game Mechanics - Vidhatanand
Amplify user engagement with Game Mechanics - VidhatanandAmplify user engagement with Game Mechanics - Vidhatanand
Amplify user engagement with Game Mechanics - Vidhatanand
Drupal Camp Delhi
 
Future proof your drupal skills - Piyuesh Kumar
Future proof your drupal skills - Piyuesh KumarFuture proof your drupal skills - Piyuesh Kumar
Future proof your drupal skills - Piyuesh Kumar
Drupal Camp Delhi
 
What is there in Drupal Community & their do's and don't's - Sivaji
What is there in Drupal Community & their do's and don't's - SivajiWhat is there in Drupal Community & their do's and don't's - Sivaji
What is there in Drupal Community & their do's and don't's - Sivaji
Drupal Camp Delhi
 
Drush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - SivajiDrush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - Sivaji
Drupal Camp Delhi
 
Multi lingual implementations – drupal design approaches for different scenar...
Multi lingual implementations – drupal design approaches for different scenar...Multi lingual implementations – drupal design approaches for different scenar...
Multi lingual implementations – drupal design approaches for different scenar...
Drupal Camp Delhi
 
Integration of Drupal websites and Android applications - Girish Gupta
Integration of Drupal websites and Android applications - Girish GuptaIntegration of Drupal websites and Android applications - Girish Gupta
Integration of Drupal websites and Android applications - Girish Gupta
Drupal Camp Delhi
 
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
Drupal Camp Delhi
 

More from Drupal Camp Delhi (14)

Content Migration to Drupal 8
Content Migration to Drupal 8Content Migration to Drupal 8
Content Migration to Drupal 8
 
Drupal Camp Delhi 2015
Drupal Camp Delhi 2015Drupal Camp Delhi 2015
Drupal Camp Delhi 2015
 
Campusdiaries Showcase - Raj Chourasia
Campusdiaries Showcase - Raj ChourasiaCampusdiaries Showcase - Raj Chourasia
Campusdiaries Showcase - Raj Chourasia
 
Generics & Specifics of QA on Web - Sweta Shahi
Generics & Specifics of QA on Web - Sweta ShahiGenerics & Specifics of QA on Web - Sweta Shahi
Generics & Specifics of QA on Web - Sweta Shahi
 
Memcache and Drupal - Vaibhav Jain
Memcache and Drupal - Vaibhav JainMemcache and Drupal - Vaibhav Jain
Memcache and Drupal - Vaibhav Jain
 
How NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai TanayHow NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai Tanay
 
Amplify user engagement with Game Mechanics - Vidhatanand
Amplify user engagement with Game Mechanics - VidhatanandAmplify user engagement with Game Mechanics - Vidhatanand
Amplify user engagement with Game Mechanics - Vidhatanand
 
Future proof your drupal skills - Piyuesh Kumar
Future proof your drupal skills - Piyuesh KumarFuture proof your drupal skills - Piyuesh Kumar
Future proof your drupal skills - Piyuesh Kumar
 
What is there in Drupal Community & their do's and don't's - Sivaji
What is there in Drupal Community & their do's and don't's - SivajiWhat is there in Drupal Community & their do's and don't's - Sivaji
What is there in Drupal Community & their do's and don't's - Sivaji
 
Drush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - SivajiDrush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - Sivaji
 
Multi lingual implementations – drupal design approaches for different scenar...
Multi lingual implementations – drupal design approaches for different scenar...Multi lingual implementations – drupal design approaches for different scenar...
Multi lingual implementations – drupal design approaches for different scenar...
 
Integration of Drupal websites and Android applications - Girish Gupta
Integration of Drupal websites and Android applications - Girish GuptaIntegration of Drupal websites and Android applications - Girish Gupta
Integration of Drupal websites and Android applications - Girish Gupta
 
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
Graphics Designing (Character, Posters, Advertisements, Brochure, Interface B...
 
Drupal Camp Delhi 2013 - Event Brochure
Drupal Camp Delhi 2013 -  Event BrochureDrupal Camp Delhi 2013 -  Event Brochure
Drupal Camp Delhi 2013 - Event Brochure
 

Recently uploaded

Recently uploaded (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Basic Responsive Theming - Somedutta Ghosh

  • 1. What is a responsive website? One whose contents folds, flows, hides or appears as the device and its orientation changes. A good responsive website should have • • • • easy viewing easy navigation no resizing needed NO horizontal scrolling!
  • 2. Why go responsive? Why are there so many mobile companies coming up? Because people are increasingly buying them. Why responsive? Because ^. And as mobile usage increases, it now accounts for 10% of worldwide Internet usage. And by going responsive we make sure our users have a comfortable and enjoyable experience no matter what device they are on.
  • 5. Why go responsive? http://www.bitrebels.com/wp-content/uploads/2011/04/Mobile-Marketing-Avertising-Landscape.jpg some images from above infographics Lets have LOOK at what we are talking about! (check out 1 or 2 good responsive website)
  • 6. Where to get started? How to approach this? Graceful Degradation [image] - desktop first or [image] Progressive Enhancement - mobile first
  • 7. Graceful Degradation Less content - less functionality - develop for desktop degrade gracefully - YES! More content - more functionality - develop for desktop ALAS! we don’t have so much space in a smartphone! :O
  • 8. Progressive enhancement vs Graceful degradation when? why? Graceful degradation • • • starts with complexity and tries to fix for smaller screens content and functionality gets chopped off as we go smaller at the end - we have a website that is great on desktop and….well it doesn’t break on tablets and smartphones But we can still go for it! With lesser content and basic very few functionality we can easily have the content move and flow to suit the device.
  • 9. Progressive Enhancement Less content - less functionality - develop for mobile - easy enhancement - got it! More content - more functionality - we must have this, this … and this functionalities - develop for mobile - smooth.. move to tablet - give me more! move to desktop - give me most! - Enhance progressively - We Want!! ^_^
  • 10. Progressive enhancement vs Graceful degradation when? why? Progressive enhancement • • • list out the essential functionalities - for mobile and larger devices add features, complex designs, enhancement as screen size grows at the end - we have a website that gives the basic functionality in all devices. And more to look at in larger screens! Any website - simple or complex - will fit into this approach.
  • 11. Designing and Theming The design for different devices must be connected - each design should flow to the next. ...
  • 12. Drupal & Responsive Theming Our options - 1. media queries 2. context 3. panels 4. and of course...responsive base themes like zen, omega, etc.
  • 13. Media Queries - Brief Intro The query contains two components: 1. a media type (screen), and 2. a particular media feature (max-device-width) to inspect, followed by the target value (480px). eg. @media screen and (max-device-width: 480px) { .column { float: none; } }
  • 14. Context Context module - https://drupal.org/project/context Specify condition - Add reaction
  • 15. Panels Customized layouts for multiple uses - all from ui Family of modules for panels and panesPanels : https://drupal.org/project/panels Mini Panels : https://drupal.org/project/panels_mini Panels In-Place Editor : https://drupal.org/project/panels_ipe Views content panes : https://drupal.org/project/views_content Custom content panes : https://drupal.org/project/ctools_custom_content
  • 16. Dos and Don’ts for responsive • • • • • • • • no pixel perfect designing/theming everything should be flexible on touch devices - links and buttons should have enough space for fingers lighter/smaller images for smaller devices good for seo - since one site for all devices mobile friendly navigation know from before the basic functionalities you want ...
  • 17. Testing • • • browser plugin examples and demos websites examples and demos actual devices
  • 18. Try it out! • Lets have a demo by creating a simple 2-3 page responsive website [create a simple demo site - go to development]