Elsewhere monthlies for April 2008
Steve Souders brings us a useful tool to check page performance. Create an HTML page with a few assets and see how quickly (or slowly) it loads.
Now if I could only find the time to run lots of tests...
You're Fat and I Hate You
James Edwards repeats a few arguments against JavaScript libraries that are never far from my mind. In this case, his annoyance seems to derive from script authors who don't know how their own scripts work; and that's something I wouldn't like, either.
Nonetheless the whole To Use or Not To Use discussion remains extremely complex. I used to speak against libraries at every opportunity; nowadays I'm not so sure any more. But while reading James's piece I again feel myself sliding back to a strict No Libraries approach.
The final word hasn't yet been spoken.
Libraries | Permalink
Two and a half year after my failed addEvent recoding contest, filosofo posted an ultra-short function that mends the this problem.
Also, he explains why my contest failed: my requirements were too strict. Filosofo used a trick that precludes a removeEvent function from working, because he never needs one. Truth to tell, I rarely need one either, though it's absolutely indispensable in my recent events test pages.
All in all this is interesting to read, for all its brevity.
(Via Scott Andrew.)
IE, Standards/W3C | Permalink
Excellent news: an HTML 5 Working Draft contains a proposal for custom attributes to hold script data. Basically, you can do whatever you like as long as the custom attribute name starts with data-.
(Via Anne van Kesteren)
Brendan Eich gives an overview of early JavaScript history.
History, JavaScript | Permalink
Elsewhere monthlies for April 2008
Steve Souders brings us a useful tool to check page performance. Create an HTML page with a few assets and see how quickly (or slowly) it loads.
Now if I could only find the time to run lots of tests...
You're Fat and I Hate You
James Edwards repeats a few arguments against JavaScript libraries that are never far from my mind. In this case, his annoyance seems to derive from script authors who don't know how their own scripts work; and that's something I wouldn't like, either.
Nonetheless the whole To Use or Not To Use discussion remains extremely complex. I used to speak against libraries at every opportunity; nowadays I'm not so sure any more. But while reading James's piece I again feel myself sliding back to a strict No Libraries approach.
The final word hasn't yet been spoken.
Libraries | Permal
ink
Two and a half year after my failed addEvent recoding contest, filosofo posted an ultra-short function that mends the this problem.
Also, he explains why my contest failed: my requirements were too strict. Filosofo used a trick that precludes a removeEvent function from working, because he never needs one. Truth to tell, I rarely need one either, though it's absolutely indispensable in my recent events test pages.
All in all this is interesting to read, for all its brevity.
(Via Scott Andrew.)
IE, Standards/W3C | Permalink
Excellent news: an HTML 5 Working Draft contains a proposal for custom attributes to hold script data. Basically, you can do whatever you like as long as the custom attribute name starts with data-.
(Via Anne van Kesteren)
Brendan Eich gives an overview of early JavaScript history.
History, JavaScript | Permalink