Ajax on Rails and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Ajax on Rails on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Ajax on Rails [Paperback]

Scott Raymond
4.3 out of 5 stars  See all reviews (17 customer reviews)

List Price: $39.99
Price: $30.57 & FREE Shipping. Details
You Save: $9.42 (24%)
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.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, June 21? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $30.57  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 10, 2007

Learn to build dynamic, interactive web applications using the two most important approaches to web development today: Ajax and the phenomenally efficient Ruby on Rails platform. This book teaches intermediate to advanced web developers how to use both Ajax and Rails to quickly build high-performance, scalable applications without being overwhelmed with thousands of lines of JavaScript code. More than just recipes, you also get a thorough, low-level understanding of what's happening under the hood.

  • Ajax on Rails includes three fully worked out Rails/Ajax applications, and quick reference sections for Prototype and script.aculo.us.
  • Testing lessons show you how to eliminate cross-browser JavaScript errors and DOM debugging nightmares using a combination of Firebug, and Venkman.
  • Advanced material explains the most current design practices for Ajax usability. You'll learn to avoid user experience mistakes with proven design patterns.

Beyond the how-to, Ajax on Rails helps you consider when Ajax is (and isn't) appropriate, and the trade-offs associated with it. For those new to Rails, this book provides a quick introduction, the big picture, a walk through the installation process, and some tips on getting started. If you've already started working with Rails and seek to deepen your skill set, you'll find dozens of examples drawn from real-world projects, exhaustive reference for every relevant feature, and expert advice on how to "Ajaxify" your applications.


Frequently Bought Together

Ajax on Rails + Advanced Rails + Rails Cookbook (Cookbooks (O'Reilly))
Price for all three: $80.71

Buy the selected items together


Editorial Reviews

About the Author

Scott Raymond is a Ruby on Rails developer living in Kansas City. His work has been highlighted on the Rails website and the Wall Street Journal Online. Besides participating in the framework's development, he has led international Rails training sessions, and was a presenter at RailsConf 2006.


Product Details

  • Paperback: 352 pages
  • Publisher: O'Reilly Media; 1 edition (January 10, 2007)
  • Language: English
  • ISBN-10: 0596527446
  • ISBN-13: 978-0596527440
  • Product Dimensions: 7 x 0.8 x 9.1 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #920,497 in Books (See Top 100 in Books)

More About the Author

x

Customer Reviews

4.3 out of 5 stars
(17)
4.3 out of 5 stars
The author does a great job exploring the basics. Brian DeLacey  |  1 reviewer made a similar statement
A must have book for whoever wants to bring Ajax into their rails development. Michael  |  2 reviewers made a similar statement
Examples were clear, relevant and easy to implement. eyebj  |  4 reviewers made a similar statement
Most Helpful Customer Reviews
28 of 32 people found the following review helpful
5.0 out of 5 stars Sharpen your Ajax and Rails skills January 31, 2007
Format:Paperback
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!
... Read more ›
Comment | 
Was this review helpful to you?
26 of 30 people found the following review helpful
5.0 out of 5 stars Straightforward and Comprehensive January 25, 2007
Format:Paperback|Amazon Verified Purchase
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.
Comment | 
Was this review helpful to you?
13 of 16 people found the following review helpful
5.0 out of 5 stars Essentially a must-have January 31, 2007
Format:Paperback
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
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
4.0 out of 5 stars Outdated Code Makes this book a pain to learn from. October 18, 2008
Format:Paperback|Amazon Verified Purchase
I'm working through this book as I work to transition from PHP development to Rails with Ajax. I'm starting a new project from scratch and wanted to take on this "newish" methodology that is supposed to make my development more fun and way faster.

Well I bought the book a year ago when I was thinking the same thing. But I didn't find the time to invest in a new language until now.

Unfortunately Rails 2.0 has been out for a while and this book is written to 1.2 or something. Prototype is also in version 2.x and the book was written to something like 1.5

And that doesn't even mention that there are much different ways to get Ruby and Rails installed now.

So far I've spent a few days just making Rails work at all on my XP computer. It turns out that there is now a package called InstantRails that you just unzip and run in place. So I wasted those days trying to track down the components described in this book to no avail.

Now that I'm working with the code, I'm finding that the examples simply don't work in about half the cases due to the deprecated functions and new naming conventions and so on. It's like learning how it was done two years ago along with how it is done now. And it's really slowing me down.

Every time something doesn't work, instead of learning the lesson intended by the book, I spend a lot more time learning how to troubleshoot the problem until I find the new correct way of doing the same thing.

So I can't say that I'm not learning from this book. I'm learning a lot. It just that I'm learning by correcting errors on my own instead of by clear examples that work. It's kind of painful and slow.

The book seems to be good other than that.
... Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Excellent book for ajax novice
I thought this was an excellent book. Examples were clear, relevant and easy to implement.
Published on October 9, 2010 by eyebj
3.0 out of 5 stars Succint intro, but not much more
I bought this book thinking I would learn a lot. I've done very little JavaScript and Ajax before so I was expecting to soak this up like a sponge. Read more
Published on August 25, 2008 by Loc Nguyen
4.0 out of 5 stars Ajax on Rails
It's a good book, the structure and ideas are clear and comprehensive maybe I miss to download the examples' code from internet but I quite a few happy with this purchase, I got my... Read more
Published on April 11, 2008 by Manuel Chamber González
3.0 out of 5 stars Not bad at all
I've bought this book with expectation. The title implied the feeling that this book would be THE book I'd ever need for AJAX on Rails. However it gave less than I've expected. Read more
Published on November 16, 2007 by Oyku Gencay
5.0 out of 5 stars very concise and useful
The chapters are short and cover what is needed to start programming in any of the subjects they cover such as: prototype, rjs. Examples are also well chosen. Read more
Published on October 19, 2007 by Matt
3.0 out of 5 stars Need more examples, half of the book is filled with Documentation
Why do I have to buy a book for documentation? I can look it up online for free. People learn by examples. Read more
Published on October 13, 2007 by uml_zepho_com
3.0 out of 5 stars Ajax on Rals
I am a few chapters into the book and although it is a good book that gets your started fairly quickly, there are quite a few examples that do not work. Read more
Published on September 26, 2007 by Seedy O. Bensouda
4.0 out of 5 stars Balanced AJAX Discussion
Visuals:
Pretty standard layout. Good clear type. Page numbers, chapter titles, and section titles at bottom of page for easy skimming / searching. Read more
Published on September 24, 2007 by J. Pease
5.0 out of 5 stars Phenomenal Reference for Rails Programmers
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. Read more
Published on July 30, 2007 by J. K. Godard
5.0 out of 5 stars Ajax on Rails
This helps me to use Rails for building richly interactive web applications with Ajax as the author says.
Published on May 12, 2007 by Rogelito Lacson, Jr.
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category