Stuart on March 3rd, 2010

Over the next several articles I’ll be covering the “Basic Ajax usage with X”, for example “Basic Ajax usage with jQuery”.

The idea is to take the latest stable version of the chosen JavaScript Framework (for example jQuery) and examine what’s required to achieve the most basic Ajax calls.

I’ll be looking at a few things here, notably the ease of use and the minimum required footprint (in regards to download size).

Note that I will not necessary by using Ajax in the traditional sense of the word (i.e. with XML) as the intention of these articles is to strip everything back to the absolute basics.

I’m not 100% certain about all the frameworks I’ll cover now, but I will most certainly be covering jQuery, MooTools, Prototype, dojo, YUI and ExtJS. If I have the time, I may look at some of the newer ones as well.

This post is a living post (I’ll revisit and link up the articles).

Cheers guys!


Stuart on December 5th, 2008

Hey folks,

I’m in the process of putting together some ideas for our upcoming JavaScript Coding Contests.

Several years ago, I ran some coding contests on a PHP website (PHP Programming Contests)… they were great fun at the time, and ran for a couple of years.

Since JavaScript seems to be the cool language now, I thought – why not run some contests with JavaScript?

I still need to find some suitable sponsors to offer prizes (let me know if you are interested).

Also, if you have any ideas for future contests, let me know.

I expect to have something ready very soon, so don’t wonder too far away!


Tags: ,

Stuart on November 23rd, 2008

Scott Guthrie, from Microsoft, has wrote about the new intellisense support for the jQuery library. jQuery support is now found in both Visual Studio 2008 and Visual Web Developer 2008 Express (free).

There are a few steps involved in getting this new support – just the usually steps you would expect from Microsoft though, nothing major.

jQuery also announced recently that Nokia would soon have jQuery running in their adopted mobile phone browser (WebKit using the Web Run-Time [ link no longer active] ).

Tags: ,

Stuart on October 13th, 2008

Javascript, as you may know, has not changed very much since it first appeared back in the 90′s. Over the past couple of years, however, many people have been pushing to give the language an overhaul. It could take another couple of years before these new additions are in place in all major browsers (who knows), but things WILL change – and hopefully for the better. The next version of JavaScript should be JavaScript 2.

JavaScript started off pretty popular, it kicked Vbscript out of the game (not long after Microsoft introduced it). But after a while it also gained a lot of critics (all languages do!). One reason (in my view) is because many people coded poorly in JavaScript, and spat out horrible looking code. Another is because the Browser DOM API which JavaScript was used with was poor (it is still not great, but work is being done here too). JavaScript was the only real option available (and it still is). However, over the past few years, many serious programmers introduced new ways of using JavaScript – ways which are much more pretty, and powerful. In fact, these new ways have made it clearer what was actually missing from the language to start with, what was already there but overlooked by many, and what would make it better for the future.

The founder of JavaScript, Brendan Eich, still appears to be one of the major forces in the future of the Language. You can keep up-to-date by reading his blog over at

Anyway, on to the main purposed of this post. I found an excellent Advanced JavaScript presentation which John Resig has made public (he actually presented this at a recent Web 2.0 expo, in New York). In my opinion, this presentation is first class.

The presentation aims to teach you how to understand the following code from the Prototype Library:

// The .bind method from Prototype.js 
Function.prototype.bind = function(){ 
  var fn = this, args =, object = args.shift(); 
  return function(){ 
    return fn.apply(object, 

Have fun, I did!

Tags: , , , , ,

Stuart on October 12th, 2008

Adobe AIR introduces a whole new subject when talking about Ajax. I’ve decided to create an new website dedicated to developing Adobe AIR applications, by way of Air Tutorials. It’ll cover both HTML with JavScript and Flex (mxml and ActionScript). Snippet manager is the first sample application available, which was built using Flex. There will be a range of tutorials showing how this application was built.

At the time of writing this, the site has very little content. But I am working on it. Please send in your ideas. You can find out more at:

The site will introduce a balanced opinion of Adobe AIR, it is not affiliated with Adobe in any form.

Update: The first tutorial is available – it covers the installation and configuration of the Air Sdk.

Tags: , , , , ,