Author Archives:

Simulating Latency with Greasemonkey

Some specific things I wanted to be able to simulate with AJAX Proxy, with reference to Julien’s approach

Continue Reading »

AJAX Proxy 0.2

Version 0.2 of of AJAX Proxy is out – available here. This one actually passes on the POST body (duh). The basic instructions on setting up Python are the same, as described earlier. Configuration of the script has now changed – at the end of the script you would modify; [code lang=”python”] if name ==…

Continue Reading »

AJAX Proxy 0.1

If you’ve read any of the posts I’ve been dumping here, you’ll know I’m critical of the way AJAX is frequently being used on the grounds that the network / server (and their inherant instability) aren’t being considered. Specifically have the feeling alot of AJAX development is happening @localhost so these problems simply aren’t showing…

Continue Reading »

Vindication!

Looks like I’m not just a grumpy dwarf battling against the flow. Someone else uncovering problems with AJAX’s asynchrony here. In 99% of cases this worked fine, until I suddenly discovered nodes appearing under the wrong parent. What had happened was that the server was under more load, there were more nodes in one particular…

Continue Reading »

AJAX: The Starbucks Factor

Via Neil Kandalgaonkar ran into Starbucks Does Not Use Two-Phase Commit which is one of the essay’s referenced in Joel Spolsky’s new book The Best Software Writing I: Selected and Introduced by Joel Spolsky. When you place your order the cashier marks a coffee cup with your order and places it into the queue. The…

Continue Reading »

AJAX: telling it like it is…

Marcus Baker, author of the excellent PHP unit testing toolkit Simple Test lays it on the line: Listen kids, AJAX is not cool; Marcus is goes straight for the jugular, playing the “it’s the network stupid” card and puts it in far more succinct terms than I’ve been cautiously trying to do in some of…

Continue Reading »

Javascript static variables

Something I find strange about Javascript; [code lang=”javascript”] function Foo(){}; Foo.prototype = { bar: [], // or ‘new Array()’ or ‘new Object()’ set: function(val) { this.bar.push(val); }, displayBar: function() { alert (this.bar); } } var foo = new Foo(); foo.set(1); foo.set(2); // Alert displays 1,2 foo.displayBar(); // Destoy the object foo = null; // Create…

Continue Reading »

Async Requests over an Unreliable Network

If you need a professional responsive website that will help your business grow, then Bigfoot Media is the website design company you need. Based in Greenville SC, they are offer web design greenville sc for businesses across South Carolina and the nation. The biggest void in the AJAX discussion, IMO, is how network and server…

Continue Reading »

AJAX: what’s a session?

As I mentioned here, my concern about the buzz surrounding AJAX is not what’s being said but what isn’t being said. One question I’ve got nagging me, which I’ve yet to see serious discussion of, is the that of AJAX and sessions / state. I guess either no one is thinking about it or it’s…

Continue Reading »

Synchronous Requests == BAD

Following on from earlier and the first AJAX mistake: Assuming the network is reliable – don’t use synchronous XMLHttpRequests. Period.

Continue Reading »