Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Web Development for User Experience Designers

ashli
May 30, 2012

Web Development for User Experience Designers

An overview of web development essentials that will help you as a user experience designer to not only understand how to integrate designs with development components, but also to learn some tips on interacting effectively with developers.

ashli

May 30, 2012
Tweet

Other Decks in Design

Transcript

  1. Core Topics Covered Hardware Constraints Web Constraints Mobile Web Introduction

    Terminology HTML5 & CSS3 Redlining Internationalization JavaScript and jQuery
  2. Using this font size, this sentence can fit a screen

    with a resolution like this. But doesn’t mean it will fit a screen size like … Resolutions
  3. “Graceful degradation means that your Web site continues to operate

    even when viewed with less-than-optimal software in which advanced effects don’t work.” Fluid Thinking, by Peter-Paul Koch Web Constraints
  4. But… That doesn’t mean you have to build for the

    oldest of the old. http://www.microsoft.com/typography/web/fonts/comicsns Web Constraints
  5. Document Object Model (DOM) Element <head> Document Root <html> Element

    <body> Element <title> Element <h1> Element <p> Text Node “My name is..” Text Node “Hello, World” Text Node “My Site!”
  6. Classes and IDs Hi, I’m a class! I’m seen multiple

    times in a webpage. Hi, I’m an ID! I’m unique in a webpage! .className #idName
  7. Resource Description Framework in Attributes (RDFa) <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person"> My

    name is <span property="v:name">Bob Smith</span>, but people call me <span property="v:nickname">Smithy</span>. Here is my homepage: <a href="http://www.example.com" rel="v:url">www.example.com</a>. I live in Albuquerque, NM and work as an <span property="v:title">engineer</span> at <span property="v:affiliation">ACME Corp</span>. </div>
  8. Microformats <div class="vcard"> <img class="photo" src="www.example.com/bobsmith.jpg" /> <strong class="fn">Bob Smith</strong>

    <span class="title">Senior editor</span> at <span class="org">ACME Reviews</span> <span class="locality">Desertville</span>, <span class="region">AZ</span> </div>
  9. Microdata <div itemscope itemtype="http://data-vocabulary.org/Person"> My name is <span itemprop="name">Bob Smith</span>

    but people call me <span itemprop="nickname">Smithy</span>. Here is my home page: <a href="http://www.example.com" itemprop="url">www.example.com</a> I live in Albuquerque, NM and work as an <span itemprop="title">engineer</span> at <span itemprop="affiliation">ACME Corp</span>. </div>
  10. Geolocations var x=document.getElementById("demo"); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition);

    } else{x.innerHTML="Geolocation is not supported by this browser.";} } function showPosition(position) { x.innerHTML="Latitude: " + position.coords.latitude + "<br />Longitude: " + position.coords.longitude; }
  11. Pseudoclasses Pattern Meaning E:first-child Matches element E when E is

    the first child of its parent. E:link E:visited Matches element E if E is the source anchor of a hyperlink of which the target is not yet visited (:link) or already visited (:visited). E:active E:hover E:focus Matches E during certain user actions. E:nth-of-type(n) an E element, the n-th sibling of its type
  12. Detect device type In your HTML… <meta name="viewport" content="width=device- width,initial-scale=1,user-scalable=no">

    In your CSS… @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) { /* CSS overrides for mobile here */ }
  13. User Experience Designers must deconstruct designs and interactions in order

    to effectively communicate concepts to Developers.
  14. Tables are SO 2004.* * Tables should be used for

    tabular data, not site layouts. Develop efficiently.
  15. Manipulating the DOM Element <head> Document Root <html> Element <body>

    Element <title> Element <h1> Element <p> Text Node “My name is..” Text Node “Hello, World” Text Node “My Site!”
  16. “[Programmers] struggle with this idea of making computers behave more

    like humans, because they see humans as weak and imperfect computing devices” - Alan Cooper, author of The Inmates are Running the Asylum
  17. Now you can… Effectively share design concepts Mark up your

    designs Speak the Geek Speak (get along with developers) Do it yourself!
  18. Resources W3C Schools: great tutorials for beginners jQuery Mobile: awesome

    resource for web app development CSS-Tricks: resource for cool CSS tricks Lynda.com: nice & informative tutorials Codecademy: eLearning site for development Phonegap: converts web-based apps to native