jRails - jQuery on Rails
ennerchi.com
ennerchi.com
One thing I'd love to ask those of you who have used both js libraries: Other than the file size difference, what do you see as the main advantages of jQuery over prototype/scriptaculous?
John Resig Part I: http://video.yahoo.com/video/play?vid=410472
John Resig Part II: http://video.yahoo.com/video/play?vid=412541
but this demo uses 106k of javascript (and it's not compressed for some reason)
photo from web developer extension: http://myskitch.com/michelson/document_size_-_http__ennerchi...
The added bloat comes from the effects and UI libraries. The UI library is probably superfluous so that should cut the size significantly.
Without that being set up, either you run on the minified version of jQuery (a developer-hostile move), or the big old version with all the comments, which is inconvenient for the user. For a 0.1 release, they made the right call putting in the full versions of the Javascript so you have a chance of seeing what's happening if something goes wrong.