Amazon.com Customer Reviews
Balanced AJAX Discussion - Review written on September 24, 2007
Rating: 4 out of 5
3 customers found this review helpful, 1 did not.
Visuals:
Pretty standard layout. Good clear type. Page numbers, chapter titles, and section titles at bottom of page for easy skimming / searching. Screenshots are clearly printed.
Readability:
Overall the book is written in a instructive & readable format. There are also complete reference for Prototype & scriptaculous, which although you wouldn't necessarily "read" them provide explanation and examples of the various functionality provided.
Practicality:
This is a useful book for individuals looking to start adding AJAX features to their Rails application. Like most books, if you are already using the subject matter (AJAX) at a high level you will find much of the material to be a review of what you have perhaps already learned in the "trenches". Nevertheless, for beginners or experienced users alike, there is valuable information to be had. In addition to "how to do it" type material, there is also some theory about why and when to do it. For example, there are chapters covering "Usability", "Testing & Debugging", "Security" and "Performance".
Audience:
The book describes itself as written for individuals with existing web development experience. While Ruby / Rails specific experience in not necessarily required - those are fundamental topics which are beyond the scope of this book. If you are new to Ruby or Rails, it is best to acquire separate books for those topics.
Overall:
It's a keeper.
Phenomenal Reference for Rails Programmers - Review written on July 30, 2007
Rating: 5 out of 5
4 customers found this review helpful, 3 did not.
I'm a relative newbie to the Rails programming world, but thanks to this book I've become more than competent at using ajax within the rails framework in a very short time. This book starts with a clear step-by-step introduction to vanilla ajax, then progresses quickly into prototype and finally into using rails helpers for prototype. Next, Raymond delves into Prototype in detail, then Scriptaculous, and finally RJS. This is only the first 5 chapters, and the book would be well worth the price for the first 5 chapters alone. Beyond that are 4 solid chapters on Ajax / Rails / Web programming best practices (Usability, Testing, Security, Performance), and while none of these is exhaustive, they are all full of very good real-world advice and examples. If that's not enough, Raymond rounds it all off with comprehensive reference chapters on Prototype and Scriptaculous. (Far better than any documentation I've seen online for either of these libraries.) Lastly, he includes code and walkthroughs for 3 full-blown Rails apps. (Although I had trouble getting a couple of them up and running on my dev machine). Basically, if you're a Rails programmer or want to be a Rails programmer, you Should Have This Book. My guess is even seasoned Rails/Ajax pros could fill in some gaps with this book as a reference, and the rest of us can step up our game with it immediately. One of the best tech books I've bought in the last 5 years.
Sharpen your Ajax and Rails skills - Review written on January 31, 2007
Rating: 5 out of 5
24 customers found this review helpful, 4 did not.
Scott Raymond's book "Ajax on Rails" (published Jan 2007) serves as an introduction, tutorial, and reference for web development using Ajax and Rails. It is roughly 1/3 introductory and intermediate level text; 1/3 more advanced material for developing "Ajax on Rails" applications; and 1/3 sample - life-sized - applications. (The sample applications can be downloaded from the O'Reilly site.)
The author writes that Ajax is "a really simple idea: web pages, already loaded in a browser, can talk with the server and potentially change themselves as a result." [p. 2] There is elegance in this simplicity and the book reveals a lot of the mystery around Ajax and how it works.
The author does a great job exploring the basics. You will quickly get all the motivation needed to realize why this simple idea is so powerful in practice. You'll also soon see why "Ajax on Rails" is a productive approach for developing next generation applications on the web.
One of the real strengths of this book is its many working examples. I found even tricky techniques described in ways that were easy to understand. As I read the book, I entered sample code described on each page. (Having a working Rails installation is key for getting the most out of the book. The author provides a quick installation introduction which is supplemented with URLs for added help.) It was easy to apply "Ajax on Rails" to my own project, which I worked on as I read the book.
The centerpiece of the book is Chapter 5, which covers RJS (also known as Ruby-generated Javascript.) I expected to learn about Ajax, but I was pleasantly surprised by how much I learned about the magic of Rails and Ruby development! A number of critical technical topics, often overlooked, are also covered - including `Usability', 'Testing and Debugging', 'Performance' and 'Security'.
The author does a great job taking the reader from simple working examples to more complex applications. I certainly felt more comfortable with advanced aspects of Ajax and Rails by the end of the book. It seems to me this is the definitive text on the topic.
"Ajax on Rails" has been a joy to read and work through. It was easy to mark my learning progress along the way. The material is organized clearly. The writing moves at a great pace. Sample code explores how everything works. (I expect I'll be referring back to the extensive examples in the future.) This book is a great tool to sharpen your skills around two of the most exciting aspects of the evolving web - Ajax and Rails.
Essentially a must-have - Review written on January 31, 2007
Rating: 5 out of 5
13 customers found this review helpful, 3 did not.
Outstanding, with a few nits. The author is a technical master and a master communicator, the editing is first rate, the book really flows. (The new Agile Rails book (skateboard book) has an excellent section which covers the same material, but in somewhat less detail.)
The sections on testing, security and performance are quite valuable. They're not too Ajax-specific and present best practices succinctly. The three case studies in the end are the most valuable chapters to me. I learn by taking apart code like this, I've hunkering down over the book,
BTW, if you don't use Ajax now and think you don't need to know about it etc, you don't UNLESS: you never work with other develoeprs, you never use anybody else's code, and all your users have JS turned off.
Nits: doesn't cover basic ECMA/javascript syntax at all. Chapter 1 (30,000 foot view of Rails) is perfunctory. The index isn't great, (the Pragmatics have really raised the bar on this). Doesn't use migrations. The 1-liner method def's (no semicolons) and the ones with no parentheses around parameter lists are hard to read, IMHO.
But all very minor complaints. On the whole, I would call this book indispensable
Straightforward and Comprehensive - Review written on January 25, 2007
Rating: 5 out of 5
24 customers found this review helpful, 4 did not.
This is a great book to get. The author is an expert in the field - I've seen him speak in person, and read his articles in the past. The book does not disappoint.
It's really three books in one. The first part is a tutorial, taking you through the paces and up the ladder of frameworks. You go from JavaScript to Prototype to Scriptaculous to RJS, chapter by chapter, and it really makes sense. Then you get chapters on Usability, Performance, Testing, and Security, which really cover more than just the basics - Mr. Raymond shows you how to build your application around Ajax, and do it intelligently. The chapter on Performance had a better explanation of caching than I'd read anywhere else!
The second part is two chapters, two comprehensive references on Prototype and Scriptaculous, respectively. Combined, these might be worth the price of the book for some folks. I'm sure I'll be referring to these pages for some time.
Finally, you have three real-world application examples. Again, these might be worth the price of the book as well! You get a Review Quiz, Photo Gallery, and Intranet Workgroup application. The code is available at the O'Reilly site now, so you don't have to type them in, of course. Still, it's nice to read about them in the book, and why the author wrote them the way he did. All of the applications are useful, and use best-practices throughout.
It's nice to see O'Reilly starting to get their Rails titles out. Predictably, they're awesome. They always choose the best authors, edit and proof the books meticulously, and put out a quality product. Highly recommended.