Alternate Ajax Techniques, Part 1

On WebReference.com, there's part one of their latest series, "Alternate Ajax Techniques", a look some other, more complex uses for our beloved XMLHttpRequest object.

By now, nearly everyone who works in web development has heard of the term Ajax, which is simply a term to describe client-server communication achieved without reloading the current page. Most articles on Ajax have focused on using XMLHttp as the means to achieving such communication, but Ajax techniques aren't limited to just XMLHttp. There are several other methods; we'll explore some of the more common ones in this series of articles.

In this part of the series, the focus is on dynamic script loading - a method that allows you to pull in Javascript code with an Ajax connection and write it out to the DOM structure of the page, making it simple for you to load Javascript modules only as needed. They provide the example code, both simple and a more complex versions, and finish it off with an explaination of some of the drawbacks for this method of dyanmic loading.

Advertise on this site

Recent Comments