O'Reilly logo

Prototype and Scriptaculous in Action by Tom Locke, Bear Bibeault, Dave Crane

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

Chapter 8. All About Objects

This chapter covers

  • Declaring JavaScript objects
  • Defining reusable object types
  • Writing object-oriented JavaScript using Prototype

In part 2, we looked at how we can use Prototype and Scriptaculous to achieve a number of quick wins for our application development. Using the libraries in this way requires relatively little understanding of the internal functioning of the libraries themselves. Indeed, it requires little understanding of the language features that the libraries make use of. That’s one of the strengths of these libraries—for the casual user, the learning curve is not at all steep, and the payback is considerable. You may not need to take your use of the libraries beyond this level, in which case you’ve ...

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