“A JavaScript library is a library of pre-written JavaScript controls which allow for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies.
While JavaScript, as first developed by Netscape (and later Mozilla), has long had a presence on the Web for many websites, it gained a particular pitch with the rise of the Web 2.0 era of computing, in which JavaScript, combined with multiple flavors of XML, became increasingly used for the development of user interfaces for applications, both web-based and desktop-based. JavaScript was also combined with CSS to create Dynamic web pages, which have also become popular as a more accessible alternative to Flash -based websites.”
JavaScript Libraries are wonderful tools for creating a rich interactive experience for your users. These libraries enable the developer to reuse snippets of JavaScript meaning faster site downloads and a consistent programming experience for the developer. When choosing a JavaScript library for your project it is imperative that you keep in mind the concept of Progressive Enhancement.
Progressive enhancement is a strategy for web design that emphasizes accessibility, semantic markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing those with better bandwidth or more advanced browser software an enhanced version of the page.
One way we can make sure we are accomplish this is through user testing. The first step is to test within your browser with JavaScript disabled. If the page still functions, albeit with less flair, you are in good shape.
JavaScript Libraries
A Closer Look
- JQuery
- Dojo
- Mootools
- Google AJAX Libraries API – This is a useful resource for quickly implementing a JS Library of your choice. Supports versioning.