Top Banner
@jdsharp HTML5, jQuery & The Open Web Heartland Developers Conference 2010 Omaha, Nebraska Monday, September 13, 2010
83

HDC 2010 Keynote: HTML5, jQuery and the Open Web

May 17, 2015

Download

Documents

Jonathan Sharp

What a wild decade it has been for web developers! The post dot com bubble has seen a widening gap between technology used in the mass market and the leading edge of innovation. The slowed adoption of advancing technology has posed a significant challenge for developers as well as an opportunity for creative innovation. Couple these challenges with new demands for engaging the user and you have an environment ripe for rapid change. With the increased dialog and engagement between browser vendors, developers and users; innovative solutions such as jQuery; and the push for unification around the Open Web, what will unfold over the coming years? Join in the discussion as we explore the impact that HTML 5, jQuery and the Open Web will have on businesses, society and the changing market.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: HDC 2010 Keynote: HTML5, jQuery and the Open Web

@jdsharp

HTML5, jQuery & The Open Web

Heartland Developers Conference 2010Omaha, Nebraska

Monday, September 13, 2010

Page 2: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Who am I?

Monday, September 13, 2010

Page 3: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Started developing for the web in 1996

AOL was a popular browser of choice2400bps modem

Monday, September 13, 2010

Page 4: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Co-author of the jQuery Cookbook

Monday, September 13, 2010

Page 5: HDC 2010 Keynote: HTML5, jQuery and the Open Web

jQuery Team Member

Monday, September 13, 2010

Page 6: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Monday, September 13, 2010

Page 7: HDC 2010 Keynote: HTML5, jQuery and the Open Web

T H E j O U E R Y C O M P A N Y

9 employees, 3 contractors, 8 states5 jQuery Team Members

Co-founded appendTo in October 2009

Monday, September 13, 2010

Page 8: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Cowboy after 5PM M-F & weekends

Monday, September 13, 2010

Page 9: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Ready for a challenge?

Monday, September 13, 2010

Page 10: HDC 2010 Keynote: HTML5, jQuery and the Open Web

we grab hold & hang on...

Flickr @evilerin

Monday, September 13, 2010

Page 11: HDC 2010 Keynote: HTML5, jQuery and the Open Web

...with even more enthusiasmFlickr @ prasoonpics

Monday, September 13, 2010

Page 12: HDC 2010 Keynote: HTML5, jQuery and the Open Web

...we run from it

Flickr @ prasoonpics

Monday, September 13, 2010

Page 13: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Web developers face a constantly changing

challenge...

Monday, September 13, 2010

Page 14: HDC 2010 Keynote: HTML5, jQuery and the Open Web

“It’s just HTML”“It’s just CSS”

“It’s just JavaScript”

Monday, September 13, 2010

Page 15: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Monday, September 13, 2010

Page 16: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4

Monday, September 13, 2010

Page 17: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5

Monday, September 13, 2010

Page 18: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

Monday, September 13, 2010

Page 19: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer!

Monday, September 13, 2010

Page 20: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Monday, September 13, 2010

Page 21: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Monday, September 13, 2010

Page 22: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Net

scap

e N

avig

ator

Monday, September 13, 2010

Page 23: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Net

scap

e N

avig

ator

AOL Browser

Monday, September 13, 2010

Page 24: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Net

scap

e N

avig

ator

Firefox 1, 2, 3, (4)

AOL Browser

Monday, September 13, 2010

Page 25: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Net

scap

e N

avig

ator

Firefox 1, 2, 3, (4)

AOL Browser

Opera 2, 3, 4, 5, 6, 7, 8, 9, 10Monday, September 13, 2010

Page 26: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Internet Explorer 4Internet Explorer 5Internet Explorer 6

no more Internet Explorer! (j/k LOL!)

Internet Explorer 7Internet Explorer 8(Internet Explorer 9)

Net

scap

e N

avig

ator

Firefox 1, 2, 3, (4)

AOL Browser

Opera 2, 3, 4, 5, 6, 7, 8, 9, 10

Mobile?

Monday, September 13, 2010

Page 27: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Can’t forget theone browser to rule them

all...

Monday, September 13, 2010

Page 28: HDC 2010 Keynote: HTML5, jQuery and the Open Web

5 Doctypes3 CSS Versions

Flash, Silverlight, ActiveX, JavaAppletsASP (Classic), ASP.net, Java, PHP, Ruby, Python,

FilemakerSQL Server, Oracle, MySQL, Postgres, CouchDB,

MongoDB, AccessHTTP, FTP, SMTP, SSL, gopher://

Ajax, Comet, SOAP, and the REST.flv, .wmv, .mp3, .ogg, .mov

Monday, September 13, 2010

Page 29: HDC 2010 Keynote: HTML5, jQuery and the Open Web

5 Doctypes3 CSS Versions

Flash, Silverlight, ActiveX, JavaAppletsASP (Classic), ASP.net, Java, PHP, Ruby, Python,

FilemakerSQL Server, Oracle, MySQL, Postgres, CouchDB,

MongoDB, AccessHTTP, FTP, SMTP, SSL, gopher://

Ajax, Comet, SOAP, and the REST.flv, .wmv, .mp3, .ogg, .mov

and this too => ColdFusion

Monday, September 13, 2010

Page 30: HDC 2010 Keynote: HTML5, jQuery and the Open Web

So what is a web developer really?

Monday, September 13, 2010

Page 31: HDC 2010 Keynote: HTML5, jQuery and the Open Web

an integrator & creator

Monday, September 13, 2010

Page 32: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Face two challenges

Monday, September 13, 2010

Page 33: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Face two challenges

integration(technical/does it work)

Monday, September 13, 2010

Page 34: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Face two challenges

integration(technical/does it work)

adoption(skills/experience)

Monday, September 13, 2010

Page 35: HDC 2010 Keynote: HTML5, jQuery and the Open Web

So how does HTML5, jQuery & the Open Web address these?

Monday, September 13, 2010

Page 36: HDC 2010 Keynote: HTML5, jQuery and the Open Web

JavaScript?

Integration or adoption?

Monday, September 13, 2010

Page 37: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Adoption

Monday, September 13, 2010

Page 38: HDC 2010 Keynote: HTML5, jQuery and the Open Web

No one took it seriously

Monday, September 13, 2010

Page 39: HDC 2010 Keynote: HTML5, jQuery and the Open Web

jQuery changed that, opened the door for skills acquisition and lowered the barrier to entry...

Monday, September 13, 2010

Page 40: HDC 2010 Keynote: HTML5, jQuery and the Open Web

It showed what was possible and brought new

life to an established technology

Monday, September 13, 2010

Page 41: HDC 2010 Keynote: HTML5, jQuery and the Open Web

What happened?

Monday, September 13, 2010

Page 42: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Innovation! & Adoption

Monday, September 13, 2010

Page 43: HDC 2010 Keynote: HTML5, jQuery and the Open Web

jQuery !== JavaScript

Monday, September 13, 2010

Page 44: HDC 2010 Keynote: HTML5, jQuery and the Open Web

jQuery is written in JavaScript

Monday, September 13, 2010

Page 45: HDC 2010 Keynote: HTML5, jQuery and the Open Web

var sessions = document.getElementsByClassName(‘sessions’);for ( var i = 1; i < sessions.length; ) { sessions[i].className += ‘ awesome’; i += 2;}

Monday, September 13, 2010

Page 46: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘.sessions:odd’).addClass(‘awesome’)

Monday, September 13, 2010

Page 47: HDC 2010 Keynote: HTML5, jQuery and the Open Web

So what does jQuery do?- Selecting Elements from the DOM- Creating new elements- Modifying attributes & styles- Attaching & responding to events- Ajax requests to the server

Monday, September 13, 2010

Page 48: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘your css selector’)

// Selecting elements

Monday, September 13, 2010

Page 49: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘your css selector’)

$(‘#byId’)$(‘.byClass’)$(‘body’)$(‘ul > li’)// supports CSS 1-3 selectors today

// Selecting elements

Monday, September 13, 2010

Page 50: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘<string of html>’)

// Creating elements

Monday, September 13, 2010

Page 51: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘<string of html>’)

$(‘<h1>My title</h1>’).appendTo(‘body’);

// Creating elements

Monday, September 13, 2010

Page 52: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘a’).attr(‘href’, ‘http://appendto.com’);

// Modifying attributes

Monday, September 13, 2010

Page 53: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘a’).attr(‘href’, ‘http://appendto.com’);

$(‘a’).css(‘color’, ‘red’);$(‘a’).addClass(‘hello’);$(‘a’).removeClass(‘hello’);

// Modifying attributes

Monday, September 13, 2010

Page 54: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$(‘a’).click(function() { return false;});

// Attaching events

Monday, September 13, 2010

Page 55: HDC 2010 Keynote: HTML5, jQuery and the Open Web

$.get(‘/restful/api/echo’, { say: “howdy!” }, function(data) { alert(‘the server said: ‘ + data.said); }, ‘json’);

// Ajax

Monday, September 13, 2010

Page 56: HDC 2010 Keynote: HTML5, jQuery and the Open Web

jQuery made it easy to do cross browser

Monday, September 13, 2010

Page 57: HDC 2010 Keynote: HTML5, jQuery and the Open Web

HTML5?

Integration or adoption?

Monday, September 13, 2010

Page 58: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Adoption

Monday, September 13, 2010

Page 59: HDC 2010 Keynote: HTML5, jQuery and the Open Web

One doctype to rule them all!(consolidation)

<!DOCTYPE html>

Monday, September 13, 2010

Page 60: HDC 2010 Keynote: HTML5, jQuery and the Open Web

It’s semantic

Monday, September 13, 2010

Page 61: HDC 2010 Keynote: HTML5, jQuery and the Open Web

http://joshduck.com/periodic-table.html

Monday, September 13, 2010

Page 62: HDC 2010 Keynote: HTML5, jQuery and the Open Web

// He’s using jQuery$('#elements td').click(function(){ var self = $(this).hasClass('active'); $('.active .info').fadeOut(); $('.active').removeClass('active'); if (!self) { $(this).find('.info').fadeIn(); $(this).addClass('active'); } });$('#elements a').click(function(event){ window.open(event.target.href, 'table'); return false;});

Monday, September 13, 2010

Page 63: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Easier to express the rich web using HTML5

Monday, September 13, 2010

Page 64: HDC 2010 Keynote: HTML5, jQuery and the Open Web

The Open Web?

Monday, September 13, 2010

Page 65: HDC 2010 Keynote: HTML5, jQuery and the Open Web

BothIntegration & Adoption

Monday, September 13, 2010

Page 66: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Integration between layers using open standards

(HTML5, CSS3, JavaScript, etc.)

Integration of shared data(REST services)

Monday, September 13, 2010

Page 67: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Adoption by developers(HTML5, CSS3, JavaScript, etc.)

Monday, September 13, 2010

Page 68: HDC 2010 Keynote: HTML5, jQuery and the Open Web

So what does this all mean?

Monday, September 13, 2010

Page 69: HDC 2010 Keynote: HTML5, jQuery and the Open Web

We have better tools and tested patterns

that are best expressed with HTML5, jQuery and the

Open Web

Monday, September 13, 2010

Page 70: HDC 2010 Keynote: HTML5, jQuery and the Open Web

But my company doesn’t...

Monday, September 13, 2010

Page 71: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Hold it!

Flickr @ eschipul

Monday, September 13, 2010

Page 72: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Let’s think about 2 years from now...

Monday, September 13, 2010

Page 73: HDC 2010 Keynote: HTML5, jQuery and the Open Web

How much experience?

Monday, September 13, 2010

Page 74: HDC 2010 Keynote: HTML5, jQuery and the Open Web

There is a severe shortage of “front-end developers”

Monday, September 13, 2010

Page 75: HDC 2010 Keynote: HTML5, jQuery and the Open Web

There is a severe shortage of multi-discipline

“front-end developers”

Monday, September 13, 2010

Page 76: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Demo timehttp://www.thewildernessdowntown.com/

http://www.dextrose.com/en/projects/aves-engine

http://events.jquery.org

Monday, September 13, 2010

Page 77: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Monday, September 13, 2010

Page 78: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Monday, September 13, 2010

Page 79: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Where should you be headed?

HTML5 (already being implemented)jQuery supports HTML5 today

CSS3 is on the radar & implementationsCanvas / SVG good support

Local & offline storage@font-face downloaded / embedded fonts

WebSockets streaming datajQuery Mobile Q4 2010

Monday, September 13, 2010

Page 80: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Quantum leap?

Browser vendors are “unified”Client side performanceImproved toolsMobile explosionTechnology refresh cycle

Monday, September 13, 2010

Page 81: HDC 2010 Keynote: HTML5, jQuery and the Open Web

Flickr @ martinvirtualtours

...embrace & enjoy the

ride!

Monday, September 13, 2010

Page 82: HDC 2010 Keynote: HTML5, jQuery and the Open Web

What are some of thefront-end challenges you’re

facing today?

Monday, September 13, 2010

Page 83: HDC 2010 Keynote: HTML5, jQuery and the Open Web

@jdsharp

HTML5, jQuery & The Open Web

Heartland Developers Conference 2010Omaha, Nebraska

Monday, September 13, 2010