Learning Rails (Paperback)
暫譯: 學習 Rails

Simon St. Laurent, Edd Dumbill

  • 出版商: O'Reilly
  • 出版日期: 2008-11-28
  • 定價: $1,225
  • 售價: 2.4$299
  • 語言: 英文
  • 頁數: 448
  • 裝訂: Paperback
  • ISBN: 0596518773
  • ISBN-13: 9780596518776
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=6)

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

商品描述

While most books written about Rails cater to programmers looking for information on data structures, Learning Rails targets web developers whose programming experience is tied directly to the Web.

Rather than begin with the inner layers of a Rails web application--the models and controllers--this unique book approaches Rails development from the outer layer: the application interface. You'll learn how to create something visible with Rails before reaching the more difficult database models and controller code. With Learning Rails, you can start from the foundations of web design you already know, and then move more deeply into Ruby, objects, and database structures. This book will help you:

  • Present web content by building an application with a basic view and a simple controller, while learning Ruby along the way
  • Build forms and process their results, progressing from the simple to the more complex
  • Connect forms to models by setting up a database, and use Rails' ActiveRecord to 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
  • Create simple but dynamic interfaces with Rails and Ajax

Once you complete Learning Rails, you'll be comfortable working with the Rails web framework, and you'll be well on your way to becoming a Rails guru.

商品描述(中文翻譯)

在大多數關於 Rails 的書籍中,主要針對尋找資料結構資訊的程式設計師,而《Learning Rails》則針對那些其程式設計經驗直接與網頁相關的網頁開發者。

這本獨特的書籍並不是從 Rails 網頁應用程式的內部層次——模型和控制器開始,而是從外部層次:應用程式介面著手。您將學習如何使用 Rails 創建可見的東西,然後再深入到更困難的資料庫模型和控制器代碼中。透過《Learning Rails》,您可以從已知的網頁設計基礎開始,然後更深入地了解 Ruby、物件和資料庫結構。本書將幫助您:

- 通過建立一個具有基本視圖和簡單控制器的應用程式來呈現網頁內容,同時學習 Ruby
- 建立表單並處理其結果,從簡單到更複雜的進展
- 通過設置資料庫將表單連接到模型,並使用 Rails 的 ActiveRecord 創建映射到資料庫結構的代碼
- 使用 Rails 的 scaffolding 從以視圖為中心的角度構建應用程式
- 添加常見的網頁應用程式元素,如會話、cookies 和身份驗證
- 建立結合多個資料表資料的應用程式
- 使用 Rails 和 Ajax 創建簡單但動態的介面

一旦您完成《Learning Rails》,您將能夠自如地使用 Rails 網頁框架,並且將朝著成為 Rails 大師的方向邁進。