Wednesday, March 8th, 2006

A (Re)Introduction to JavaScript

Category: Ajax, Articles, JavaScript, Presentation, Programming

Simon Willison has posted the complete slides (low quality) (higher quality via flickr) to a three hour tutorial he gave at ETech on JavaScript. It looks very thorough with over 100 slides, starting out with the basic syntax and types and working up to objects and first-order functions. He also has made his notes available that he used in preparing the presentation, which looks like a great reference for the language in of itself.

(via Harry Fuecks at Sitepoint.)

Posted by Rob Sanheim at 11:38 pm
8 Comments

+++--
3.8 rating from 33 votes

8 Comments »

Comments feed TrackBack URI

[…] A (Re)-Introduction to JavaScript – by Simon Willison via Ajaxian […]

Pingback by A (Re)-Introduction to JavaScript. — March 9, 2006

[…] [Vía Ajaxian] […]

Pingback by Crónica de una vida » Blog Archive » Introducción a Javascript — March 9, 2006

I’ve written a series of ‘learning javascript’ articles on my blog (called javascript-magic-ninja-foo) over the past few months now. I never really got enough interest to release the library but I’ve gotten feedback that some people seem to like the articles. The intro is here and the articles span the last couple months.

-mikepk

Comment by mikepk — March 9, 2006

Hey, that’s a cool way of re-learning javascript and appreciate that you used the Twin Towers (our country landmark) on your slides. Thanks.

Comment by Beh Teik Hooi — March 9, 2006

[…] Слайды Ñ? выÑ?туплениÑ? Simon Willison на ETech. Очень интереÑ?но длÑ? проÑ?мотра и оценки Ñ?воих знаний в JavaScript. http://ajaxian.com/archives/a-reintroduction-to-javascript […]

Pingback by LT People » Blog Archive » A (Re)Introduction to JavaScript — March 10, 2006

A nice JS tutorial.

Comment by linb — March 10, 2006

I think the memory leak example the author cites is not actually a memory leak:


function addHandler() {
 var el = document.getElementById('el');
 el.onclick = function() {
  this.style.backgroundColor = 'red';
 }
}

The anonymous function does not reference el, but the ‘this’ keyword which is context dependent. When the onclick event is fired, the HTML node ‘el’ would be considered ‘this’, but it is only implicit – not an explicit link.

Had the example been formed as the following, then yes, I can see a potential memory leak.

function addHandler() {
 var el = document.getElementById('el');
 el.onclick = function() {
  el.style.backgroundColor = 'red';
 }
}

Or am I missing something?

Comment by Frank — March 12, 2006

Ftp Software Free Download

Like what you have to say. Your blog makes good since to me.

Trackback by Ftp Software Free Download — November 8, 2006

Leave a comment

You must be logged in to post a comment.