Archive for June, 2006

JSON vs XML performance (update 2)

Tuesday, June 20th, 2006

Thanks to Artur who pointed out an issue with my JSON/XML test page. From that advice I was also able to eliminate some odd behavior in the performance times. So I did the test again and had some small changes, but essentially the same outcome: JSON is only slightly faster (if at all) […]

JSON for Dummies part 3 - Faster than XML? maybe not

Monday, June 19th, 2006

So parts one and two covered the basics of using JSON, but what about this JSON/XML battle? In this post we’ll take a peak at how JSON can be used as a replacement for XML in some cases, and even pit the two side by side in a performance test.

Update to these numbers here
The foundation […]

JSON for Dummies part 2

Tuesday, June 13th, 2006

JSON for Dummies Part 1 covered the basics of how JSON can be used to return literal javascript to an AJAX client for local execution, thereby simplifying the local code required to process the AJAX responses. Part two will expand upon that and cover how functions can be returned and used locally.

I realized that I […]

JSON for Dummies (like me) Part 1?

Monday, June 12th, 2006

JavaScript Object Notation (JSON) is making the rounds on the RSS feeds and I finally got some time to sit down and figure out what it is all about. There is certainly no lack of an official definition for what JSON “is”, but I thought I would take a stab at writing down how […]

Move over Lightbox, the Prototype Window class just moved in

Wednesday, June 7th, 2006

Another day, another cool tool for the Prototype/Scriptaculous libraries. A few months ago, the Lightbox method hit the RSS feeds, and now somebody wrote a special Prototype.js class that creates multiple types of “windows” on your pages. They can be movable, draggable, and customized to the extent of your CSS prowess.

The code required […]