SlideShare a Scribd company logo
1 of 23
Download to read offline
João Belchior ( Jolidog )

ISCTE Junho 2012
João Belchior ( Jolidog )



FULL TIME                           Freelance
music
                           legos

reading                                                  community

                      João Belchior ( Jolidog )
friends                                                    movies




                                                                     design




          KID                  Wife                        dog
                                              podcasts


                sleeping
SO...
The good

Seeds

                                              2000          ...   2010
             The control which designers know
          in the print medium, and often desire
                                                                  An event apart
        in the web medium, is simply a function
            of the limitation of the printed page.
                                                                  Ethan Marcotte
           We should embrace the fact that the
         web doesn’t have the same constraints,
                     and design for this flexibility.             Responsive Webdesign
         But first, we must “accept the ebb and
                                   flow of things.”
                    - John Allsopp, “A Dao of Web Design”




                  http://www.alistapart.com/articles/dao/         http://www.alistapart.com/articles/responsive-web-design/
The good

RESPONSIVE
     Design and development that responds to
     the behavior of the user and the context
     (screen size, platform and orientation).

     Join layout, flexible grids, fluid images and
     CSS3 media queries.
The good

WHY
      Mobiles and tablets will outnumber
      desktops very quickly.

      More people are connecting to the web ex-
      clusively on these devices.

      Avoid a new development phase every time
      a new device is launched.

      Mobile users are not on the go.

      Mobile devices don’t have limited connec-
      tions.
The good

how
      RETHINK YOUR CONTENTS
      Adopt a mobile first approach, clean up the cluter.

      GRIDS

       FIXED
       http://lessframework.com/

       FLUIDS
       http://www.alistapart.com/articles/responsive-web-design/



      IMAGES AND VIDEOS
      max-width: 100%;
      http://www.alistapart.com/articles/fluid-images/



      MEDIA QUERIES
      CSS3 Module


      JAVASCRIPT
      http://code.google.com/p/css3-mediaqueries-js/
      https://github.com/scottjehl/Respond
The good

FIXED GRIDS EXAMPLES

                    http://hicksdesign.co.uk/




        http://www.informationarchitects.jp/




                   http://thinkvitamin.com/




                       http://css-tricks.com/




                         http://fidibiko.com/




    shameless plug
The good

FLEXIBLE EXAMPLE
          http://www.bostonglobe.com/
The good




Core is slow... but contrib is fast!
Not so ugly

Drupal Modules                                And themes

http://drupal.org/project/responsive_images   http://drupal.org/project/omega
Integrates the Responsive Images library
created by Filament Group.                    http://drupal.org/project/arctica

http://drupal.org/project/resp_img            http://drupal.org/project/adaptivetheme

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

http://drupal.org/project/cs_adaptive_image   http://drupal.org/project/mothership

http://drupal.org/project/adaptive_image

http://drupal.org/project/borealis

http://drupal.org/project/fit_text
The good

Other Resources

RESPONSIVE WEB DESIGN BY ETHAN MAR-
COTTE
http://www.abookapart.com/products/responsive-web-
design




HARDBOILED WEB DESIGN BY ANDY CLARKE
http://hardboiledwebdesign.com
The bad

Support the old

 We still have to support IE7 and IE8              respond.js not always the answer

                                                   SOLUTION?
                                                   every browser receives the base
                                                   styles, every browser receives the rest
                                                   using media queries and IE7 - 8 get
                                                   the large screens styles with
                                                   conditional style sheets.

                                                   CONS:
                                                   repeat some code, fractured css
                                                   styles.




               IE9 is actually a good browser...
The bad

When to DELIVER

       Finding out when to load   There is a race condition for the first
                 bigger images    page load, you want to query the de-
                                  vice size but the dom is loading and
                                  images downloading.

                                  Browsers are preloading pages before
                                  cookies are set.

                                  What to do when there is no js

                                  SOLUTION?
                                  https://github.com/tubalmartin/riloadr

                                  CONS:
                                  Browsers without js get a <noscript>
                                  tag with the smallest image size.
                                  Mobile first approach
The bad

TOOLS and TESTING

        The tools are not a good fit.    All the mockups, wireframes tools are
  Designers and all involved are still   still working on a fixed pixel mindset.
              learning the process.
                                         SOLUTION?
                                         Work with what you can, find what fits
                                         your workflow, go back, interate, re-
                                         peat.




          Testing is hard, expensive     Too many devices and many more are
        and impossible to complete.      comming.

                                         SOLUTION?
                                         Keep with the standards, don’t code
                                         for specific devices, unless there is a
                                         very good reason for it.
Let’s look at some code...
But first some context!
Like an AP or Reuters, but with
                  community of locals on the ground
                  instead of staffers.

                  Based on the principles of freedom of
                  speech and freedom of information.

                  Clients all over the world.

                  We don’t keep the copyright and devide
                  our sales 50/50 with our contributors.
www.demotix.com
Tech team as 4 backend developers.   1.5 million page views

One frontend developer.              30.000+ Registered users

Very tight deadlines.                6.000+ Active contributors

Working on Drupal 6.                 1200 images a day from every country
                                     recognized by the UN and a few more

                                     Almost 1.200.000 nodes
Not so ugly

The Actual process




 Wireframes    Design    Prototype   Move into drupal



                                           Test
               Iterate


                                         Release
Not so ugly




ok, ok, the code...
Thank you!
                                Questions?

                                João Belchior ( Jolidog )
not the dog
 in jolidog                     d.o user/347132
                                jbelchior@fidibiko.com
                                http:// fidibiko.com




              www.demotix.com

More Related Content

Viewers also liked (11)

Padrino is agnostic
Padrino is agnosticPadrino is agnostic
Padrino is agnostic
 
RubyKaja 2012
RubyKaja 2012RubyKaja 2012
RubyKaja 2012
 
Padrino decorator
Padrino decoratorPadrino decorator
Padrino decorator
 
Cádiz
CádizCádiz
Cádiz
 
Edaraty may-2013 - copy
Edaraty may-2013 - copyEdaraty may-2013 - copy
Edaraty may-2013 - copy
 
Actividad de aprendizaje 1.1 Caren Taipe tics_internet_estado del arte
Actividad de aprendizaje 1.1 Caren Taipe tics_internet_estado del arteActividad de aprendizaje 1.1 Caren Taipe tics_internet_estado del arte
Actividad de aprendizaje 1.1 Caren Taipe tics_internet_estado del arte
 
Yokohama.rb monthly meetup #50
Yokohama.rb monthly meetup #50Yokohama.rb monthly meetup #50
Yokohama.rb monthly meetup #50
 
Remarkable womenseries 11september2011a
Remarkable womenseries 11september2011aRemarkable womenseries 11september2011a
Remarkable womenseries 11september2011a
 
Writing
WritingWriting
Writing
 
DR B R Ambedkar
DR B R AmbedkarDR B R Ambedkar
DR B R Ambedkar
 
Childhood obesity-Proposal
Childhood obesity-Proposal Childhood obesity-Proposal
Childhood obesity-Proposal
 

Similar to Responsive Design - ISCTE

Building an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learnedBuilding an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learned
Wojciech Koszek
 
Responsive Design with Backbone
Responsive Design with BackboneResponsive Design with Backbone
Responsive Design with Backbone
Mauvis Ledford
 
Class 4: Introduction to web technology entrepreneurship
Class 4: Introduction to web technology entrepreneurshipClass 4: Introduction to web technology entrepreneurship
Class 4: Introduction to web technology entrepreneurship
allanchao
 

Similar to Responsive Design - ISCTE (20)

Embracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think ResponsivelyEmbracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think Responsively
 
Responsive design and retina displays
Responsive design and retina displaysResponsive design and retina displays
Responsive design and retina displays
 
Measuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb EditionMeasuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb Edition
 
Building an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learnedBuilding an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learned
 
From dev to ops and beyond - getting it done
From dev to ops and beyond - getting it doneFrom dev to ops and beyond - getting it done
From dev to ops and beyond - getting it done
 
A Responsive Design Case Study - What We Did Wrong Building ResponsiveDesign....
A Responsive Design Case Study - What We Did Wrong Building ResponsiveDesign....A Responsive Design Case Study - What We Did Wrong Building ResponsiveDesign....
A Responsive Design Case Study - What We Did Wrong Building ResponsiveDesign....
 
Everything You Know is Not Quite Right Anymore: Rethinking Best Web Practices...
Everything You Know is Not Quite Right Anymore: Rethinking Best Web Practices...Everything You Know is Not Quite Right Anymore: Rethinking Best Web Practices...
Everything You Know is Not Quite Right Anymore: Rethinking Best Web Practices...
 
Everything You Know is Not Quite Right Anymore: Rethinking Best Practices to ...
Everything You Know is Not Quite Right Anymore: Rethinking Best Practices to ...Everything You Know is Not Quite Right Anymore: Rethinking Best Practices to ...
Everything You Know is Not Quite Right Anymore: Rethinking Best Practices to ...
 
For a Social Local and Mobile Drupal
For a Social Local and Mobile DrupalFor a Social Local and Mobile Drupal
For a Social Local and Mobile Drupal
 
From React to React Native
From React to React NativeFrom React to React Native
From React to React Native
 
Designing for Today's Web
Designing for Today's WebDesigning for Today's Web
Designing for Today's Web
 
MIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design WorkflowMIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design Workflow
 
Usability Design: Because it's awesome
Usability Design: Because it's awesomeUsability Design: Because it's awesome
Usability Design: Because it's awesome
 
ODROID Magazine April 2014
ODROID Magazine April 2014ODROID Magazine April 2014
ODROID Magazine April 2014
 
Stc 2015 preparing legacy projects for responsive design - technical issues
Stc 2015   preparing legacy projects for responsive design - technical issuesStc 2015   preparing legacy projects for responsive design - technical issues
Stc 2015 preparing legacy projects for responsive design - technical issues
 
Responsive Design with Backbone
Responsive Design with BackboneResponsive Design with Backbone
Responsive Design with Backbone
 
corporateJavascript
corporateJavascriptcorporateJavascript
corporateJavascript
 
Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7
 
Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7
 
Class 4: Introduction to web technology entrepreneurship
Class 4: Introduction to web technology entrepreneurshipClass 4: Introduction to web technology entrepreneurship
Class 4: Introduction to web technology entrepreneurship
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
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
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
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
 
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...
 
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
 

Responsive Design - ISCTE

  • 1. João Belchior ( Jolidog ) ISCTE Junho 2012
  • 2. João Belchior ( Jolidog ) FULL TIME Freelance
  • 3. music legos reading community João Belchior ( Jolidog ) friends movies design KID Wife dog podcasts sleeping
  • 5. The good Seeds 2000 ... 2010 The control which designers know in the print medium, and often desire An event apart in the web medium, is simply a function of the limitation of the printed page. Ethan Marcotte We should embrace the fact that the web doesn’t have the same constraints, and design for this flexibility. Responsive Webdesign But first, we must “accept the ebb and flow of things.” - John Allsopp, “A Dao of Web Design” http://www.alistapart.com/articles/dao/ http://www.alistapart.com/articles/responsive-web-design/
  • 6. The good RESPONSIVE Design and development that responds to the behavior of the user and the context (screen size, platform and orientation). Join layout, flexible grids, fluid images and CSS3 media queries.
  • 7. The good WHY Mobiles and tablets will outnumber desktops very quickly. More people are connecting to the web ex- clusively on these devices. Avoid a new development phase every time a new device is launched. Mobile users are not on the go. Mobile devices don’t have limited connec- tions.
  • 8. The good how RETHINK YOUR CONTENTS Adopt a mobile first approach, clean up the cluter. GRIDS FIXED http://lessframework.com/ FLUIDS http://www.alistapart.com/articles/responsive-web-design/ IMAGES AND VIDEOS max-width: 100%; http://www.alistapart.com/articles/fluid-images/ MEDIA QUERIES CSS3 Module JAVASCRIPT http://code.google.com/p/css3-mediaqueries-js/ https://github.com/scottjehl/Respond
  • 9. The good FIXED GRIDS EXAMPLES http://hicksdesign.co.uk/ http://www.informationarchitects.jp/ http://thinkvitamin.com/ http://css-tricks.com/ http://fidibiko.com/ shameless plug
  • 10. The good FLEXIBLE EXAMPLE http://www.bostonglobe.com/
  • 11. The good Core is slow... but contrib is fast!
  • 12. Not so ugly Drupal Modules And themes http://drupal.org/project/responsive_images http://drupal.org/project/omega Integrates the Responsive Images library created by Filament Group. http://drupal.org/project/arctica http://drupal.org/project/resp_img http://drupal.org/project/adaptivetheme http://drupal.org/project/media_responsive http://drupal.org/project/zen http://drupal.org/project/cs_adaptive_image http://drupal.org/project/mothership http://drupal.org/project/adaptive_image http://drupal.org/project/borealis http://drupal.org/project/fit_text
  • 13. The good Other Resources RESPONSIVE WEB DESIGN BY ETHAN MAR- COTTE http://www.abookapart.com/products/responsive-web- design HARDBOILED WEB DESIGN BY ANDY CLARKE http://hardboiledwebdesign.com
  • 14. The bad Support the old We still have to support IE7 and IE8 respond.js not always the answer SOLUTION? every browser receives the base styles, every browser receives the rest using media queries and IE7 - 8 get the large screens styles with conditional style sheets. CONS: repeat some code, fractured css styles. IE9 is actually a good browser...
  • 15. The bad When to DELIVER Finding out when to load There is a race condition for the first bigger images page load, you want to query the de- vice size but the dom is loading and images downloading. Browsers are preloading pages before cookies are set. What to do when there is no js SOLUTION? https://github.com/tubalmartin/riloadr CONS: Browsers without js get a <noscript> tag with the smallest image size. Mobile first approach
  • 16. The bad TOOLS and TESTING The tools are not a good fit. All the mockups, wireframes tools are Designers and all involved are still still working on a fixed pixel mindset. learning the process. SOLUTION? Work with what you can, find what fits your workflow, go back, interate, re- peat. Testing is hard, expensive Too many devices and many more are and impossible to complete. comming. SOLUTION? Keep with the standards, don’t code for specific devices, unless there is a very good reason for it.
  • 17. Let’s look at some code...
  • 18. But first some context!
  • 19. Like an AP or Reuters, but with community of locals on the ground instead of staffers. Based on the principles of freedom of speech and freedom of information. Clients all over the world. We don’t keep the copyright and devide our sales 50/50 with our contributors. www.demotix.com
  • 20. Tech team as 4 backend developers. 1.5 million page views One frontend developer. 30.000+ Registered users Very tight deadlines. 6.000+ Active contributors Working on Drupal 6. 1200 images a day from every country recognized by the UN and a few more Almost 1.200.000 nodes
  • 21. Not so ugly The Actual process Wireframes Design Prototype Move into drupal Test Iterate Release
  • 22. Not so ugly ok, ok, the code...
  • 23. Thank you! Questions? João Belchior ( Jolidog ) not the dog in jolidog d.o user/347132 jbelchior@fidibiko.com http:// fidibiko.com www.demotix.com