Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

Practical Prototype and

By Andrew Dupont

  • eBook Price: $27.99
  • Print Book Price: $39.99
Buy eBook Buy Print Book

Practical Prototype and Cover Image

Master all the convenience functions of Prototype to speed up your JavaScript or Ajax development, and leverage script.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-59059-919-8
  • 352 Pages
  • User Level: Beginner to Advanced
  • Publication Date: June 25, 2008
  • Available eBook Formats: PDF

Related Titles

  • Pivotal Certified Spring Web Application Developer Exam
  • Practical Google Analytics and Google Tag Manager  for Developers
  • Web Development with Go
  • Beginning Meteor
  • JavaScript Frameworks for Modern Web Dev
  • Drupal 8 for Absolute Beginners
  • JavaScript Quick Syntax Reference
  • Introduction to React
  • Beginning App Development with Parse and PhoneGap
  • Pro JavaScript Techniques
Full Description

As a JavaScript developer, you will already be aware of some of the time saving, convenience, and functionality provided to you by JavaScript/Ajax libraries in general. Prototype and its sister effects library,, are among the most popular and best–supported JavaScript libraries, and now Prototype Core team member Andrew Dupont has written this book to provide you with an essential guide to getting the most out of using Prototype and

Practical Prototype and will help you leverage the Prototype and libraries to enhance your day–to–day work, speeding up mundane tasks and providing advanced user interface effects in a way that is cross–browser compliant—taking many worries off your shoulders. Take a whirlwind tour of the different time–saving functions and features Prototype provides and how it extends the basic JavaScript objects, including events, Ajax techniques, DOM elements, enumerables, and advanced object-oriented programming. Understand how fits into the wider world of DOM Scripting/DHTML; find out how to use it to enhance your user interfaces quickly and effectively, with UI controls, effects, and drag and drop; and discover Prototype and as a platform.

The author avoids needless theory and rhetoric throughout the book, moving you through the topics at a fast pace. He incorporates several real–world examples to help you gain valuable practical experience as you learn. Practical Prototype and is completely up to date and features server–side examples written in PHP that show the framework can be used effectively in more environments than just Ruby on Rails.

  • Master all the convenience functions of Prototype to speed up your JavaScript/Ajax development
  • Leverage to turbo charge your dynamic UIs
  • Learn from JavaScript expert Andrew Dupont, one of the Prototype Core team members

What you’ll learn

  • How to use all of the basic timesaving/convenience functions of Prototype
  • How to use enumberables to speed up looping, arrays, etc.
  • How to enhance your Ajax applications with Prototype
  • How Prototype makes working with events and DOM elements a cinch
  • How fits into DOM Scripting/DHTML
  • How to make use of the basic effects available in
  • Mastery of user interface controls and drag and drop in
  • How to treat Prototype and as a platform
  • How to use Prototype and effectively with PHP and other server–side setups besides Ruby on Rails

Who this book is for

This book is for any JavaScript developer who wants to employ Prototype/ in his or her day–to–day work.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

On page 65:
Books says "Also notice how we've removed the method parameter from the options."

But the method parameter is in the example code and in figure 4-10.


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book