Rails 3 in Action (Paperback)

Ryan Bigg, Yehuda Katz

  • 出版商: Manning
  • 出版日期: 2011-10-04
  • 定價: $1,650
  • 售價: 2.4$399
  • 語言: 英文
  • 頁數: 592
  • 裝訂: Paperback
  • ISBN: 1935182277
  • ISBN-13: 9781935182276
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=2)




Rails 3 in Action takes you on a journey developing a Rails application in the real world, one step at a time. This collaboration between Rails community leaders Ryan Bigg and Yehuda Katz book covers Rails 3.1 so it's the most up-to-date resource available. But it's much more than just a Rails 3 reference book. You'll learn to do Rails the right way so you can build stable, scalable, and maintainable apps that will satisfy even the most demanding clients.

Rails 3 in Action introduces the core concepts and techniques of Ruby on Rails by developing an application and demonstrating how it works. If you're a beginner, you'll catch on quick. If you have a few cycles under your belt already, you'll appreciate seeing this gurus-eye-view of Rails basics. Early on you begin delving into two core principles: Test Driven Development (TDD) and Behavior Driven Development (BDD). You'll apply these practices throughout the book, just like you would in the top Rails shops worldwide.

You'll explore Rails 3 by developing a ticket tracking application that includes:

  • RESTful routing
  • Authentication & Authorization Systems
  • Using RSpec & Cucumber
  • The basics of a maintainable Rails application

There's more than that though! You'll also tackle more advanced issues.

  • Chapter 16 begins the departure from the application development and moves into developing a miniature application, called an engine. This is a relatively new feature in Rails 3.1, and this chapter is the most comprehensive guide to engine development with Ruby on Rails 3.1 available.
  • Chapter 17 covers Rack applications and how to work with Rack middleware. Rack is a key component of how the entire Rails stack works, and this chapter provides great detail on how Rack ties into Rails.

Rails 3.1 and the evolving ecosystem around it introduces a new generation of Rails development. Whether you're just starting with Rails or moving from an earlier version, this book is a must-read.


《Rails 3 in Action》帶領你進入真實世界中逐步開發Rails應用程式的旅程。這本由Rails社群領袖Ryan Bigg和Yehuda Katz合作撰寫的書籍涵蓋了Rails 3.1,因此是目前最新的資源。但它不僅僅是一本Rails 3的參考書。你將學習如何正確地使用Rails,以便建立穩定、可擴展和易於維護的應用程式,滿足最苛刻的客戶需求。

《Rails 3 in Action》通過開發一個應用程式並演示其運作,介紹了Ruby on Rails的核心概念和技術。如果你是初學者,你將很快上手。如果你已經有一些經驗,你將欣賞到這本書對Rails基礎知識的深入解析。在早期,你將深入探討兩個核心原則:測試驅動開發(TDD)和行為驅動開發(BDD)。你將在整本書中應用這些實踐方法,就像在全球頂尖的Rails商店中一樣。

你將通過開發一個票務追蹤應用程式來探索Rails 3,其中包括:
- RESTful路由
- 認證和授權系統
- 使用RSpec和Cucumber
- 可維護的Rails應用程式基礎知識

- 第16章開始從應用程式開發轉向開發一個稱為引擎的小型應用程式。這是Rails 3.1中相對較新的功能,而這一章是關於使用Ruby on Rails 3.1開發引擎的最全面指南。
- 第17章涵蓋了Rack應用程式以及如何使用Rack中間件。Rack是整個Rails堆棧運作的關鍵組件,這一章提供了關於Rack如何與Rails相關聯的詳細資訊。

Rails 3.1及其周圍不斷發展的生態系統引入了Rails開發的新一代。無論你是剛開始學習Rails還是從較早版本遷移,這本書都是必讀之選。