E4X: Mac OS X Setup

E4X, mentioned earlier, is an XML processing extension for JavaScript. It’s available for Rhino, the Mozilla implementation of JavaScript in Java. Here’s how to get to it from the shell in Mac OS X.

Download Rhino (as of this writing) 1.6R2.
Download Apache XBeans.
Uncompress both archives.
Create, if you don’t have it already, ~/Library/Java/Extensions.
Copy js.jar from Rhino, xbean.jar [...]

From JSON to XPath

Aaron of Montreal considers JSON:
I still don’t like JSON. It works and working code always win but its arrival as the next Best Thing Evar on the Intarweb only confirms that it’s a hack.

And like me, would like to see XPath in the browser.
“Coincidentally, I tend to think of XPath the same way its benefactors [...]

Stenomonkey

Stenomonkey: a clever JavaScript app for taking notes during panels and meetings.

Live Clipboard Example

Ray Ozzie’s Live Clipboard Example, and technical description.
It works on Safari. I’m impressed.

Any Major Dude Will Tell You

Douglas Crockford: With this new moniker [AJAX], interactive web application development has become the hottest thing since canned beer. But the hipsters aren’t using XML, they are using JSON. These new apps are about data, not documents, so JSON just makes more sense. They still call it Ajax, but there is still that x hanging [...]

Throw out the hardware/let’s do it right.

Tim Bray: Maybe the DOM-wrangling isn’t all that efficient… but who cares? The browser totally doesn’t have anything better to do.

What, it’s not like you don’t have a DualCore iMac

Tim Bray: Maybe the DOM-wrangling isn’t all that efficient… but who cares? The browser totally doesn’t have anything better to do.

Splintered Striper

Patrick H. Lauke’s Splintered Striper script generalizes the excellent Zebra Table script to work on more than tables. This makes developers and designers less crazy. Beat the Devil and Mëtäl Hair available separately.

Harry Potter and the XMLHTTPRequest Object

Using AJAX and a chatbot to create Tom Riddle’s diary from Harry Potter and the Chamber of Secrets. The creator explains it on his weblog.

Rich Text Editing With Dojo

Oh fine, I say WYSIWYG editing XHTML is hard, then the Dojo people give us in-browser editing.

Fitzmas Bingo

Fitzmas Bingo cards! Thank you Dori! If you don’t know what Fitzmas is, go read dKos.

4 Layers of Separation

Ryan Campbell’s Four Layer Model of web development.

getElementsBySelector()

[ via Manalang ] A JavaScript function for getting elements on a page matching a CSS selector.

Web Sudoku

I haven’t played Sudoku until now. It is a fun game. Needs a widget-version.

Mozilla XPath Documentation

[ via Jon Udell ] Mozilla supports DOM 3 and DOM 3 means XPath via JavaScript!