Ajax on Rails
|
| List Price: | $39.99 |
| Price: | $26.39 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
51 new or used available from $3.35
Average customer review:Product Description
Product Details
- Amazon Sales Rank: #114764 in Books
- Published on: 2007-01-03
- Original language: English
- Number of items: 1
- Binding: Paperback
- 336 pages
Editorial Reviews
About the Author
Scott Raymond is an independent software consultant specializing in Ruby on Rails. His most recent projects include Blinksale.com and IconBuffet.com, two very popular and well-reviewed web services businesses built with Rails. Scott also contributes code to the open source Rails project and speaks frequently at conferences including Canada on Rails, RailsConf, and the annual RubyConf.
Customer Reviews
Sharpen your Ajax and Rails skills
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.
Straightforward and Comprehensive
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.
Essentially a must-have
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




