Posts Tagged “javascript”
Node.js
Dav Glass just gave me a crash course in Node.js. He blew my mind. More to come.
Stoyan’s Performance Advent Calendar And Me
Stoyan Stefanov decided to release a post a day during the advent season in an effort to bolster our budding performance community. He was kind enough to let me participate, not once but twice! My first contribution was called, JavaScript Loading Strategies and my second, which is out today is called, Extreme Performance Optimization. I [...]
Graph representations of YUI Easing Methods
First, for those who didn’t get the news already, I’m now working at Yahoo! as a Front-end Engineer on the Yahoo! Mail team. As a result, I’m presently down in Sunnyvale, California for a week of orientation and training. In a quirk of perfect timing, my visit coincides with the first ever YUICONF, the first [...]
Introducing 140 char (or less) JavaScript programs
Today I got tired of seeing yet another onclick=”obtrusivejavascript()” in HTML so I wrote a little program in protest. What I wanted to do though was to post the program to Twitter which has a 140 character limit so it was mildly challenging. Here it is: Fully expanded: var elems = document.getElementsByTagName(“*”); for (var i [...]
A Nuance of Preventing Default
One of the most common operations when assigning event handlers is to prevent the default action the event normally triggers. In the case of an anchor for example, the click event of an anchor triggers the default behaviour of following the URI specified in the href attribute. So the browser’s default action when clicking the [...]