Two recent articles argue for an approach to writing JavaScript that relies on the individual capabilities and quirks of a browser, rather than one that relies on sniffing as a first option. This is a noble idea and one we’ve started to integrate into Prototype over the last six months. But, like everything else involving DOM scripting, it’s complicated.
The new version of iPhoto, announced not too long ago, features Web Gallery, a way to export your photo library to a .Mac web share. The sample gallery confirms that these Ajax‐heavy galleries use Prototype and Scriptaculous under the hood. It could not make me happier that Apple seem to have adopted the two libraries company‐wide.