Learning Rails (Paperback)

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》這本書不同於其他關於 Rails 的書籍,它針對的是那些與網頁開發直接相關的網頁開發者,而非專注於資料結構的程式設計師。

這本獨特的書籍並不是從 Rails 網頁應用程式的內部層面(模型和控制器)開始,而是從外部層面:應用程式介面。在學習更複雜的資料庫模型和控制器程式碼之前,你將學習如何使用 Rails 創建可見的內容。透過《學習 Rails》,你可以從你已經熟悉的網頁設計基礎開始,然後更深入地學習 Ruby、物件和資料庫結構。這本書將幫助你:

- 透過建立具有基本視圖和簡單控制器的應用程式,同時學習 Ruby
- 從簡單到複雜,建立表單並處理其結果
- 通過設置資料庫,將表單與模型相連,並使用 Rails 的 ActiveRecord 創建與資料庫結構相對應的程式碼
- 使用 Rails 的腳手架從視圖中心的角度建立應用程式
- 添加常見的網頁應用程式元素,如會話、Cookie 和身份驗證
- 建立從多個表格中結合數據的應用程式
- 使用 Rails 和 Ajax 創建簡單但動態的介面

完成《學習 Rails》後,你將能夠自如地使用 Rails 網頁框架,並朝著成為 Rails 專家的道路上邁進。