Tuesday, July 11th, 2006

Go forth and API

Category: Programming, XmlHttpRequest

Backend scripts aren’t the only way to access the wealth of valuable web services out there. Anyone that’s done any playing around with Ajax can see the possibilities of combining the two – accessing the APIs directly from your client-side application. In this brief tutorial from ThinkVitamin.com, they follow this course and give you a Read the rest…

Posted by Chris Cornutt at 8:28 am

3.6 rating from 27 votes

Thursday, June 8th, 2006

The Ajax Transport Method(s)

Category: Ajax, Programming, XmlHttpRequest

The IBM developerWorks site has this new tutorial posted today, a look a the various “Ajax transport methods” – XMLHttpRequest, IFrames, and script tags – what they are, how to use them, and which is best for what situation. Discover three Ajax data transport mechanisms (XMLHttp, script tags, and frames or iframes) and their relative Read the rest…

Posted by Chris Cornutt at 7:06 am

3.7 rating from 46 votes

Tuesday, June 6th, 2006

IFrame + Script Tags = Portable Comet

Category: Comet, Examples, IE, Office, XmlHttpRequest

In a recent post, I explain the difficulties of Comet (Streaming/Push) in IE. IE makes it difficult for two reasons: (a) IE’s XMLHttpRequest component doesn’t tell you anything about the response until the connection has closed – even if you try polling it instead of relying on onReadyStateChange, you’ll still get an empty string (Try Read the rest…

Posted by Michael Mahemoff at 4:33 pm

3.9 rating from 63 votes

Tuesday, April 11th, 2006

AjaxWorld Magazine: JSON versus XML

Category: Ajax, XmlHttpRequest

XML has been a solid standby in the online world for a while now, representing the true flexibility and structure that works behind the scenes of several of our favorite Web 2.0 applications. There’s a new kid on the block that’s vying for the top spot as a communication method between applications – JSON – Read the rest…

Posted by Chris Cornutt at 7:00 am

3.7 rating from 59 votes

Friday, April 7th, 2006

The W3C’s XMLHttpRequest Object Working Draft

Category: Ajax, XmlHttpRequest

According to this new post on the Ajax Magazine site, the W3C (World Wide Web Consortium) is working up their official draft for the XMLHttpRequest object. The specification aims to provide more interoperability between the different XMLHttpRequest implementations and avoiding to have plateform dependant code. The document give a specification proposal for the XMLHttpRequest object, Read the rest…

Posted by Chris Cornutt at 8:49 am

3.8 rating from 50 votes

Monday, April 3rd, 2006

Reusing XMLHttpRequest Without abort()

Category: IE, JavaScript, Programming, XmlHttpRequest

Last week, we mentioned Eric Pascarello’s “XMLHttpRequest Reuse Dilemma” article. Eric explained that to reuse an XMLHttpRequest object in IE, you must call abort(). In a follow-up, Pavan Keely says you actually don’t need the abort() call. Instead, just make sure the open() call happens before onreadystatechange(), rather than afterwards (as in Eric’s example). The Read the rest…

Posted by Michael Mahemoff at 3:03 pm

3.7 rating from 50 votes

Friday, March 31st, 2006

The XMLHttpRequest Reuse Dilemma

Category: Programming, XmlHttpRequest

If you’ve ever been programming along, working with your Ajax connections and wondered why you have to make a new one each time, you’re not alone. Eric Pascarello asked himself the same question and decided to do something out it. He’s written up a simple test Ajax app that just pulls in XML data from Read the rest…

Posted by Chris Cornutt at 8:07 am

4.2 rating from 34 votes

Tuesday, February 28th, 2006

XML Responses and AJAX

Category: Programming, XmlHttpRequest

DevArticles has posted a new tutorial to follow their previous item working with Ajax messages and responses with help from an ActiveX object. This time, they focus on the responseXML return value from the Ajax call. If the response is XML, the responseXML represents the value derived via DOM object parsing. The reader should review Read the rest…

Posted by Chris Cornutt at 7:43 am

3.6 rating from 30 votes

Monday, February 20th, 2006

DiggLicious.com – a Blend of Digg.com and Del.icio.us

Category: Ajax, XmlHttpRequest

The new site, Digglicious.com, combines two of the most widely used/visited sites out there these days – Digg.com and Del.icio.us – to create a live feed showing a cross-reference for items coming from both sites, showing the diggs and the number of times tagged on del.icio.us together. digg.com is a social news site and del.icio.us Read the rest…

Posted by Chris Cornutt at 12:25 pm

3.4 rating from 42 votes

Thursday, February 16th, 2006

Mastering Ajax with IBM developerWorks

Category: Examples, Programming, XmlHttpRequest

The IBM developerWorks site has posted several parts of a series related to working with Ajax, building developers up from knowing nothing about the technology to some of the more advanced features it offers. There are three parts to the series that have been posted: Part 1 is an introduction to Ajax – what it Read the rest…

Posted by Chris Cornutt at 7:50 am

3.9 rating from 37 votes

Tuesday, February 14th, 2006

Debunking Strong Misconceptions About Cross-Domain Ajax Security Issues

Category: Ajax, Programming, XmlHttpRequest

On the Technoblog, there’s a new post that seeks to debunk misconceptions about some of the issues that have come up surrounding the use of cross-domain Ajax connections. Quite a number of people have been discussing possible cross-domain Ajax security issues recently. These are smart people that generally know their technologies very well, but for Read the rest…

Posted by Chris Cornutt at 3:12 pm

3.6 rating from 37 votes

Bending HTTP until it breaks

Category: Ajax, XmlHttpRequest

Kris Wehner brings up a good point in this latest blog entry today – that Ajax inherently can cause more trouble to the server than it might be worth. I’ve said before that I’ve been watching the AJAX fad with keen interest over the last few months, waiting for the inherent problems to start eclipsing Read the rest…

Posted by Chris Cornutt at 2:50 pm

3.5 rating from 22 votes

Wednesday, February 8th, 2006

Putting XMLHttpRequest to the Test

Category: Ajax, Browsers, Testing, XmlHttpRequest

Anyone who’s gotten into working with Ajax and been “under the hood” at all knows that, overall, the XMLHttpRequest object works the same over all browsers. There are, however, a few obvious places that it does differ from platform to pltaform. Mark Nottingham noticed them and wondered just how far down these differences go. He’s Read the rest…

Posted by Chris Cornutt at 2:54 pm

4 rating from 47 votes

Tuesday, February 7th, 2006

Eric Pascarello Interviewed about Ajax Security

Category: Ajax, Security, XmlHttpRequest

On SearchWebServices.com, there’s an interview with Eric Pascarello, co-author of the book “Ajax in Action” concerning some of the security issues that surround Ajax and how to address them. In this interview he talks about Ajax security issues, the need for server-side validation and the Ajax worm released last October on MySpace.com They start at Read the rest…

Posted by Chris Cornutt at 4:16 pm
1 Comment

3.4 rating from 38 votes

Monday, February 6th, 2006

Oracle Technology Network: Developing Smart Web UIs with Ajax, JSF, and ADF Faces

Category: Ajax, Java, Programming, XmlHttpRequest

The Oracle Technology Center has a lengthy new article today that walks you through the procedure of creating a “Smart Web UI” with the combination of Ajax, JSF, and ADF Faces technologies. They start off with the typical “what is Ajax” information, catching up those server-side developers that haven’t worked much with it. The target Read the rest…

Posted by Chris Cornutt at 8:55 am
Comment here

3.2 rating from 30 votes

Thursday, February 2nd, 2006

An Ajax Login System (with Help from PHP)

Category: Ajax, JavaScript, PHP, Programming, XmlHttpRequest

Evolt.org has posted this tutorial on the creation of a login system by combining the powers of PHP and Ajax. The idea is to keep the user on the same page until they are fully authenticated. As it stands now, most pages have to resubmit the data to a handler where it might be rejected Read the rest…

Posted by Chris Cornutt at 10:54 am

3.8 rating from 145 votes