[clug] javascript libraries/frameworks

Paul Wayper paulway at mabula.net
Tue Oct 28 12:46:09 GMT 2008

Hash: SHA1

jm wrote:
| Anyone have any recommendations on javascript libraries? I realise think
| is like asking how long is a piece of string. What I seek is a library
| with a clean interface and good documentation to do some simple form
| completion and displaying of results without reloading the page. There's
| no need of fancy animations or other graphics related fluff.

I've been using Prototype for some of my work at, er, work.  It's a bit
lighter weight than JQuery and doesn't have the same animation and stuff in-built.

You can't use the both together because they both use the $('element') syntax
in conflicting ways: JQuery uses it to do CSS-style lookups (e.g.
$('p.class').each(do_stuff)) and Prototype uses it as a shortcut to
getElementById (e.g. $('form').value = "Foo").  You can guess that I found
this out the hard way, and I'd like that half a day of my life back.

I'd also steer clear of the 'javascript compressors' in favour of making sure
that your server delivers text/javascript in gzip format.

Hope this helps,

Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the linux mailing list