Simon Willison’s Weblog

59 items tagged “ajax”

Simple Exception Response for AJAX debugging. Neat solution to the problem of Django error pages showing up as raw HTML in the Firebug Ajax log. # 19th March 2008, 4:44 pm

Cross-Site XMLHttpRequest (via) “Firefox 3 implements the W3C Access Control working draft, which gives you the ability to do XMLHttpRequests to other web sites”—you can mark a document as available for cross-domain requests using either an Access-Control HTTP header or an XML processing instruction. # 9th January 2008, 11:57 pm

$.comet (via) The first Comet (with Bayeux) plugin I’ve seen for jQuery—currently only handles long-polling over XMLHttpRequest, but still a promising start. # 9th January 2008, 8:31 am

Why we switched to Jetty. Zimbra (recently acquired by Yahoo!) are using Jetty for Comet. It sounds like they are using Bayeux as well. # 8th January 2008, 5:12 am

ExtInfoWindow 1.0: Ajax powered, CSS customization. Finally, a semi-official way of creating customised info windows for the Google Maps API. You lose the default shadow but gain the ability to style the entire info window using CSS. # 15th December 2007, 12:22 pm

Two-Faced Django. Excellent Django tutorial by Will Larson that shows how to build a polling application with an interface both on the Web and in Facebook. Also touches on unit testing and Ajax using jQuery. # 14th December 2007, 2:44 pm

The Future of Comet: Part 1, Comet Today. Absolutely the best summary I’ve seen of all of the current Comet techniques in one place. # 11th December 2007, 1:13 pm

Ten New Things in WebKit 3. Does “incremental updates for persistent server connections” for XMLHttpRequest mean Safari now has native support for Comet? # 16th November 2007, 1:19 am

google-axsjax (via) “The AxsJAX framework can inject accessibility enhancements into existing Web 2.0 applications using any of several standard Web techniques”—including bookmarklets and Greasemonkey. The enhancements conform to W3C ARIA, supported by Firefox 2.0 and later. # 14th November 2007, 5:18 pm

Comet Daily. New regularly updated site covering Comet, the Ajax-like umbrella term for JavaScript server-push techniques. Already a bunch of great stuff on there. # 7th November 2007, 10:53 am

How to make Ajax work for you. Slides from my three hour Ajax tutorial, presented at Web 2.0 Expo Berlin on Monday. # 7th November 2007, 10:35 am

Bust A Name. Smart Ajax powered domain search; you give it some words, it shows you available combinations. It’s still almost impossible to find something that doesn’t suck though. # 20th August 2007, 3:40 pm

SproutCore (via) MVC JavaScript framework used to build the new .Mac Web Gallery application. # 7th August 2007, 11:35 pm

The Geni “contact us” form. As you type your message, Geni pulls in likely entries from their FAQ using Ajax—with pretty decent results. # 3rd July 2007, 9 pm

jQuery Taconite Plugin. Lets you serialize jQuery DOM manipulation commands as an XML document for retrieval via Ajax. # 2nd July 2007, 6:29 pm

The sliding scale. Jeremy’s write-up of my panel at the Web 2.0 Expo, with illustrative photograph. # 25th April 2007, 7:09 pm

Death and Taxes (via) Beautiful massive zoomable/pannable infographic of the 2008 Federal Discretionary Budget. # 19th April 2007, 2:37 am

Google AJAX Feed API (via) Simple cross-domain proxy to allow JavaScript to access any publically addressable syndication feed, with the same logic as Google Reader providing normalisation. # 18th April 2007, 5:29 pm

Flash vs. Ajax: It’s time to expand your toolbox. Dan Webb offers his smart, pragmatic take on the Flash vs. Ajax permathread. # 20th March 2007, 9:49 am

Ajax3d Demo. Really impressive Virus clone, using the canvas element. # 9th March 2007, 7 pm

John Resig: Thoughts on OpenAjax. I hadn’t looked in to OpenAjax—from John’s analysis it seems like they need to make it easier for open-source projects to participate and do a bunch of work to modernise their core library. # 22nd February 2007, 10:20 pm

Which is the real explanation of where the name XMLHTTP comes from- the thing is mostly about HTTP and doesn’t have any specific tie to XML other than that was the easiest excuse for shipping it so I needed to cram XML into the name (plus- XML was the hot technology at the time and it seemed like some good marketing for the component).

Alex Hopmann # 24th January 2007, 8:48 pm

AJAX Debugging with Firebug. Great Firebug tutorial from creator Joe Hewitt himself. I didn’t know you could trigger profiling from your own code using console.profile() / console.profileEnd(). # 12th January 2007, 11:21 am

macrumorslive.com. The MacRumors ajax keynote coverage gets better every time—now they have live photos in addition to the text updates. Simple but effective. # 9th January 2007, 5:11 pm

XMLHttpRequests using an IFrame Proxy (via) Another scary hack abstracted away by Dojo. # 1st August 2006, 5:40 pm

An S3 AJAX Wiki. Les continues to innovate against S3. # 22nd April 2006, 7:09 pm

TurboDbAdmin. Ajax phpMyAdmin clone built on Dojo. Worth trying the live demo. # 4th November 2005, 3:27 pm

Yahoo!’s new twist on mapping APIs

One of the most exciting things I’ve seen at Yahoo! since starting here has finally been made public: the new Yahoo Maps. The map application itself differs from many other recent map sites in being rendered entirely in Flash. This leaves far more scope for interface niceties, but doesn’t it reduce the scope for hacking that made things like Google Maps so much fun?

[... 623 words]

Why the term Ajax is useful

Software design patterns are useful mainly because they provide a shared vocabulary: rather than discussing the intimate details of a three layered application architecture, we say “MVC”. Rather than describing an object that tracks your progress while looping over a collection, we say “Iterator”.

[... 152 words]