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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.