Wednesday, March 8th, 2006
A (Re)Introduction to JavaScript
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.)













I really thought I knew a lot about javascript until I started messing around with the AJAX stuff. Now I am stuck reeducating myself completely from the ground up. People are really revolutionizing the way it’s used and it’s so much more powerful it seems. The language is really coming into it’s own.
SlowYourRoll.com
[...] A (Re)-Introduction to JavaScript – by Simon Willison via Ajaxian [...]
[...] [Vía Ajaxian] [...]
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
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.
[...] Слайды Ñ? выÑ?туплениÑ? Simon Willison на ETech. Очень интереÑ?но длÑ? проÑ?мотра и оценки Ñ?воих знаний в JavaScript. http://ajaxian.com/archives/a-reintroduction-to-javascript [...]
A nice JS tutorial.
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?
Ftp Software Free Download
Like what you have to say. Your blog makes good since to me.