Deep Dive into html 5

Get Started. It's Free
or sign up with your email address
Rocket clouds
Deep Dive into html 5 by Mind Map: Deep Dive into html 5

1. Presenter

1.1. Dustin Tauer

1.2. Dev 12 years

1.3. Instructor 8 years

1.4. codepen.io/dtauer

1.5. @dtauer

1.6. speakerdeck.com/dtauer

1.7. [email protected]

2. Html 5 high level

2.1. http://html5test.com/

2.2. is html4

2.3. not some magic bullet, it basically allows more javascript easier

3. HTML5 Features & Examples

3.1. <!DOCTYPE html>

3.2. New tags

3.2.1. <header> <nav> article, section, aside, footer

3.2.1.1. basically replaces divs with ids

3.3. Custom Data Attribute

3.3.1. "data-"

3.3.1.1. after the hyphen is up to you, it can be anything

3.3.2. <div data-value="100"></div>

3.4. Form Fields

3.4.1. types

3.4.1.1. email

3.4.1.2. date

3.4.1.3. range

3.4.1.4. search

3.4.1.5. tel

3.4.1.6. color

3.4.2. attributes

3.4.2.1. 'required'

3.4.2.2. min/max

3.4.2.3. placeholder

3.4.2.4. pattern (regex) enforcement

3.5. Storage

3.5.1. Local storage

3.5.1.1. client side database

3.5.1.1.1. key/valueu (JSON)

3.5.1.2. Stores in users browser

3.5.1.2.1. 5MB per domain

3.5.1.3. Data persists

3.5.1.3.1. after the browser is shutdown or session is closed

3.5.1.4. window.localStorage.setItem('key', someValue);

3.5.2. Session storage

3.5.2.1. just like local storage but data expires once browser window is closed

3.5.2.1.1. still client side

3.5.3. Indexed DB

3.5.3.1. WebSQL is deprecated

3.5.3.2. Object Store

3.5.3.3. window.indexedDB.open('Database Name');

3.5.4. Application Cache (offline apps)

3.5.4.1. offline first

3.5.4.2. cache manifest (*.appcache => file)

3.5.4.2.1. text file that lists every asset/resource needed to run offline

3.5.4.3. mimetype: text/cache-manifest

3.5.4.4. 5MB

3.5.4.4.1. more as a chrome app

3.6. Performance

3.6.1. webworkers (multi-threading)

3.6.1.1. worker = new Worker("Thread.js");

3.6.1.1.1. Thread.js

3.6.1.2. worker.onmessage = function(event)...

3.6.1.3. worker.postMessage('data');

3.7. Audio/Video

3.7.1. <video controls width="500">

3.7.1.1. have fallback list

3.7.1.2. <source src="video.mp4" type="video/mp4" />

3.7.1.3. <source src="video.ogg" type="video/ogg" />

3.7.1.4. <embed flash....>

3.8. Graphics & 3D

3.8.1. SVG

3.8.2. Canvas element

3.8.3. WebGL

3.9. Many More

3.9.1. File Access

3.9.2. Sockets

3.9.3. Connectivity

3.9.4. Device Access

3.9.4.1. geo-location

3.9.4.2. camera/microphone

3.9.4.3. contacts/events

3.9.4.4. orientationi

3.9.4.5. notifications

3.9.5. CSS3

3.9.5.1. lots of stuff

4. The Real World

4.1. Do Detect Feature Support

4.1.1. http://caniuse.com

4.1.2. http://html5please.com

4.1.3. modernizer

4.1.3.1. http://modernizr.com

4.1.3.2. class conditions in the head

4.1.3.3. check for geolocation and load different js

4.1.4. Shiv or Shim

4.1.4.1. same thing

5. Resources

5.1. http://html5readiness.com

5.2. http://alistapart.com

5.3. http://helloracer.com/webgl

5.4. http://flashvhtml.com

5.5. all html5 needs

5.5.1. http://w3schools.com/html/html5_intro.asp

5.5.2. http://html5rocks.com/en/

5.6. Need animation

5.6.1. http://greensock.com

5.7. PhoneGap

5.7.1. http://www.phonegap.com

5.8. http://todomvc.com