Learning Rails 3 (Paperback)

Simon St. Laurent, Edd Dumbill, Eric J. Gruber

  • 出版商: O'Reilly
  • 出版日期: 2012-08-28
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 414
  • 裝訂: Paperback
  • ISBN: 144930933X
  • ISBN-13: 9781449309336
  • 相關分類: Ruby
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

If you’re a web developer or designer ready to learn Rails, this unique book is the ideal way to start.

Rather than throw you into the middle of the framework’s Model-View-Controller architecture, Learning Rails 3 works from the outside in. You’ll begin with the foundations of the Web you already know, and learn how to create something visible with Rails’ view layer. Then you’ll tackle the more difficult inner layers: the database models and controller code.

All you need to get started is HTML experience. Each chapter includes exercises and review questions to test your understanding as you go.

  • Present content by building an application with a basic view and a simple controller
  • Build forms and process their results, progressing from simple to more complex
  • Connect forms to models by setting up a database, and create code that maps to database structures
  • Use Rails scaffolding to build applications from a view-centric perspective
  • Add common web application elements such as sessions, cookies, and authentication
  • Build applications that combine data from multiple tables
  • Send and receive email messages from your applications

"Learning Rails 3 feels like a brisk pair programming session with professionals who know how to use Ruby on Rails to get things done, and get them done well."
-Alan Harris, author of Sinatra: Up and Running

商品描述(中文翻譯)

如果你是一位準備學習Rails的網頁開發人員或設計師,這本獨特的書籍是開始的理想方式。《Learning Rails 3》不同於將你直接投入到框架的模型-視圖-控制器架構中,而是從外部開始進行學習。你將從你已經熟悉的Web基礎知識開始,並學習如何使用Rails的視圖層創建可見的內容。然後,你將解決更困難的內部層:數據庫模型和控制器代碼。你只需要具備HTML經驗即可開始。每章都包含練習和複習問題,以測試你的理解能力。以下是你將學習的內容:

- 通過構建具有基本視圖和簡單控制器的應用程序來呈現內容
- 逐步構建表單並處理其結果,從簡單到複雜
- 通過設置數據庫來將表單與模型相連,並創建與數據庫結構相對應的代碼
- 使用Rails腳手架從視圖中心的角度構建應用程序
- 添加常見的Web應用程序元素,如會話、Cookie和身份驗證
- 構建從多個表中結合數據的應用程序
- 從應用程序中發送和接收電子郵件消息

《Learning Rails 3》給人一種與專業人士一起進行快節奏的配對編程會話的感覺,他們知道如何使用Ruby on Rails來完成工作,並且做得很好。- Alan Harris,《Sinatra: Up and Running》的作者