Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Responsive Design - ISCTE


Published on

Published in: Technology, Design
  • Be the first to comment

  • Be the first to like this

Responsive Design - ISCTE

  1. 1. João Belchior ( Jolidog )ISCTE Junho 2012
  2. 2. João Belchior ( Jolidog )FULL TIME Freelance
  3. 3. music legosreading community João Belchior ( Jolidog )friends movies design KID Wife dog podcasts sleeping
  4. 4. SO...
  5. 5. The goodSeeds 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”
  6. 6. The goodRESPONSIVE 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. 7. The goodWHY 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. 8. The goodhow RETHINK YOUR CONTENTS Adopt a mobile first approach, clean up the cluter. GRIDS FIXED FLUIDS IMAGES AND VIDEOS max-width: 100%; MEDIA QUERIES CSS3 Module JAVASCRIPT
  9. 9. The goodFIXED GRIDS EXAMPLES shameless plug
  10. 10. The goodFLEXIBLE EXAMPLE
  11. 11. The goodCore is slow... but contrib is fast!
  12. 12. Not so uglyDrupal Modules And themes the Responsive Images librarycreated by Filament Group.
  14. 14. The badSupport 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. 15. The badWhen 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? CONS: Browsers without js get a <noscript> tag with the smallest image size. Mobile first approach
  16. 16. The badTOOLS 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. 17. Let’s look at some code...
  18. 18. But first some context!
  19. 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
  20. 20. Tech team as 4 backend developers. 1.5 million page viewsOne frontend developer. 30.000+ Registered usersVery tight deadlines. 6.000+ Active contributorsWorking on Drupal 6. 1200 images a day from every country recognized by the UN and a few more Almost 1.200.000 nodes
  21. 21. Not so uglyThe Actual process Wireframes Design Prototype Move into drupal Test Iterate Release
  22. 22. Not so uglyok, ok, the code...
  23. 23. Thank you! Questions? João Belchior ( Jolidog )not the dog in jolidog d.o user/347132 http://