Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: £1.99

or
 
   
Trade in Yours
For a £0.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Prototype and Scriptaculous in Action [Paperback]

Dave Crane , Bear Bibeault , Tom Locke
4.0 out of 5 stars  See all reviews (2 customer reviews)
RRP: £31.99
Price: £25.63 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £6.36 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock but may require up to 2 additional days to deliver.
Dispatched from and sold by Amazon. Gift-wrap available.
Trade In this Item for up to £0.25
Trade in Prototype and Scriptaculous in Action for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Special Offer until June 30, 2013: Receive an additional £5 promotional Gift Card, when you trade-in at least £10 worth of books. Learn more

Book Description

28 Mar 2007 1933988037 978-1933988030 1

Prototype and Scriptaculous are libraries that extend standard Ajax. They make it easier to program Ajax and provide powerful features like drag and drop and animation. In this book, developers learn by playing and see how the libraries work in the real world.

As experience with Ajax increases, developers want the standard Ajax capabilities they repeatedly use to be preprogrammed for them--and that's exactly what Ajax libraries do for them. They reduce the pain of handling cross-browser inconsistencies, they add useful language features, and provide sophisticated functionality. Of these, Prototype is the most popular JavaScript and Ajax framework for low-level user interface features such as animation, drag and drop, and pre-built widgets. Together, they free the developer up to concentrate on building the application. They make a rich user experience easy to achieve.

This book guides the reader through the Prototype and Scriptaculous libraries feature-by-feature. In just 350 pages, readers will find over 100 small working examples to help them explore the libraries. As well, they will develop a web-based image gallery that teacher them how to use Prototype and Scriptaculous in the real-world.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.


Customers Who Viewed This Item Also Viewed


Product details

  • Paperback: 544 pages
  • Publisher: Manning Publications; 1 edition (28 Mar 2007)
  • Language: English
  • ISBN-10: 1933988037
  • ISBN-13: 978-1933988030
  • Product Dimensions: 18.9 x 2.7 x 23.4 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 1,004,867 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, and more.

Product Description

About the Author

Dave Crane is an Ajax authority and lead author of the best-selling Ajax in Action. He is currently senior developer for UK-based Historic Futures Ltd., developing the next generation of socially responsible supply-chain systems using Ajax to link rural cooperatives and multinational corporations.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
7 of 7 people found the following review helpful
Format:Paperback
It's a truism that Javascript is the language that everyone uses but nobody knows. But increasingly programmers are turning to this fascinating language to solve more and more real world integration and webapp usability problems. Protoype and Script.aculo.us are in this space.

This book dives straight in with a tutorial of why AJAX driven programming makes such sense and explains a lot of the underlying concepts. It shows several different ways of achieving the same end and explains the pros and cons of each one. It's a good solid intro.

The book then moves on to introduce script.aculo.us. This is a toolkit that aims to make whizzy user interfaces a lot simpler. Drag and drop and the other complex parts of script.aculo.us are explained clearly and with plenty of examples.

The final third of the book is more in depth Prototype information. There is fantastically useful stuff about Javascript itself as well as Prototype; for example the section of function contexts and closures is one of the best I have read on the subject.

If you're a programmer and interested in making Javascript do a few more things for you than the odd bit of form validation then this book is a really good start.

One last thing: there are lots of Javascript toolkits out there but Prototype is one of the most popular (it is developed along with rails) and many of the concepts of Prototype are shared with other toolkits (mootools by media temple for example).
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars Good book and decent example. 18 Dec 2008
Format:Paperback
I would say 90% of this book is very clear and easy to read.
There are a few places where I found the book lacking. Predominantly this revolved around chapter 8 where the images from the Scratchpad had no correlation with the text. It's as if things got terribly mixed up and nobody spotted this in the proof reading.
I also found the material a bit hard to understand in a couple of places. Eg Position object. Section 11.2.4.
But on the whole the book does convey information very well.
The book uses a blend of PHP, servlets and Ruby on Rails for server-side code. Personally I marginally would have preferred if they had stuck to Servlets and Tomcat, but enjoyed adding PHP and Ruby on Rails to my tool belt.
The Prototype library enhances Javascript by providing a lot of low level enhancement to Javascript and sort out event handling and cross browser issues. It provides extensive extensions to array processing and DOM node manipulation. (In my opinion jQuery is better for the latter and Dojo provides a similar event processing enhancements).
Scriptaculous builds upon Prototype and provides extensive "special effects" and drag and drop type functionality. Controls are developed like Sliders, Autocompleters, InPlaceEditors You can do things like accordion style effects, make items on the page shake and do all sorts of animations.
The download gives good lab examples to help you get to grips with the effects.
The book initially shows how to develop a regular web app without Ajax, that is a remote file manager like Windows Explorer.
The book continues to discuss the Prototype and Scriptaculous libraries providing an excellent Ajax tutorial along the way with good coverage of things like closures.
... Read more ›
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.6 out of 5 stars  8 reviews
15 of 15 people found the following review helpful
5.0 out of 5 stars Top-notch tome 24 Jun 2007
By Justin - Published on Amazon.com
Format:Paperback
Javascript has exploded onto the web development scene in the last few years, and powers much of the web 2.0 and Ajax revolution. Every web developer now needs to know how to do common Ajax tasks. Thankfully, Prototype and Scriptaculous In Action makes it both easy and enjoyable.

This is a comprehensive book. The size (510 pages) was initially intimidating, but Prototype and Scriptaculous In Action is exceedingly well written and a genuine pleasure to read. The thorough and thoughtful organization of the book provides some real structure to the discussion, making complex subjects easily digestible. This is the defacto bible of Prototype and Scriptaculous, and these days I turn to this book more than anything else on my shelf.

The book is divided up into four multi-chapter parts, any of which could stand on it's own as a definitive guide. The chapters are full of useful examples, and there's strong emphasis given to migrating existing sites to Prototype and Scriptaculous, which is a major plus. You could turn to any section of the book and immediately see how to inject some new behavior into your existing application, but if you take the time to read from cover-to-cover you'll be rewarded with some deep understanding of both the libraries and Javascript itself.

I'll summarize the four parts of the book:

Part 1, Getting Started, introduces the Prototype and Scriptaculous libraries, focusing heavily on Prototype and Ajax. There's a lot of information on re-designing an existing site for Ajax. Two full chapters are devoted to Prototype's Ajax features. You can get up and running VERY quickly after glancing through these chapters. There's also a lot of depth, and consideration is given to the pervasive effects Ajax has on architectural issues and the new ways that an application will have to manage HTTP traffic.

Part 2, Scriptaculous Quickly, covers effects, controls and drag-n-drop. This is hands-down the best Scriptaculous documentation currently available, anywhere. The core effects are explored and tweaked, and there's lot of very practical examples demonstrating some of the niftiest stuff, like running effects in parallel versus sequentially. And the drag-and-drop coverage is incredibly clear, making it easy, almost trivial, to implement. The Scriptaculous coverage is indispensable, and you'll return to it again and again if you implement Scriptaculous-enabled pages.

Part 3, Prototype in Depth, explores Prototype's Javascript-oriented features. There's a fantastic chapter on functions contexts, and the discussion of closures is one of the best I've seen. There's a lot of information about Javascript fundamentals, and how Prototype can be used to implement inheritance, address arrays, and manipulate the DOM in the browser.

And finally, Part 4 Advanced Topics, has two unrelated chapters. The first chapter overhauls an example app, giving it a Prototype and Scriptaculous makeover. The last chapter is about integration with Ruby on Rails. Prototype was initially written as the Ajax interface to Rails, so there's some strong integration.

As a long-time enterprise web developer, dealing with Javascript has always been a chore. But now I actually (gasp) look forward to tasks that involve Javascript. I'm a convert, and I have Prototype and Scriptaculous in Action to thank.
8 of 9 people found the following review helpful
4.0 out of 5 stars Excellent 21 May 2007
By Andrew Otwell - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
I wrote a longer review that Amazon has apparently lost. Oh well. This is an excellent book, very well written. The authors are the rarest kind of technical author: they can actually construct prose that is pleasant to read, not deadly boring, but which works well as a reference book later. The book's organized thoughtfully--it's certainly much more than just an API reference. There's also quite a lot of general advanced Javascript information here, too.

There's at least one other book on these libraries in production from Pragmatic Programmers. If you're considering that, I strongly suggest downloading the sample chapters of both books and comparing. The Crane book is much more appealing to me (not to mention it's available now, not in six months).
3 of 3 people found the following review helpful
4.0 out of 5 stars Exactly what I hoped for, and more 11 Oct 2007
By Scott Bale - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
I'm not even halfway through this book yet and I'm already satisfied with my purchase. I look forward to reading about Scriptaculous, but to me the book is already worth it for (a) the treatment of JavaScript in general and the details on object-oriented JavaScript, JSON, and especially JavaScript prototypes and function closures, (b) Prototype, especially how prototype extends JavaScript itself by modifying various object prototypes, and (c) AJAX, including historical perspective, details and gotchas of AJAX request/response versus traditional GET or POST via browser, and the utilities Prototype offers to ease AJAX communication. Additionally, I know this book will make a great reference for it's coverage of the DOM basics and it's appendices on HTTP basics and traffic. There's even some useful contrasting of different server-side options (PHP versus servlets/JSP, etc.) I don't mean to sound like I'm fawning over this book but it's exactly what I hoped to find after working for the first time with all these technologies on a recent project; I wish I'd had this book during that project.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges