| help | account  


Ruby on Rails: Up and Running
View Larger Image
Bruce A. Tate, Curt Hibbs, David Geary
O'Reilly Media, Paperback, Published August 2006, 176 pages, ISBN 0596101325
List Price: $29.99
Our Price: $18.50
You Save: $11.49 (38% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock
Read an excerpt:
Chapter 6: Ajax

     

Excerpt provided courtesy of O'Reilly Media. Copyright © O'Reilly Media, Inc Written permission from the publisher is required for any use of this material.

Be the First to Write a Review and tell the world about this title!

People who purchase this book frequently purchase:

Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:

Ruby on Rails is the super-productive new way to develop full-featured web applications. With Ruby on Rails, powerful web applications that once took weeks or months to develop can now be produced in a matter of days. If it sounds too good to be true, it isn't.

If you're like a lot of web developers, you've probably considered kicking the tires on Rails - the framework of choice for the new generation of Web 2.0 developers. Ruby on Rails: Up and Running from O'Reilly takes you out for a test drive and shows you just how fast Ruby on Rails can go.

This compact guide teaches you the basics of installing and using both the Ruby scripting language and the Rails framework for the quick development of web applications. Ruby on Rails: Up and Running covers just about everything you need - from making a simple database-backed application to adding elaborate Ajaxian features and all the juicy bits in between. While Rails is praised for its simplicity and speed of development, there are still a few steps to master on the way. More advanced material helps you map data to an imperfect table, traverse complex relationships, and build custom finders. A section on working with Ajax and REST shows you how to exploit the Rails service frameworks to send emails, implement web services, and create dynamic user-centric web pages. The book also explains the essentials of logging to find performance problems and delves into other performance optimizing techniques.

As new web development frameworks go, Ruby on Rails is the talk of the town. And Ruby on Rails: Up and Running can make sure you're in on the discussion.

 

Table of Contents

Preface

1. Zero to Sixty: Introducing Rails
     Rails Strengths
     Putting Rails into Action
     Organization
     The Web Server
     Creating a Controller
     Building a View
     Tying the Controller to the View
     Under the Hood
     What's Next?

2. Active Record Basics
     Active Record Basics
     Introducing Photo Share
     Schema Migrations
     Basic Active Record Classes
     Attributes
     Complex Classes
     Behavior
     Moving Forward

3. Active Record Relationships
     belongs_to
     has_many
     has_one
     What You Haven't Seen
     Looking Ahead

4. Scaffolding
     Using the Scaffold Method
     Replacing Scaffolding
     Generating Scaffolding Code
     Moving Forward

5. Extending Views
     The Big Picture
     Seeing Real Photos
     View Templates
     Setting the Default Root
     Stylesheets
     Hierarchical Categories
     Styling the Slideshows

6. Ajax
     How Rails Implements Ajax
     Playing a Slideshow
     Using Drag-and-Drop to Reorder Slides
     Drag and Drop Everything (Almost Everything)
     Filtering by Category

7. Testing
     Background
     Ruby's Test::Unit
     Testing in Rails
     Wrapping Up

A. Installing Rails

B. Quick Reference

Index

 

About the Authors

Bruce A. Tate is a kayaker, mountain biker, and father of two. In his spare time, he is an independent consultant in Austin, Texas. In 2001, he founded J2Life, LLC, a consulting firm that specializes in Java persistence frameworks and lightweight development methods. His customers have included FedEx, Great West Life, TheServerSide, and BEA. He speaks at conferences and Java user's groups around the nation. Before striking out on his own, Bruce spent 13 years at IBM working on database technologies, object-oriented infrastructure, and Java. He was recruited away from IBM to help start the client services practice in an Austin startup called Pervado Systems. He later served a brief stint as CTO of IronGrid, which built nimble Java performance tools. Bruce is the author of four books, including the bestselling "Bitter Java", and the recently released Better, Faster, Lighter Java, from O'Reilly. First rule of kayak: When in doubt, paddle like Hell.

Curt Hibbs has always been slightly obsessed with new technologies and tracking technology trends. But he will tell you that this is simply because he is lazy, always looking for new methods and technologies to make his work easier and more productive. This led to his discovery of Ruby in 2001 (when it was still relatively unknown outside of Japan) and to his founding several highly successful Ruby open source projects.

For most of his professional career, which started in the early 1970's, Curt has been a consultant to well-known companies like Hewlett Packard, Intuit, Corel, WordStar, Charles Schwab, Vivendi Universal, and more. He has also been a principal in several startups. Curt now works as a Senior Software Engineer for The Boeing Company in St. Louis.




Forgot your password?
FAQs
Shipping Options
Returns
Your Orders
Your Account