html5 & learning : astd presentation 062411

190
HTML5 [email protected] Twitter.com/NickFloro Understanding How it Will Improve Our Learning

Upload: nick-floro

Post on 09-May-2015

1.429 views

Category:

Technology


1 download

DESCRIPTION

Get an overview of how HTML5 will change how we use the web for app and content development. We cover 5 technologies you can start to use today, show lots of example and view dozens of resources to start playing and learning about HTML5 today.

TRANSCRIPT

Page 1: HTML5 & Learning : ASTD Presentation 062411

HTML5

[email protected]/NickFloro

Understanding

How it Will Improve Our Learning

Page 2: HTML5 & Learning : ASTD Presentation 062411

What can it do?

Page 3: HTML5 & Learning : ASTD Presentation 062411
Page 4: HTML5 & Learning : ASTD Presentation 062411
Page 5: HTML5 & Learning : ASTD Presentation 062411
Page 6: HTML5 & Learning : ASTD Presentation 062411
Page 7: HTML5 & Learning : ASTD Presentation 062411
Page 8: HTML5 & Learning : ASTD Presentation 062411

HTML5 = JS + CSS3

Page 9: HTML5 & Learning : ASTD Presentation 062411
Page 10: HTML5 & Learning : ASTD Presentation 062411

SEMANTICS

CSS3

3D, GRAPHICS & EFFECTS

DEVICE ACCESS

PERFORMANCE & INTEGRATION

MULTIMEDIA

OFFLINE & STORAGECONNECTIVITY

Page 11: HTML5 & Learning : ASTD Presentation 062411
Page 12: HTML5 & Learning : ASTD Presentation 062411
Page 13: HTML5 & Learning : ASTD Presentation 062411
Page 14: HTML5 & Learning : ASTD Presentation 062411
Page 15: HTML5 & Learning : ASTD Presentation 062411
Page 16: HTML5 & Learning : ASTD Presentation 062411

The Web Platform is Accelerating

2002WebKit

Page 17: HTML5 & Learning : ASTD Presentation 062411
Page 18: HTML5 & Learning : ASTD Presentation 062411

Next Generation Mobile Using Webkit

RIM BlackberryiOSAndroid

Page 19: HTML5 & Learning : ASTD Presentation 062411
Page 20: HTML5 & Learning : ASTD Presentation 062411
Page 21: HTML5 & Learning : ASTD Presentation 062411
Page 22: HTML5 & Learning : ASTD Presentation 062411
Page 23: HTML5 & Learning : ASTD Presentation 062411

Graphics Location Storage Speed

Solving Developer Challenges

Page 24: HTML5 & Learning : ASTD Presentation 062411

Which browserʼs support HTML 5?

Chrome Safari Firefox Opera

Page 25: HTML5 & Learning : ASTD Presentation 062411

Chrome Safari Firefox Opera

Which browserʼs support HTML 5?

Internet Explorer 9BETA

Page 26: HTML5 & Learning : ASTD Presentation 062411

HTML 5in the works...

Page 27: HTML5 & Learning : ASTD Presentation 062411

Advanced Core Language

Page 28: HTML5 & Learning : ASTD Presentation 062411
Page 29: HTML5 & Learning : ASTD Presentation 062411

HTML 4

Page 30: HTML5 & Learning : ASTD Presentation 062411

HTML 5 - Introduces New Elements

Page 31: HTML5 & Learning : ASTD Presentation 062411

<body> <header>...</header> <nav>...</nav> <article> <section> ... </section> </article> <aside>...</aside> <footer>...</footer></body>

The div elements can be replaced with the new elements: header, nav, section, article, aside, and footer.

Page 32: HTML5 & Learning : ASTD Presentation 062411

Improve Web Apps

Page 33: HTML5 & Learning : ASTD Presentation 062411
Page 34: HTML5 & Learning : ASTD Presentation 062411
Page 35: HTML5 & Learning : ASTD Presentation 062411
Page 36: HTML5 & Learning : ASTD Presentation 062411

Flow chart

Compatibility

Page 37: HTML5 & Learning : ASTD Presentation 062411

Flow chart

Replaces:all prior versions of html

Page 38: HTML5 & Learning : ASTD Presentation 062411

Flow chart

Replaces:XHTML 1.0 & Dom2htmlwith new

APIʼs

Page 39: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Design Principles

Page 40: HTML5 & Learning : ASTD Presentation 062411

1. Support existing content

Page 41: HTML5 & Learning : ASTD Presentation 062411

2. Insure Interoperability

Page 42: HTML5 & Learning : ASTD Presentation 062411

W3c de facto Standard

Page 43: HTML5 & Learning : ASTD Presentation 062411
Page 44: HTML5 & Learning : ASTD Presentation 062411

3. Define UA Behavior(User Agent)

Page 45: HTML5 & Learning : ASTD Presentation 062411

4. Improve Handling of Errors

Page 46: HTML5 & Learning : ASTD Presentation 062411
Page 47: HTML5 & Learning : ASTD Presentation 062411

5. Evolve not recreate what we already have

Page 48: HTML5 & Learning : ASTD Presentation 062411

Build on real world use and test cases

Page 49: HTML5 & Learning : ASTD Presentation 062411

Drawing on the Web

Flash

Page 50: HTML5 & Learning : ASTD Presentation 062411

Canvas & SVG

Page 51: HTML5 & Learning : ASTD Presentation 062411
Page 52: HTML5 & Learning : ASTD Presentation 062411
Page 53: HTML5 & Learning : ASTD Presentation 062411
Page 54: HTML5 & Learning : ASTD Presentation 062411

Scalable Vector Graphics | SVG

Page 55: HTML5 & Learning : ASTD Presentation 062411

Vector Graphics Scale & Look Great!

Page 56: HTML5 & Learning : ASTD Presentation 062411
Page 57: HTML5 & Learning : ASTD Presentation 062411
Page 59: HTML5 & Learning : ASTD Presentation 062411
Page 60: HTML5 & Learning : ASTD Presentation 062411

SVG -> High level• Import/Export• Easy UIs• Interactive• Medium Animation• Tree of objects

Canvas -> Low level• No mouse interaction• High Animation• JS Centric• More Bookkeeping• Pixels

When Canvas or SVG?

Page 61: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Support

canvas / svg

video

geolocation

app cache

database

workers

Page 62: HTML5 & Learning : ASTD Presentation 062411

Quake II - Browser Only

Page 63: HTML5 & Learning : ASTD Presentation 062411

Quake II - Browser Only

Page 64: HTML5 & Learning : ASTD Presentation 062411

Quake II - Browser Only

WebGL 3D graphics

HTML 5 CanvasHTML 5 Audio

HTML 5 Web Sockets

HTML 5 Local Storage

Page 65: HTML5 & Learning : ASTD Presentation 062411

Video

Page 66: HTML5 & Learning : ASTD Presentation 062411

One video to play everywhere.

Page 67: HTML5 & Learning : ASTD Presentation 062411

Capture to delivery and beyondThe Production Process

Authoring DeliveryVideo / Audio Assets Compression

Page 68: HTML5 & Learning : ASTD Presentation 062411

Standards Are Everywhere

MPEG-1/

MPEG-4 audio

MPEG-2RedBook JPEGAC-3FM DVNTSC/

PAL

Page 69: HTML5 & Learning : ASTD Presentation 062411

• Original DV 60 sec 266mb

• MPEG-4 = 450k to 7.8mb

• Flash 8+ = 450k to 7.8mb

• 60 minutes of Video = 16gb

• 60 minutes compressed = 480mb

MPEG-4: The MPEG for the InternetThe standard for the digital media revolution

Page 70: HTML5 & Learning : ASTD Presentation 062411

PixelsGuidelines for Compression

DV 720 x 486

720P 1280 x 720

HD 1080i 1920 x 1080

Page 71: HTML5 & Learning : ASTD Presentation 062411

Content PlacementGuidelines for Compression

320 x 240

Page 72: HTML5 & Learning : ASTD Presentation 062411

Selecting a SizeGuidelines for Compression

320 x 240

512 x 384

640 x 480

Page 73: HTML5 & Learning : ASTD Presentation 062411
Page 74: HTML5 & Learning : ASTD Presentation 062411
Page 75: HTML5 & Learning : ASTD Presentation 062411
Page 76: HTML5 & Learning : ASTD Presentation 062411
Page 77: HTML5 & Learning : ASTD Presentation 062411
Page 78: HTML5 & Learning : ASTD Presentation 062411

Frame RateGuidelines for Compression

29.97 fps

Page 79: HTML5 & Learning : ASTD Presentation 062411

Frame RateGuidelines for Compression

29.97 fps 15 fps

Page 80: HTML5 & Learning : ASTD Presentation 062411

Tips & Hints

Key Frames: 4 x fps

Guidelines for Compression

Page 81: HTML5 & Learning : ASTD Presentation 062411

Guidelines for Compression2 Pass Variable Bit Rate

Page 82: HTML5 & Learning : ASTD Presentation 062411

Guidelines for Compression2 Pass Variable Bit Rate

Page 83: HTML5 & Learning : ASTD Presentation 062411

Tips & Hints• Frame Rate: 15 fps– Key Frames: 4 x fps

• Data Rate Target 800-1200 kbs

• 2 Pass Variable Bit Rate

• QuickTime: Sorenson 3 / H264

• Flash: Spark / On2 Pro / H264

• Audio: 16bit / 22khz / Mono / 64 kbs

Guidelines for Compression

WebM

Page 85: HTML5 & Learning : ASTD Presentation 062411

Easy Access to VideoFlip $100 to $200

Page 86: HTML5 & Learning : ASTD Presentation 062411

Smart Phones

Page 87: HTML5 & Learning : ASTD Presentation 062411
Page 88: HTML5 & Learning : ASTD Presentation 062411
Page 89: HTML5 & Learning : ASTD Presentation 062411

Video Compression

Flash

Page 90: HTML5 & Learning : ASTD Presentation 062411

<!-- flash movie & bullets --> <div id="flashholder"> <div id="flash"> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 'width', '320', 'height', '310', 'src', '../FLV_Player', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'FLV_Player', 'bgcolor', '#ffffff', 'name', 'FLV_Player', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', '../FLV_Player', 'salign', '' ); //end AC code } </script> <noscript>

Page 91: HTML5 & Learning : ASTD Presentation 062411

// HTML 5 makes<video> as easyas <img>// HTML 5 makes <video> as easy as <img>

Page 92: HTML5 & Learning : ASTD Presentation 062411

HTML 5 OptionsVideo Compression

Flash H264MPEG 4

Ogg Theora WebM

Page 93: HTML5 & Learning : ASTD Presentation 062411

<video src="http://example.com/myMovie.ogg" controls>Your browser does not support the video element.</video>

Embedding Video

Page 94: HTML5 & Learning : ASTD Presentation 062411

<video controls><source src="foo.ogg" type="video/ogg"><source src="foo.mp4">Your browser does not support the video element.</video>

var v = document.getElementsByTagName("video")[0];v.play();

Embedding Video

Page 96: HTML5 & Learning : ASTD Presentation 062411
Page 97: HTML5 & Learning : ASTD Presentation 062411
Page 98: HTML5 & Learning : ASTD Presentation 062411
Page 99: HTML5 & Learning : ASTD Presentation 062411
Page 100: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Support

canvas / svg

video

geolocation

app cache

database

workers

Page 101: HTML5 & Learning : ASTD Presentation 062411

geolocation

Page 102: HTML5 & Learning : ASTD Presentation 062411
Page 103: HTML5 & Learning : ASTD Presentation 062411
Page 104: HTML5 & Learning : ASTD Presentation 062411

// the geolocation apibrings browser basedlocation to your apps

Page 105: HTML5 & Learning : ASTD Presentation 062411
Page 106: HTML5 & Learning : ASTD Presentation 062411

A C

R

O

P Twww.seeknspell.com

Page 107: HTML5 & Learning : ASTD Presentation 062411

You are getting hotter.

Page 108: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Support

canvas / svg

video

geolocation

app cache

database

workers

iPhone

Page 109: HTML5 & Learning : ASTD Presentation 062411

app cache& database

Page 110: HTML5 & Learning : ASTD Presentation 062411
Page 111: HTML5 & Learning : ASTD Presentation 062411

// database and app cache store user data and app resources locally

Page 112: HTML5 & Learning : ASTD Presentation 062411
Page 113: HTML5 & Learning : ASTD Presentation 062411

App CacheList resources that you want to take offline

CACHE MANIFEST/static/stickies.html/media/deleteButton.png/media/deleteButtonPressed.png/css/stickies.css/js/stickies.js<body manifest="./cache.manifest"></body>

Page 114: HTML5 & Learning : ASTD Presentation 062411

Databasevar db = window.openDatabase("NoteTest", "1.0","Example DB",200000);function saveMe(id, text, timestamp, left, top, zIndex) {db.transaction(function (tx) {tx.executeSql("INSERT INTO WebKitStickyNotes "+ "(id, note, timestamp, left, top, zindex) "+ "VALUES (?, ?, ?, ?, ?, ?)",[id, text, timestamp, left, top, zIndex]);});}

Page 115: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Support

canvas / svg

video

geolocation

app cache

database

workers

iPhone

mobile

mobile

Page 116: HTML5 & Learning : ASTD Presentation 062411

web workers

Page 117: HTML5 & Learning : ASTD Presentation 062411

HTML 5More Power

Page 118: HTML5 & Learning : ASTD Presentation 062411

// web workers defines an API for runningbackground scripts

Page 120: HTML5 & Learning : ASTD Presentation 062411

HTML 5 Support

canvas / svg

video

geolocation

app cache

database

workers

iPhone

mobile

mobile

Page 121: HTML5 & Learning : ASTD Presentation 062411

Test on Windows 7, Vista• Internet Explorer 6, 7, 8, 9• Firefox 3, 3.5, 3.6, 4.0 beta• Opera 10

Test on OS X− Safari 4− Firefox 3.5, 3.6, 4.0 beta− Opera 10

Test Mobile− iOS− Android− Blackberry, Windows 7 Phone

Test for Usability

Page 122: HTML5 & Learning : ASTD Presentation 062411
Page 123: HTML5 & Learning : ASTD Presentation 062411

Web App

Page 124: HTML5 & Learning : ASTD Presentation 062411

AppWeb

Page 125: HTML5 & Learning : ASTD Presentation 062411
Page 126: HTML5 & Learning : ASTD Presentation 062411
Page 127: HTML5 & Learning : ASTD Presentation 062411
Page 128: HTML5 & Learning : ASTD Presentation 062411
Page 129: HTML5 & Learning : ASTD Presentation 062411
Page 130: HTML5 & Learning : ASTD Presentation 062411
Page 131: HTML5 & Learning : ASTD Presentation 062411
Page 132: HTML5 & Learning : ASTD Presentation 062411
Page 133: HTML5 & Learning : ASTD Presentation 062411

Forms

CSS 3

Effects/Transitions

Page 134: HTML5 & Learning : ASTD Presentation 062411
Page 135: HTML5 & Learning : ASTD Presentation 062411
Page 136: HTML5 & Learning : ASTD Presentation 062411
Page 137: HTML5 & Learning : ASTD Presentation 062411
Page 138: HTML5 & Learning : ASTD Presentation 062411
Page 139: HTML5 & Learning : ASTD Presentation 062411
Page 140: HTML5 & Learning : ASTD Presentation 062411
Page 141: HTML5 & Learning : ASTD Presentation 062411
Page 142: HTML5 & Learning : ASTD Presentation 062411
Page 143: HTML5 & Learning : ASTD Presentation 062411
Page 144: HTML5 & Learning : ASTD Presentation 062411

Android Xoom1280 x 720

HTC Incredible800 x 480

Selecting a SizePixels & Aspect Ratio

iPad1024 x 768

iPhone 4960 x

iPhone480 x 320

Droid854 x 480

Page 145: HTML5 & Learning : ASTD Presentation 062411

tumultco.com

Page 146: HTML5 & Learning : ASTD Presentation 062411

animatable.com

Page 147: HTML5 & Learning : ASTD Presentation 062411

Design for Flexibility

Page 148: HTML5 & Learning : ASTD Presentation 062411

Capture & Analyze

Page 149: HTML5 & Learning : ASTD Presentation 062411

Using CoverFlow view and Preview of Graphics

Page 150: HTML5 & Learning : ASTD Presentation 062411

Design Scrapbook: iPhoto | LittleSnapper

Page 151: HTML5 & Learning : ASTD Presentation 062411
Page 152: HTML5 & Learning : ASTD Presentation 062411
Page 153: HTML5 & Learning : ASTD Presentation 062411

NickFloro.com

Page 154: HTML5 & Learning : ASTD Presentation 062411

Resources

Page 155: HTML5 & Learning : ASTD Presentation 062411

html5rocks.com

Page 156: HTML5 & Learning : ASTD Presentation 062411

html5doctor.com

Page 157: HTML5 & Learning : ASTD Presentation 062411

www.thinkvitamin.com

Page 158: HTML5 & Learning : ASTD Presentation 062411

http://www.caniuse.com/

Page 159: HTML5 & Learning : ASTD Presentation 062411
Page 161: HTML5 & Learning : ASTD Presentation 062411

html5demos.com

Page 162: HTML5 & Learning : ASTD Presentation 062411

html5gallery.com

Page 163: HTML5 & Learning : ASTD Presentation 062411

www.sencha.com

Page 164: HTML5 & Learning : ASTD Presentation 062411

www.css3.info

Page 165: HTML5 & Learning : ASTD Presentation 062411

www.uxmag.com

Page 166: HTML5 & Learning : ASTD Presentation 062411

DiveintoHTML5.org

Page 167: HTML5 & Learning : ASTD Presentation 062411

Introducing HTML5 (Voices That Matter)

Bruce Lawson

Page 168: HTML5 & Learning : ASTD Presentation 062411

CSS3 for Web DesignersDan Cederholm | A Book Apart

Page 170: HTML5 & Learning : ASTD Presentation 062411

www.kesiev.com/akihabara/

Page 171: HTML5 & Learning : ASTD Presentation 062411

Go Play, Experiment, Dream

AppleiOS

Page 172: HTML5 & Learning : ASTD Presentation 062411

Search Flickr.com for iPad UI

Page 173: HTML5 & Learning : ASTD Presentation 062411

www.smashingmagazine.com

Page 175: HTML5 & Learning : ASTD Presentation 062411

Screencasts 101 Mini-Session

www.jingproject.com

Page 176: HTML5 & Learning : ASTD Presentation 062411

www.twitter.com

Page 177: HTML5 & Learning : ASTD Presentation 062411

www.lrnchat.com

Page 178: HTML5 & Learning : ASTD Presentation 062411

www.panma.org

Page 179: HTML5 & Learning : ASTD Presentation 062411

Nancy Durate Garr Reynolds

Page 180: HTML5 & Learning : ASTD Presentation 062411

http://www.flickr.com/photos/fraserspeirs/sets/72157623224262135/

Page 182: HTML5 & Learning : ASTD Presentation 062411
Page 183: HTML5 & Learning : ASTD Presentation 062411
Page 184: HTML5 & Learning : ASTD Presentation 062411
Page 185: HTML5 & Learning : ASTD Presentation 062411
Page 186: HTML5 & Learning : ASTD Presentation 062411
Page 188: HTML5 & Learning : ASTD Presentation 062411

www.launchcycle.com

Page 189: HTML5 & Learning : ASTD Presentation 062411

Pictures

Video

Blog

Audio

3D Models

Multiplayer Environment

ePortfolios

Course Management System

Micro-blogging

Explore

Page 190: HTML5 & Learning : ASTD Presentation 062411

Thank You

Nick Florosealworks interactive studios

[email protected]

twitter.com/NickFloro

Download the Presentation at:http://www.slideshare.net/nickfloro