You are on page 1of 35

THE

JAVASCRIPT
RENAISSANCE
Chris Williams
@voodootikigod

Friday, October 15, 2010

INTRODUCTIONS

JSConf - http://jsconf.us

JSConf Live - http://jsconflive.com

A Minute With - http://aminutewithbrendan.com

But if there is only one link you write down and visit

http://promotejs.com

Friday, October 15, 2010

html, body, div, span, object, iframe, h1, h2, h3, h4, h5,
h6, p, blockquote, pre, abbr, address, cite, code, del, dfn,
em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b,
i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article,
aside, figure, footer, header, hgroup, menu, nav, section,
menu, time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
...

Friday, October 15, 2010

2010 . October 15. mobile device. and every web browser Friday. Second fastest interpreted language Most highly funded language development Multiple highly competitive open source implementations Actually delivers write once... WHAT IF I TOLD YOU. run everywhere Every OS.

2010 . less “some” Friday.more stars. BETTER STILL Battle hardened in some of the most extreme environments Known** by almost every programmer Known**** by most designers Most used functional programming language * Indicates “at some level” . October 15.

October 15. MEET JAVASCRIPT Friends call me: JS * Note: Cannot do two things at once and has a learning disability Friday. 2010 .

October 15. 2010 . IE(5|6) Friday.

October 15. 2010 . INCEPTION That Tender First Moment Friday.

Peter Seibel Friday. I had too little time to actually think through “ some of the consequences of things I was doing. 2010 . Brendan Eich ” Coders At Work . October 15.

2010 . October 15.Friday.

AJAX It Cures All Friday. October 15. 2010 .

2010 .Friday. October 15.

THE GREAT FORKING You Get a Fork. You Get a Fork. 2010 . Everyone Gets A Fork! Friday. October 15.

Friday. October 15. 2010 .

VROOM VROOM http://bit. October 15.ly/bgPbQU Friday. 2010 .

COM Friday. AREWEFASTYET. 2010 . October 15.

2010 . ” Brendan Eich . “ If you give people enough programming-language performance and enough pixel-pushing power I think JavaScript programmers will start using JavaScript at a lower level.Peter Seibel Friday.2009 Coders At Work . October 15.

log(i)          }). i++) {   a[i] = (function() { 10             console. i< 10. October 15. 2010 . QUICK TEST a = []. Error Friday. 0 } a[6](). 6 for (i = 0.

2010 . i++) {   a[i] = (function (v) {            return (function() { 10              console. i< 10. October 15. QUICK TEST a = []. } a[6](). Error Friday. 6 for (i = 0.log(v)            }) 0          })(i).

2010 . PROMOTEJS Crowd sourced organic SEO effort If everyone learns proper JavaScript. October 15. everyone wins Language agnostic Friday.

October 15.Friday. 2010 .

http://nodejs. 2010 . October 15.org Friday.

etc.a single language full stack option Not just for servers also arduino. x10. bots. 2010 . Friday. EVENTED I/O IN JS Everything needs to be non-blocking Everything is handled via callbacks and an event loop V8 and focused on performance JavaScript everywhere . October 15.

// jQuery jQuery.Request('/dragons'. function(data. Friday. // dojo dojo. "json").bind({     url: "/dragons".     load: function(type.get("/dragons". October 15. evt){ /*do something w/ the data */ }     mimetype: "text/json" }). {   onSuccess: function(response) {     /*do something w/ the data */   } }). // Prototype new Ajax. 2010 . textStatus){   /*do something w/ the data */ }.io. data.

listen(8124. {'Content-Type': 'text/json'}).connect(). res) {   res.0. d) {     if (e) {       res.log('Server running at http://127. var http = require('http').     mysql = (new (require('mysql'). function (e.end(JSON. }). Friday.stringify(d)).').     } else {       res.end('ERROR').     }   }). October 15. mysql.0.query('use castle.1").0.   mysql. http.writeHead(200.0.Client)({user: 'root'})). console.createServer(function (req.query('select * from dragons'. mysql.1:8124/'). "127. 2010 .

http://couchdb.basho.apache. 2010 .com Friday. October 15.org http://www.

http://cappuccino.org http://sproutcore. October 15.com Friday. 2010 .

Friday. 2010 . October 15.

2010 . http://www. October 15.com Friday.appcelerator.

2010 . October 15. JS1K All the JavaScript one can fit into 1024 bytes Friday.

2010 .Friday. October 15.

2010 .Friday. October 15.

October 15.com Friday. 2010 . http://promotejs.

COM http://bit. 2010 . AREWEFIRSTYET.ly/9ZdUcJ Friday. October 15.

2010 . We are not rockstars.ly/cE38bO Friday. we are all geeks. we are all friends. Chris Williams http://bit. Let’s be blatantly honest here. October 15. luckily though. we are not ninjas.