KEMBAR78
HTML5 for Web Designers | PDF
hi
These are the slides I used for a
three hour presentation/workshop
about HTML5 and other modern
techniques that can be used to
build web apps.
LET’S CONNECT


• http://www.linkedin.com/in/jorishens
• @goodbytes on Twitter
• http://www.goodbytes.be
THE 10 YEAR
TECH CYCLE
1960s
HIPPIES & MAINFRAMES
source: oldhippie.com
1970s
MINI COMPUTING
source: computerhistory.org
1980s
PERSONAL COMPUTING
image credit: couldn’t verify
1990s
DESKTOP INTERNET COMPUTING
1991: HTML
1994: HTML 2
1996: CSS1 + Javascript
1997: HTML4
1998: CSS 2
2000: XHTML 1
DESKTOPS
 800px * 600px
WEB DESIGN
  IN 1997
A.K.A. MY FIRST WEBSITE
LIFE WAS GREAT!
  no spam, no facebook, ICQ
  and 800px of safe canvas!
<TABLES>
<font color=”red”>
        yuk
      </font>
CSS !
2002: Tableless Web Design




  <TABLES>
2005




AJAX
1 - click on link


         2 - AJAX call to
                like.php
server
         3 - php updates
              the db and
                responds

           4 - js catches
           response and
              updates UI
NO PAGE
REFRESH
WEB DESIGN
UNTIL ... 2007
http://www.flickr.com/photos/30713600@N00/4143454588/
NEW
POSSIBILITIES
MOBILE ACCESS
GPS+COMPASS
ACCELEROMETER
 + GYROSCOPE
ACCELEROMETER
 + GYROSCOPE
CAMERA
CAMERA
OFFLINE DATA
GOING NATIVE?
ADVANTAGES
OF GOING NATIVE
★ APP STORE REVENUE
★ APP STORE REVENUE
★ HARDWARE ACCESS
DISADVANTAGES
OF GOING NATIVE
APP APPROVAL
TAKES FOREVER
MORE COMPLEX
HTML5
AND RELATED AWESOMENESS
READY IN
2022
2022
= “require at least two
 browsers to completely
pass [HTML 5 test suites]”
JUNE 2011
  CSS2.1 is now a
W3C recommendation
  (after 13 years)
NEW SEMANTIC
    TAGS
<!DOCTYPE html>
source:(h*p://www.smashingmagazine.com/2009/07/16/html5>and>the>future>of>the>web/
OLD BROWSERS?
http://www.impressivewebs.com/difference-block-inline-css/
PROBLEM
I don’t know <header>, <footer>, ...
         I’ll just make it inline
SOLUTION
http://meyerweb.com/eric/tools/css/reset/
IE6, 7, 8


OLD BROWSERS?
GEOLOCATION?
OFFLINE DATA?
FORMS
<VIDEO>

                   Flash
<video width="400" height="360" src="vid.mp4">
<AUDIO>
<CANVAS>
http://www.cuttherope.ie/
http://chrome.angrybirds.com
http://chalk.37signals.com
<CANVAS>+<VIDEO>
     = lolcatz




http://html5demos.com/video-canvas
SPEECH?




http://www.goodbytes.be/presentations/pica/speech.html
SPEECH?




http://www.goodbytes.be/presentations/pica/speech.html
DRAG&DROP


http://html5demos.com/drag
WEB SOCKETS
“REAL TIME”
    vs
 “POLLING”
GOT CANDY?

   http://www.flickr.com/photos/53552950@N00/2379078919
★ GOOGLE DOCS
★ GOOGLE DOCS
★ LIVE CHAT
★ GOOGLE DOCS
★ LIVE CHAT
★ GAMES
★ GOOGLE DOCS
★ LIVE CHAT
★ GAMES
★ ...
CSS3
AND OTHER HIPSTER TECHNIQUES
PHOTOSHOP
PHOTOSHOP
SPEC NOT FINAL YET


        -moz-
       -webkit-
          -o-
         -ms-
DO IT FUTURE PROOF
OR GO PREFIX FREE
border-image
SHAPES
h*p://www.css3shapes.com/
SHAPES




http://nicolasgallagher.com/pure-css-social-media-icons/
h*p://desandro.com/arCcles/opera>logo>css/
h*p://cordobo.com/1630>internet>explorer>pure>css>logo/
h*p://graphicpeel.com/cssiosicons
h*p://www.lensco.be/files/clocks/
CSS
ANIMATIONS
CSS ANIMATIONS




   http://leaverou.github.com/animatable/
CSS
GRADIENTS
CSS GRADIENTS
                 Complex :(




               Generators :)
http://gradients.glrzad.com/
http://www.westciv.com/tools/gradients/
TYPOGRAPHY
@font-face
• fontsquirrel.com, google fonts, typekit, ...
ICON FONTS
.icon:before
{content:'e048';}




  http://somerandomdude.com/work/iconic/
SVG
SVG
• h*p://webtypographyforthelonely.com/
SVG
• Scalable Vector Graphics
• not new
• resolution-independant
• XML
• http://www.w3schools.com/svg/default.asp
 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
   <circle cx="100" cy="50" r="40" stroke="black"
   stroke-width="2" fill="red" />
 </svg>
SVG((Scalable(Vector(Graphics)




h*p://www.drawasCckman.com/   h*p://www.w3schools.com/svg/default.asp
EXAMPLES
http://pattern.dk/sun/
http://pattern.dk/sun/
http://pattern.dk/sun/
LET’S BUILD
A SIMPLE APP
GET LOCATION
GET TOILETS
ANIMATE LOGO
GET CLOSEST RESULT
SHOW RESULT
RESTART ON LOGO CLICK
ALREADY DONE
ALREADY DONE
APPLE SPECIFIC
  SETTINGS
APP ICONS
STARTUP
 SCREEN
STARTUP
 SCREEN
GO FULLSCREEN
HTML/CSS/JS
   ONLY
WORKS ON
*ANY* DEVICE
GEOLOCATION
if (navigator.geolocation) {
  navigator.geolocation.getCurrentPosition(success, error);
} else {
  //error
}

function success(position)
{
//position.coords.latitude
//position.coords.longitude
}
OPEN DATA API
CSS3 TRANSITIONS +
   ANIMATIONS
FRAMEWORKS
FRAMEWORKS
FRAMEWORKS
FRAMEWORKS
FRAMEWORKS
WHERE DO I GO
 FROM HERE?
EXPERIMENT
Chrome Experiments
• h*p://www.chromeexperiments.com/arcadefire/
http://ro.me
Q&A
HTML5

• new semantic tags
• JavaScript API’s
• already here
• more than just html
CSS3
• less Photoshop
• scalable
• lightweight (mobile!)
• design in the browser
• watch out for vendor prefixes
SOURCES

•   http://bit.ly/5BqHuj

•   http://www.pakzilla.com/2012/01/01/a-reference-to-html-5-tags/

•   http://designshack.co.uk/articles/css/10-amazing-examples-of-innovative-css3-animation

•   http://www.webdesignerwall.com/trends/47-amazing-css3-animation-demos/

•   http://www.1stwebdesigner.com/development/50-awesome-css3-animations/
SOURCES / CSS3

•   http://www.css3.info

•   http://line25.com/tutorials/create-a-letterpress-effect-with-css-text-shadow

•   http://www.smashingmagazine.com/2009/06/15/take-your-design-to-the-next-level-with-
    css3/

•   http://designshack.co.uk/articles/css/10-amazing-examples-of-innovative-css3-animation

•   http://www.webdesignerwall.com/trends/47-amazing-css3-animation-demos/

•   http://www.1stwebdesigner.com/development/50-awesome-css3-animations/
SOURCES /
         MOBILE APPS

•   http://taylor.fausak.me/2012/03/27/ios-web-app-icons-and-startup-images/

•   http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/
    SafariWebContent/Introduction/Introduction.html#//apple_ref/doc/uid/TP40002051-CH1-
    SW1

•   http://cheeaun.com/blog/2012/03/how-i-built-hacker-news-mobile-web-app

•   http://lanyrd.com/2011/bd11/sccwh/

•   http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/

HTML5 for Web Designers