Archive for the ‘coding’ Category

Developing Large-Scale JavaScript Web Sites – SWDC2010 slides

Being very humbled to be part of the star struck lineup at The Scandinavian Web Developer Conference 2010 I did a talk about Developing Large-Scale JavaScript Web Sites (slides available here as PDF). The presentation is basically a quick high-level overview of some of the main points I’ve encountered after several workshops at different clients [...]

Ajax and REST architecture – Optimera STHLM slides

I did a presentation at Optimera STHLM entitled Faster websites with AJAX and REST architecture. The talk are more on an architecture level, rather than about implementation details. Slides are available as PDF here (this is an english version of what was presented). The demo I did of the Friendly Iframe ad-loading optimization by Tobias [...]

Coders at Work book review

I recently read Coders at Work (published by Apress), here is a quick book review… One way to describe this book, in a somewhat generalized way, is to say “Old people talking about when they were programmers”. The book is a collection of transcript style interviews with some of the most protruding people in the [...]

Get selected value of radio button using YUI 3

Getting the value of a the currently selected radio button may be done in a couple of ways. This is one approach using YUI 3. Here is the HTML: <input type="radio" name="myoptions" value="one"> First <input type="radio" name="myoptions" value="two"> Second <input type="radio" name="myoptions" value="three"> Third Get the currently selected value using only one line of code: [...]

Custom Modules in YUI 3

YUI 3 uses modules to group functionality and to only load what is used. This post describes how to create custom modules. The typical way modules are used is within the use() statement: YUI().use(‘node’, ‘event’, function(Y) { // your stuff here }); In the above example the modules node and event are loaded. Let’s see [...]