So far, the one that looks best for our purposes is the unfortunately-named Prototype toolkit ("Are you using Prototype in your prototype?" "Yes."), which provides the AJAX functionality for Rails. Despite all the irritating, relentless overhyping of Rails, Prototype seems pretty solid, and actually provides something reasonably close to direct access to the XMLHttpRequest object's API.
To build Prototype, you'll need:
- a copy of the Prototype source tree, either from a distribution tarball or from the darcs repository (see below)
- Ruby 1.8.2 or higher (http://www.ruby-lang.org/)
- Rake -- Ruby Make (http://rake.rubyforge.org/)
- RDoc, if your Ruby distribution does not include it
- darcs 1.0.1 or higher (http://abridgegame.org/darcs/; static binaries available at http://www.scannedinavian.org/DarcsWiki/CategoryBinaries)
Does this make any sense? All this crap for one, tiny .js file. Lucky for me, I already use Ruby, so I have most of this stuff, but that's probably not the case for a lot of folks.
Here's the process for submitting fixes:
Modify the files in src/, add tests in
test/if possible, generate a new dist file, and record the changes with
darcs record -al. Then email patches to mailto:firstname.lastname@example.org using
You can't even send the patch with a normal e-mail. I did mention that all this is for one, tiny .js file, right?