There are many JS libraries around, so I can’t start listing every here, but I’ll just scratch some of the more well known and useful ones.
- Prototype – A very popular framework which has various features aimed to ease development, such as Ajax and DOM functions.
- Scriptaculous – A library based on Prototype, which is more biased on providing users with effects, drag and drop and other user interface features rather than basic things, as that’s what Prototype does.
- jQuery – A similar library to Prototype and Scriptaculous. Intends to offer more functionality for less code. jQuery works very well with other libraries as it is fully inside the jQuery namespace. It also has a lot of plugins to provide new functionality.
- Dojo Toolkit – Dojo, which recently reached the 1.0 release, is a toolkit which has a lot: user interface widgets, form validation tools, animation and graphics to name some. The documentation is somewhat confusing in my opinion.
- Mootools – A lightweight library similar to Prototype and Scriptaculous. Some of the features are inspired by Prototype, so if you’ve used that before, trying out Mootools (or the other way around), should be easy.
- The Yahoo! User Interface Library – Like the name says, YUI has many useful user interface components, such as auto completion, calendars, tabs and trees.
- ExtJS – Ext started out as a bunch of extensions for YUI. It provides a lot of useful UI widgets and utilizes other functionality from YUI, jQuery or Prototype/Script.aculo.us, so you can pick your favorite of these to use together with Ext. Ext can be used to provide a very desktop-like experience.
A lot of these libraries do the same things. In the end what matters is most likely if you like the coding style used by a certain library or not. If I didn’t mention your favorite library, let me know and I’ll check it out.
In addition to these, I think there’s one smaller single-purprose library worth mentioning: The /IE7/ project, which makes older IE versions 5 and 6 behave more like modern browsers. It fixes many of the typical IE issues, so if you’re having problems it could be worth checking this one out.
Blogs and sites
Here’s a few useful sites and blogs/posts to help you out with JS.
- How well do you know Prototype? – Two quiz-like pages which show you how to get most out of Prototype.
Other useful sites
I also want to mention these two sites as they are very useful:
There are probably other sites too, so if you know any good resources, let me know.