Category: JavaScript

Oct2

 

Nov7

 

Chris wants: stability, interoperability, security, and functionality, in that order. Yet after repeated requests to provide specific, detailed, technical reasons why ES4 doesn’t address all four of those priorities (which it does, IMHO), no answer. I have yet to see a single detailed explanation of how ES4 would “break the web.” Not from Chris, Doug, or anyone else at Microsoft. Would love to see such discussion, truly. Send me links if you know of any.

Neil Mix

 

Pseudo-custom events in Prototype 1.6

One major goal of frameworks is to minimize the amount of code branching an individual developer has to do. Usually that means the framework does the branching itself, then builds around it an API that will work in all major browsers. By that metric, support for custom events in Prototype 1.6 might be our biggest

Aug7

 

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.

Jun3

 

Belated note: in case you missed my Refresh Austin talk about Prototype/Scriptaculous, you can experience the slides without having to listen to my stammering commentary.

May1

 

Prototype 1.5.1 released! If you’re still running 1.5.0, you shouldn’t be. The $$ optimization alone is worth the upgrade.

Apr4

 

Capabilities vs. Quirks: a look at browser sniffing

Max Carlson (of OpenLaszlo) recently wrote about his toolkit’s approach to browser quirks, reminding me of a great Dev.Opera article on capability detection.
Both argue for an approach 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

Mar27

 

Here’s something I worked on for a few hours just to amuse myself. I’d develop it further, but I can’t see how this has any sort of practical use (also note the caveats at the top of the script). So here it is: a web page desaturator. Takes all colors in linked stylesheets and turns them into grayscale versions. Here’s a demo using a page from the Prototype site. Firefox only.

Mar9

 

Prototype 1.5.1, release candidate 1. This one contains my complete $$ overhaul, so if you query by CSS selector at all then you need to download this right now. Once 1.5.1 gets a final release (and when I’m once again sober) I’ll write a lot more about this.

Feb26

 

Packing Prototype

In the last month or two we’ve had a number of tickets filed on the Rails Trac asking that Prototype adopt a more rigid syntax. Doing so would make it much easier to compress Prototype with tools like JSMin and Packer.
Opinions vary on this issue within the core team, but we all seem to

Painfully Obvious was built with WordPress, Prototype, Slicehost, and other accoutrements. Colophon →