SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
Build a Responsive Website
        with Drupal



          By Shyamala
  rajaram.shyamala@gmail.com


                          www.unimity.com
Presentation Path
What are Responsive websites?
  ● Websites for mobile past, present & future

  ● Flexible Grids

  ● Flexible images

  ● Css Media queries

  ● What is Mobile first methodology?

  ● Break Points

  ● Responsive vs Adaptive

  ● Drupal 8 & mobile initiative

 

                                  www.unimity.com
Website for Mobile - Past

MOBILE                   DESKTOP

m.site.com               www.site.com


             DETECT &
             REDIRECT

               Request




                            www.unimity.com
Website for Mobile - Present &
            Future




                      www.unimity.com
Flexible Grids
Use percentages: allow grow & shrink of web
pages
 
         
        Target / Context = results
       (5grids) / (8grids) = 62.5%
       OR
       (600px) / (960px) = 62.5%




                                     www.unimity.com
Flexible Grids




                 www.unimity.com
Flexible Images - sizes




                   www.unimity.com
Flexible Images




              www.unimity.com
Flexible Images - modules
Use max-width to contain images within the
grid

Drupal modules that support flexible images
include
 ● responsive_image: http://drupal.

        org/project/responsive_images
    ●   fasterimages: http://drupal.org/project/fasterimages
    ●   css_emimage:      http://drupal.org/project/css_emimage
 
                                             www.unimity.com
CSS3 Media Queries
Not only allows you to target certain devices classes,
but can actually inspect the physical characteristics of
device rendering the work
New media features, including max-width, device-width,
orientation and color
 
 
 




                                         www.unimity.com
Apple - auto-adjust feature
Use of view-port metatags
 




                            www.unimity.com
Mobile first appraoch
Ensure the site works on all devices,
devices that do not support Media
queries: take a MOBILE FIRST
APPROACH!

global.css -> mobile
reponsive.css -> media queries



                               www.unimity.com
Break Points
1200px   : Larger screens
1024px   : Smaller desktops & Larger tablets
           Landscape
768px    : Portrait for Larger Tablets,
           Landscape for smaller tablets
600px    : Portrait & Landscape for smaller
           layouts & Kindle
480px    : Landscape mode for smart phones
320px    : Portrait mode for smart phones


                              www.unimity.com
Responsive vs Adaptive design

 "Adaptive web design" refers more to the
secondary and less fluid approach of
adapting existing web designs, or
designing for controlled adaptation as
opposed to a truly fluid and flexible
"Responsive" design.



                              www.unimity.com
Drupal Themes
●   omega: http://drupal.org/project/omega

●   zen: http://drupal.org/project/zen

●   adaptive: http://drupal.org/project/adaptivetheme

●   terrain: http://drupal.org/project/terrain




                                           www.unimity.com
Drupal 8 & Responsive Designs
●   Issue queues tagged as mobile in
    Drupal 8

●   For info on Drupal 8 mobile initiative:
    http://groups.drupal.org/node/207248




                                           www.unimity.com
www.unimity.com
www.unimity.com

Mais conteúdo relacionado

Semelhante a Build a responsive website with drupal

Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
touchtitans
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Design
martinridgway
 

Semelhante a Build a responsive website with drupal (20)

Responsive Web Design in Cascade Server, by Chris Cox of BarkleyREI
Responsive Web Design in Cascade Server, by Chris Cox of BarkleyREIResponsive Web Design in Cascade Server, by Chris Cox of BarkleyREI
Responsive Web Design in Cascade Server, by Chris Cox of BarkleyREI
 
Dig into the omega theme
Dig into the omega themeDig into the omega theme
Dig into the omega theme
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
 
The Rise Of Tablets: Responsive Web Design is in your future
The Rise Of Tablets: Responsive Web Design is in your futureThe Rise Of Tablets: Responsive Web Design is in your future
The Rise Of Tablets: Responsive Web Design is in your future
 
The rise of tablets how responsive web design is in your future
The rise of tablets   how responsive web design is in your futureThe rise of tablets   how responsive web design is in your future
The rise of tablets how responsive web design is in your future
 
Responsive design
Responsive designResponsive design
Responsive design
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)
 
reponsive-web-design.pptx
reponsive-web-design.pptxreponsive-web-design.pptx
reponsive-web-design.pptx
 
reponsive-web-design.pptx
reponsive-web-design.pptxreponsive-web-design.pptx
reponsive-web-design.pptx
 
BarkleyREI & Hannon Hill Webinar - Responsive Web Design
BarkleyREI & Hannon Hill Webinar - Responsive Web DesignBarkleyREI & Hannon Hill Webinar - Responsive Web Design
BarkleyREI & Hannon Hill Webinar - Responsive Web Design
 
Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)
 
Advancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web Design
 
Building Mobile Websites with Joomla
Building Mobile Websites with JoomlaBuilding Mobile Websites with Joomla
Building Mobile Websites with Joomla
 
Intro to Responsive Web Design
Intro to Responsive Web DesignIntro to Responsive Web Design
Intro to Responsive Web Design
 
Drupalcon Asia - "Drupal 8 Mobile in its DNA"
Drupalcon Asia - "Drupal 8 Mobile in its DNA"Drupalcon Asia - "Drupal 8 Mobile in its DNA"
Drupalcon Asia - "Drupal 8 Mobile in its DNA"
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Webinar Recording "Best Practices in RWD - Responsive Web Design"
Webinar Recording "Best Practices in RWD - Responsive Web Design"Webinar Recording "Best Practices in RWD - Responsive Web Design"
Webinar Recording "Best Practices in RWD - Responsive Web Design"
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Design
 
Drupal Business Summit - making your sites mobile accessible, four methods.
Drupal Business Summit - making your sites mobile accessible, four methods.Drupal Business Summit - making your sites mobile accessible, four methods.
Drupal Business Summit - making your sites mobile accessible, four methods.
 

Mais de Shyamala Rajaram (7)

Drupal & You
Drupal & YouDrupal & You
Drupal & You
 
Drupal 8 mobile initiative
Drupal 8 mobile initiativeDrupal 8 mobile initiative
Drupal 8 mobile initiative
 
Talk at #devfestW
Talk at #devfestWTalk at #devfestW
Talk at #devfestW
 
What in store in drupal 8
What in store in drupal 8 What in store in drupal 8
What in store in drupal 8
 
Drupal for Programmers
Drupal for ProgrammersDrupal for Programmers
Drupal for Programmers
 
Drupalacademics research
Drupalacademics researchDrupalacademics research
Drupalacademics research
 
Drupal for Libraries
Drupal for LibrariesDrupal for Libraries
Drupal for Libraries
 

Último

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
Victor Rentea
 
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
Victor Rentea
 
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
panagenda
 

Último (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
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
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
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
 
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...
 
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
 
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...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
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
 
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, ...
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Build a responsive website with drupal

  • 1. Build a Responsive Website with Drupal By Shyamala rajaram.shyamala@gmail.com www.unimity.com
  • 2. Presentation Path What are Responsive websites? ● Websites for mobile past, present & future ● Flexible Grids ● Flexible images ● Css Media queries ● What is Mobile first methodology? ● Break Points ● Responsive vs Adaptive ● Drupal 8 & mobile initiative   www.unimity.com
  • 3. Website for Mobile - Past MOBILE DESKTOP m.site.com www.site.com DETECT & REDIRECT Request www.unimity.com
  • 4. Website for Mobile - Present & Future www.unimity.com
  • 5. Flexible Grids Use percentages: allow grow & shrink of web pages         Target / Context = results (5grids) / (8grids) = 62.5% OR (600px) / (960px) = 62.5% www.unimity.com
  • 6. Flexible Grids www.unimity.com
  • 7. Flexible Images - sizes www.unimity.com
  • 8. Flexible Images www.unimity.com
  • 9. Flexible Images - modules Use max-width to contain images within the grid Drupal modules that support flexible images include ● responsive_image: http://drupal. org/project/responsive_images ● fasterimages: http://drupal.org/project/fasterimages ● css_emimage: http://drupal.org/project/css_emimage     www.unimity.com
  • 10. CSS3 Media Queries Not only allows you to target certain devices classes, but can actually inspect the physical characteristics of device rendering the work New media features, including max-width, device-width, orientation and color       www.unimity.com
  • 11. Apple - auto-adjust feature Use of view-port metatags   www.unimity.com
  • 12. Mobile first appraoch Ensure the site works on all devices, devices that do not support Media queries: take a MOBILE FIRST APPROACH! global.css -> mobile reponsive.css -> media queries www.unimity.com
  • 13. Break Points 1200px : Larger screens 1024px : Smaller desktops & Larger tablets Landscape 768px : Portrait for Larger Tablets, Landscape for smaller tablets 600px : Portrait & Landscape for smaller layouts & Kindle 480px : Landscape mode for smart phones 320px : Portrait mode for smart phones www.unimity.com
  • 14. Responsive vs Adaptive design "Adaptive web design" refers more to the secondary and less fluid approach of adapting existing web designs, or designing for controlled adaptation as opposed to a truly fluid and flexible "Responsive" design. www.unimity.com
  • 15. Drupal Themes ● omega: http://drupal.org/project/omega ● zen: http://drupal.org/project/zen ● adaptive: http://drupal.org/project/adaptivetheme ● terrain: http://drupal.org/project/terrain www.unimity.com
  • 16. Drupal 8 & Responsive Designs ● Issue queues tagged as mobile in Drupal 8 ● For info on Drupal 8 mobile initiative: http://groups.drupal.org/node/207248 www.unimity.com