home mail me! RSS (2.0) feed

Archive for AJAX

Finding and traversing DOM elements in JavaScript

Do you have to furnish a lot of HTML elements from JavaScript, such as for formatting or inserting special effects? Well, then you need to know the performance – or lack thereof – of finding and traversing DOM elements. And the performance hit of using Microsoft’s browser. This post tries to clarify the performance hits [...]

Is your language hot or not?

If one would measure popularity by number of hits on Google, these are the five most popular computer languages: PHP Java C Flash Perl A graph of Google hits, using the query +lang +programming, for some of the most common languages follows. NOTE 1: please inform me if your favorite language is omitted. NOTE 2: [...]

Prototype arrays – improving upon Ajax?

There is this popular wrapper for common JavaScript idioms, called Prototype. I will not explain it – since that is done elsewhere – nor praise it. What I will do is to look critically at one part of this library, the array extensions. This library is used by most fancy AJAX libraries popping up, whether [...]

AJAX and IE caching problems

I spent hours today trying to make IE 6.0 less intelligent. I.e., to get it not to cache the AJAX responses. The first attempts, to include [hilite,html4strict] [/hilite] in the head portion of the HTML sent back to the client was laughed at by IE 6. So, I use a search engine called Google to [...]

AJAX using one language

AJAX is a bunch of cryptic JavaScript snippets on the client side together with some advanced web services, written in another, and more powerful, language. Right? Not necessarily. I here give a brief comparison of three ways to create AJAX applications with only one language, running on both client and server. The three unilinguistic approaches [...]