Wednesday, February 1st, 2006

IBM developerWorks: User annotations in Ajax

Category: Ajax, Browsers, JavaScript, Programming, XmlHttpRequest

On the IBM developerWorks site today, there’s a new tutorial talking about the addition of a comment/sticky-note system to any site. You’ll need to register to get into the article, but it’s a free registration. The ability to add notes and comments to your Web site can be a powerful and attractive feature for users. Read the rest…

Posted by Chris Cornutt at 4:06 pm

3.6 rating from 31 votes

Mike Chambers: Encapsulating Ajax XMLHTTPRequest Calls within JavaScript classes

Category: Ajax, JavaScript, XmlHttpRequest

Mike Chambers has posted a tutorial with code on his blog today concerning combining a set of Ajax (XMLHttpRequest) calls into Javascript classes. The guys over at Fold posted an article on how to use multiple XMLHTTPRequest (XHR) calls within a single page. This is something that I have had to tackle in my own Read the rest…

Posted by Chris Cornutt at 1:49 pm
Comment here

3.8 rating from 32 votes

Wednesday, January 25th, 2006

Foldblog: Handling Multiple XHRs

Category: XmlHttpRequest

Apparently, Fold (not there yet) is to be a new Web 2.0 start page. In any event, the Fold Development Blog, by Axel Wolf, is explaining the goings-on in their Ruby-On-Rails development effort, and a recent post explains how they deal with multiple XMLHttpRequest calls. Remember this is a kind of portal, so the technique Read the rest…

Posted by Michael Mahemoff at 10:29 am

3.9 rating from 25 votes

Monday, December 5th, 2005

Dynodes: Cross-Domain JS Demo

Category: JavaScript, Programming, XmlHttpRequest

Another cross-domain scripting effort: Dynodes is a demo of cross-domain scripting using the On-Demand Javascript trick. It’s “Dynodes” because the script tag is created via DOM manipulation. var remoteScript=document.createElement(‘script’); remoteScript.id = ‘rs’; remoteScript.setAttribute(‘type’,’text/javascript’); remoteScript.setAttribute(‘src’,’http://www.speculations.com/bar_js.php’); var hd=document.getElementsByTagName(‘head’)[0]; // Gotcha: set attribute and src BEFORE appending, or Safari won’t work hd.appendChild(remoteScript); The script tag is repeatedly created Read the rest…

Posted by Michael Mahemoff at 3:46 pm
1 Comment

3.6 rating from 20 votes

Wednesday, June 22nd, 2005

Anonymous Classes in JavaScript and the XMLHttpRequest API

Category: Articles, JavaScript, XmlHttpRequest

Todd Ditchendorf has written up his thoughts on JavaScript, and API usage. He discusses the XmlHttpRequest API, and some of its ugliness, and gets into the way popular wrappers of the API work a la: var client = new BetterHttpClientAPI(); client.addListener({ id: 123, responseReceived: function (evt) { …. }, otherHelperMethod: function() { …. } }); Read the rest…

Posted by Dion Almaer at 9:35 am

3.3 rating from 12 votes

Monday, June 6th, 2005

MacRumorsLive shares new Ajax architecture

Category: Ajax, Editorial, XmlHttpRequest

MacRumorsLive.com will be using an Ajax “live ticker” page for people to follow the news during the keynote address from Steve Jobs at the Apple Worldwide Developer Conference, where he is expected to announce the switch to Intel Chips. Users are known to keep refreshing on events such as these, and now there is no Read the rest…

Posted by Dion Almaer at 11:22 am

3.6 rating from 12 votes

Thursday, June 2nd, 2005

Ajax Debugging Tool

Category: Ajax, JavaScript, Utility, XmlHttpRequest

Julien Couvreur has released an improved version of his Ajax Debugging Tool. His latest GreaseMonkey script adds debugging features to the tracing script that he wrote previously.

Posted by Dion Almaer at 9:18 am
Comment here

3.3 rating from 8 votes

Wednesday, June 1st, 2005

libXmlRequest: Simple Ajax JavaScript Wrapper

Category: Ajax, JavaScript, Library, XmlHttpRequest

Stephen Cote has released a very simple wrapper around XHR, called libXmlRequest. The XmlRequest library contains a two public request functions, getXml and postXml, that may be used to send synchronous and asynchronous XML Http requests from Internet Explorer and Mozilla. Example var oXml = getXml(“sample_data.xml”); var aNodes = selectNodes(oXml, “/sample-data-root/the-data”, oXml.documentElement); Visit the libXmlRequest Read the rest…

Posted by Dion Almaer at 10:03 am
Comment here

3.4 rating from 12 votes

Tuesday, May 17th, 2005

Example: Dojo Grid Widget

Category: Ajax, Dojo, Examples, Toolkit, XmlHttpRequest

Scott Miles took the latest Dojo Toolkit, and built a new Grid Widget: It’s not much of a dataset, but the grid has sorting and in-place editing. The data is retrieved asynchronously from a PHP/MySql backend. I have an internal version which transparently writes edits back to the DB (which is kind of snazzy). Good Read the rest…

Posted by Dion Almaer at 10:39 am

3.3 rating from 93 votes

Monday, May 16th, 2005

Showcase: JavaRSS.com

Category: Ajax, Java, Showcase, XmlHttpRequest

JavaRSS.com is an RSS aggregator, and has added a new “Ajax” option that a user can choose in settings. Their article discusses how they added support for Ajax to their site. By default, if you mouseover an RSS entry title, a tooltip pops up showing you a summary of the post, and the data was Read the rest…

Posted by Dion Almaer at 1:19 pm
1 Comment

3.3 rating from 6 votes

Tuesday, May 3rd, 2005

Ajax Engine: Defining Abstraction Levels

Category: .NET, Ajax, Java, JavaScript, Ruby, XmlHttpRequest

Currently, Ben and I get asked: Ok, I am sold on this Ajax thing. So, how do I do it? There is no great answer out there. The problem is that currently Ajax is an architecture, not a technology!. This means that to help people out we point them too something like: .NET: Check out Read the rest…

Posted by Dion Almaer at 10:36 am

3.1 rating from 8 votes

Friday, April 22nd, 2005

Confluence gives us nice Ajax usage

Category: Ajax, Java, XmlHttpRequest

Atlassian has added a few new features to their new versions of Confluence, a quality Wiki. One item to show is their component which lists all pages in a nice tree. The Ajax approach now means that ALL of the data doesn’t have to get loaded at once (which could grow to be very large). Read the rest…

Posted by Dion Almaer at 1:35 am

4.1 rating from 7 votes

Monday, March 14th, 2005

Orbjson Ruby Intro Article

Category: Ajax, HTML, JavaScript, Ruby, XmlHttpRequest

James Britt has written an article titled Getting started with Orbjson (PDF). Orbjson is a JSON-RPC object request broker for JavaScript/Ruby RPC interaction. Communication between client and server is done using JSON, the JavaScript object notation Orbjson takes JSON-RPC requests, locates the correpsonding server-side object, deserializes the requrst, and invokes the method call. Orbjson then Read the rest…

Posted by Dion Almaer at 7:06 pm

4.1 rating from 17 votes