Ajax on Rails: Build Dynamic Web Applications with Ruby

Ajax on Rails: Build Dynamic Web Applications with Ruby

by Scott Raymond


$33.41 $39.99 Save 16% Current price is $33.41, Original price is $39.99. You Save 16%.
View All Available Formats & Editions
Eligible for FREE SHIPPING
  • Get it by Monday, January 29 ,  Order by 12:00 PM Eastern and choose Expedited Delivery during checkout.


Ajax on Rails: Build Dynamic Web Applications with Ruby by Scott Raymond

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.

Product Details

ISBN-13: 9780596527440
Publisher: O'Reilly Media, Incorporated
Publication date: 12/28/2006
Pages: 352
Product dimensions: 7.00(w) x 9.19(h) x 0.81(d)

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.

Table of Contents

Assumptions This Book Makes;
Contents of This Book;
Conventions Used in This Book;
Using Code Examples;
We’d Like to Hear from You;
Safari® Enabled;
Chapter 1: Introduction;
Who This Book Is For;
What Ajax Is;
What Rails Is;
‘You Got Your Ajax in My Rails!’;
Getting Up to Speed;
Chapter 2: Getting Our Feet Wet;
The Old-Fashioned Way;
JavaScript Libraries and Prototype;
Bringing Rails into the Picture;
Chapter 3: Introducing Prototype;
Setting the Stage;
Ajax Links;
Ajax Forms;
Form Observers;
Chapter 4: Introducing script.aculo.us;
Visual Effects;
Drag and Drop;
Chapter 5: RJS;
Instructions Instead of Data;
Putting the R in RJS;
A Real-World Example;
Chapter 6: Ajax Usability;
Principles of Usability;
The Context of the Web;
Usability on the Web;
Cross-Platform Development;
Chapter 7: Testing and Debugging;
Chapter 8: Security;
Healthy Skepticism: Don’t Trust User Input;
Hashing Passwords;
Silencing Logs;
The Same-Origin Policy;
The Use and Abuse of HTTP Methods;
Encryption and Secure Certificates;
The Rails Security Mailing List;
Chapter 9: Performance;
Development and Production Environments;
Session Stores;
Output Caching;
Asset Packaging;
Dealing with Long-Running Tasks;
Chapter 10: Prototype Reference;
Ajax Support;
DOM Manipulation;
Core Extensions;
Chapter 11: script.aculo.us Reference;
Visual Effects;
Drag and Drop;
Element Extensions;
DOM Builder;
JavaScript Unit Testing;
Utility Methods;
Chapter 12: Review Quiz;
Chapter 13: Photo Gallery;
Chapter 14: Intranet Workgroup Collaboration;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews