The right way to add AJAX support to your site Written on May 22, 2011, by danbrown.
It seems that every website now has at least some AJAX component to it. Whether it is an updating Twitter feed, checking if a username is available or a full-blown web app, they all have one thing in common – A connection back to a server via an external API. It might return be a [...]
The evils of premature optimisation Written on March 23, 2011, by danbrown.
Image via Jens Christoffersen on Flickr It is always tempting to try and speed up the bit of code you just wrote. Sometimes it is tempting to try and speed up code you haven’t even started yet by over-thinking the algorithm. Unless your codebase is functionally complete or the code is so slow and/or resource [...]
jQuery, confusing sample code and elegance Written on March 13, 2011, by danbrown.
Image via Andrew Dupont on flickr Have you ever found a cool snippet of code that does almost what you need, tried to tweak it but it is formatted in such a way that you can’t work out what the hell it is doing? I’ve noticed this so often recently I thought I’d try and [...]
XMLHttpRequest Misuse on Page Load with AJAX Written on February 27, 2011, by danbrown.
Introduction XMLHttpRequest is a JavaScript function that allows the core dynamic data part of AJAX (Asynchronous JavaScript And XML) to work. It lets JavaScript running in a web browser call a URL on the same server and receive data back again to process. Either normal HTML, XML or any format such as JSON can be [...]
#include “blog” Written on February 6, 2011, by danbrown.
An introduction to the blog
