Faster JavaScript
I have been working on my EventEmitter class for about a year so far. I have rewritten it roughly every three months to put all of the techniques I have learned into practice. Now I have finished version 4 and... full post →
I have been working on my EventEmitter class for about a year so far. I have rewritten it roughly every three months to put all of the techniques I have learned into practice. Now I have finished version 4 and... full post →
I have just uploaded the first version of xtz. xtz, shorthand for cross timezone, is a script that converts times on your page to the users local time. So you could replace something like ”27 January, 2000 10:00:00 CST” with... full post →
Ever wanted to overlay elements? You can create great effects and produce a really engaging site by simply making divs overlap slightly. But sometimes making elements lay on top of each other is harder than you would think. One of... full post →
It may be a bold statement, but I believe that modularity is the way forward. By that I mean writing modular code will coax us into writing reusable and higher quality classes and functions. This feeling is present when writing... full post →
I gave in to AMD. I am currently using RequireJS on a project which uses quite a few different scripts including MooTools, Kalendae (which is amazing by the way) and the Facebook SDK. By using AMD I have separated the... full post →
I probably could have named this post something like “Writing clean, validating and portable JavaScript”, but that would be no where near as catchy. The problem with “great” is it means different things to different people. I am going to... full post →
There seems to be a lot of uncertainty about how we should use JavaScript libraries recently. The main debate is whether we should still use huge 100kb frameworks, such as MooTools and jQuery, or swap to tiny micro libraries that... full post →