Hour 19. Making Life Easier with Libraries

What You’ll Learn in This Hour

• Why using a library can be a good idea

• The sorts of things libraries can help you do

• Library extensions from the user community

• Introducing some popular libraries

• A quick overview of prototype.js

Libraries are reusable collections of JavaScript code that let you do complicated things by adding only a few lines of extra code to your program.

You already built a simple library for Ajax in Hour 17, “Creating a Simple Ajax Library.”

There are many freely available JavaScript libraries that can help you quickly develop capable, cross-browser applications.

Several of the more popular libraries are introduced in this hour.

Why Use a Library?

You’ll often see opinions ...

Get Sams Teach Yourself JavaScript™ in 24 Hours, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.