Ajax

warning: Creating default object from empty value in /home/kourge/kourge.net/modules/taxonomy/taxonomy.pages.inc on line 34.

Cross-Domain Requests and Prototype

Ever since 3.5, cross-domain HTTP requests have been supported in Firefox. Getting this to work may seem easier and saner than piggy-backing Flash ("simply request a URL of different origin in your XMLHttpRequest!"), but unless you use jQuery, you'll realize that for some reason, cross-domain requests mysteriously fail in your JavaScript framework despite the fact that the server is correctly responding with an appropriate Access-Control-Allow-Origin header.

Spellify: How Not To Use Prototype

About two and a half weeks ago I wrote about jQuery being underutilized. That's nothing compared to Spellify, the absolutely perfect and horrendous example of how grossly unutilized Prototype is. Read on.

Chyrp: How Not To Use jQuery

Chyrp, a recently dugg blogging system, looks like a very good and clean blogging system. I strongly agree with Alex's (the author) philosophy about Ajax: no overajaxifying.

Because we've all seen AJAX abused too many times, Chyrp is made to use it only where it works good. For example, creating a new post uses AJAX, because it's already definite where it's going to end up (the content, with all the other posts [unless you made it a draft, in which case it goes in to "Your Drafts" and tells you so]). However, for creating a page it uses regular old form submitting. This is because pages are meant to be their own section of the website. There's no point in having it fade in to the content or do anything fancy, because you'll end up going to its own page anyway.

Chyrp uses jQuery; a good choice. Inferring from most of the Ajax-pushing code, I can see that Alex has made the JavaScript as clean as possible. There are still some room for improvement, however, as seen in this:

ajaxWrite: No Better

After trying out ajaxWrite because of all the hype, my conclusion is: it's disappointing.
It's not compatible with Internet Explorer. It works only on Firefox 1.5. It's written in XUL.

Prototype's Synchronous Quirk

I was experimenting with Prototype's AJAX call, but with the option asynchronous: false. It was buggy under Internet Explorer, although I never expected anything to work under Internet Explorer anyway.

Either Prototype never finished the XMLHttpRequest, or Prototype didn't call the function it was supposed to after the request.

CNET's Unclear Report

Another misleading story from CNET: Mozilla take wraps off Firefox 1.5.
Let's see:

Firefox 1.5 also supports new Web programming standards, such as AJAX, that enable more graphical capabilities in Web pages.
Mozilla take wraps off Firefox 1.5, CNET

Netvibes: the Portal You Want It To Be

Netvibes is a highly customizable homepage portal.
It's completely Ajax powered, and it has more features than Google's personalized homepage.
Registering is free, and Traditional Chinese is coming.

Syndicate content