Book description
Thanks to the explosive growth in popularity of the Rails framework, the equally popular Ruby programming language now has a great place to hang its hat. The powerful combination of the two provides the perfect toolset to create Web applications that feature concise code, clean syntax, and easy maintenance. This must-have book is your best guide on how to jump on the RoR bandwagon—from the basics of Ruby programming to advanced techniques for experienced Rails developers.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Introduction
- Quick Start: Ruby on Rails Quick Start
-
I. First Steps with Rails
-
1. Learning Ruby
- 1.1. The Nature of Ruby
- 1.2. Object Oriented Programming
- 1.3. The Basics of Ruby
- 1.4. Classes, Objects, and Variables
- 1.5. Built-in Classes and Modules
- 1.6. Control Flow
- 1.7. Organizing Code with Modules
- 1.8. Advanced Ruby Techniques
- 1.9. Summary
-
2. Getting Started with Rails
- 2.1. What is Ruby on Rails?
- 2.2. Rails Architecture
- 2.3. Rails Scripts
- 2.4. Your First Rails Application
- 2.5. Summary
-
1. Learning Ruby
-
II. Rails In Depth
-
3. Using Active Record
- 3.1. What is Active Record?
- 3.2. Active Record Basics
- 3.3. Setting up a Model
- 3.4. Using Migrations
- 3.5. Create, Read, Update, and Delete
- 3.6. Defining Relationships
- 3.7. Implementing Validations
- 3.8. Custom Validations
- 3.9. Advanced Active Record
- 3.10. Summary
- 4. Controller: In Depth
- 5. View: In Depth
-
3. Using Active Record
-
III. Developing a Complete Rails Application
-
6. Developing Book Shelf: The Basic Framework
- 6.1. Application Overview
- 6.2. Creating a Skeleton for the Application
- 6.3. Create a Home Page
- 6.4. Implementing Users
- 6.5. Summary
-
7. Developing Book Shelf: Adding the Core Functionality
- 7.1. Adding Support for Books
- 7.2. Refactor the sidebar code
- 7.3. Integrating with Amazon
- 7.4. Implementing a Search
- 7.5. Implementing the Addition and Deletion of Books
- 7.6. Displaying a User's Books
- 7.7. Implementing the Book Detail Page
- 7.8. Summary
-
8. Developing Book Shelf: Social Support
- 8.1. Adding Social Support
- 8.2. Implementing Tagging
- 8.3. Implementing Book Reviews
- 8.4. Implementing Book Ratings
- 8.5. Extending the Application
- 8.6. Summary
- 9. Testing the Book Shelf Application
-
6. Developing Book Shelf: The Basic Framework
-
IV. Advanced Rails
-
10. Using Prototype and script.aculo.us
- 10.1. Prototype, script.aculo.us, and Rails
- 10.2. Prototype Overview
- 10.3. Extensions to JavaScript
- 10.4. OOP with Prototype
- 10.5. Event Handling
- 10.6. Ajax
- 10.7. script.aculo.us Overview
- 10.8. Visual Effects
- 10.9. Controls
- 10.10. Drag and Drop
- 10.11. JavaScript Testing
- 10.12. Summary
-
11. Extending Rails
- 11.1. Beyond the Core
- 11.2. Generators
- 11.3. Plugins
- 11.4. Summary of Useful Plugins
- 11.5. Engines
- 11.6. Summary
- 12. Advanced Topics
-
10. Using Prototype and script.aculo.us
-
V. Appendixes
- A. Ruby Quick Reference
- B. Ruby on Rails Guide
Product information
- Title: Ruby on Rails® Bible
- Author(s):
- Release date: October 2008
- Publisher(s): For Dummies
- ISBN: 9780470258224
You might also like
book
Rails 4 in Action
GET MORE WITH MANNING An eBook copy of the previous edition, Rails 3 in Action, is …
book
Ruby on Rails: Up and Running
Ruby on Rails is the super-productive new way to develop full-featuredweb applications. With Ruby on Rails, …
book
Professional Ruby on Rails™
Nothing less than a revolution in the way web applications are constructed,Ruby on Rails (RoR) boasts …
book
Learning Rails
While most books written about Rails cater to programmers looking for information on data structures, Learning …