O'Reilly logo

Sams Teach Yourself JavaScript™ in 24 Hours, Fifth Edition by Phil Ballard, Michael Moncur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required