Publisher: O'Reilly Media Released: October 2008 Pages: 224
In just a matter of days, you can develop powerful web applications with Rails that once took weeks or months to produce with other web frameworks. If that sounds too good to be true, it isn't. Find out for yourself with Rails: Up and Running, the concise and popular book that not only explains how Rails works, but guides you through a complete test drive. Perfect for beginning web developers, this thoroughly revised edition teaches you the basics of installing and using Rails 2.1 and the Ruby scripting language. While Rails is praised for its simplicity, there are still a few tricky steps to master along the way. Rails: Up and Running offers lots of examples and covers just about everything you need to build functional Rails applications right away. Learn how to: - Create simple database-backed applications, and build dynamic user-centric web pages using Ajax and REST
- Exploit the Rails service frameworks to send emails and implement web services
- Map data to an imperfect table, traverse complex relationships, and build custom finders
- Use techniques to solve common database performance problems
See how fast you can go on Rails, and how reliable it's become with the stability and power of version 2.1. With Rails: Up and Running, you'll discover why Rails is a remarkable new way to build database-driven web applications. |
-
Chapter 1 Zero to Sixty: Introducing Rails -
Putting Rails into Action -
Organization -
The Web Server -
Creating a Controller -
Building a View -
Tying Controller Data to the View -
Under the Hood -
What’s Next? -
Chapter 2 Scaffolding, REST, and Routes -
Introducing Photo Share -
Preparing Your Project and Database -
Generating a Resource Scaffold -
RESTful Routes -
Wrapping Up the Scaffolding -
What’s Next? -
Chapter 3 Active Record Basics -
Active Record Basics -
Generating Models -
Basic Active Record Classes -
Attributes -
Complex Classes -
Behavior -
Moving Forward -
Chapter 4 Active Record Relationships -
belongs_to -
has_many -
has_one -
has_and_belongs_to_many -
acts_as_list -
Trees -
What You Haven’t Seen -
Looking Ahead -
Chapter 5 Working with Views -
The Big Picture -
Seeing Real Photos -
View Templates -
Setting the Default Root -
Stylesheets -
Hierarchical Categories -
Styling the Slideshows -
Chapter 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 -
Chapter 7 Testing -
Background -
Ruby’s Test::Unit -
Testing in Rails -
Test Coverage -
Mocking with Mocha -
Assertions and Integration Tests -
Wrapping Up -
Appendix Installing Rails -
Windows -
OS X -
Linux -
Appendix Quick Reference -
General -
Testing -
RJS (Ruby JavaScript) -
Active Record -
Controllers -
Views -
Ajax -
Configuring Your Application -
Colophon |
- Title:
- Rails: Up and Running, 2nd Edition
- By:
- Bruce A. Tate, Lance Carlson, Curt Hibbs
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- October 2008
- Ebook:
- October 2008
- Pages:
- 224
- Print ISBN:
- 978-0-596-52200-1
- | ISBN 10:
- 0-596-52200-2
- Ebook ISBN:
- 978-0-596-15658-9
- | ISBN 10:
- 0-596-15658-8
|
-
Bruce A. Tate 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. View Bruce A. Tate's full profile page. -
Lance Carlson Lance Carlson has been programming Ruby since Rails version 0.13 was released, and he has been riding on its coattails since. He currently owns Ruby Skills, a Ruby consultancy firm and is working for Engine Yard as an application support engineer. Lance has contributed to various Ruby open source projects such as Merb, Rails, DataMapper, and he is also the creator of Ruby Anvil. View Lance Carlson's full profile page. -
Curt Hibbs 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. View Curt Hibbs's full profile page. |
Colophon The animal on the cover of Rails: Up and Running, Second Edition, is an ibex (Capra pyrenaica). Found in the mountains of Europe, central Asia, and North Africa, the ibex spends most of its time at an altitude of 7,500 to 11,500 feet. The ibex is known for its impressively long horns, which can grow up to three feet on males. During mating season, ibex males bang their horns together in intense battles over mating rights. Although the physics of such a feat seems dubious, according to legend, the ibex's horns were so strong that, if threatened, the animal could hurl itself from a precipice and land unharmed on them. The cover image is from Riverside Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Jay Ts, Robert Eckstein, David Collier-Brown
February 2003
By Mitch Tulloch
September 2003
|
Customer Reviews
By Jimi Hendrix from New York, NY About Me Designer, Developer, Maker - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
2/25/2009 (1 of 1 customers found this review helpful) 5.0Excellent introduction to Rails By Bob1856 from Undisclosed 2/7/2009 (1 of 1 customers found this review helpful) By hadenp from Undisclosed
|
|
|