Learning Rails: Live Edition (Paperback)

Simon St. Laurent, Edd Wilder-James

  • 出版商: O'Reilly
  • 出版日期: 2010-08-09
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 1449383130
  • ISBN-13: 9781449383138
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 4)

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

商品描述

Ready to learn Rails? Get up to speed using the framework’s latest release. In this Live Edition, Learning Rails has been updated to cover Rails 2.3.5, making it an ideal guide for Rails beginners.

Unlike most Rails books, Learning Rails is for web developers, and not for programmers. Rather than begin with the inner layers of a Rails web application -- the models and controllers -- this book approaches Rails development from the outer layer: the view side of an application. You’ll start from the foundations of the Web you already know, and learn how to create something visible with Rails before reaching the more difficult database models and controller code. Each chapter includes exercises and review questions so you can test your understanding as you go.

  • Present 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 simple to more complex
  • Connect forms to models by setting up a database, and use Rails’ Active Record 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
O'Reilly Live Edition books give you access to updates to topics in between editions of a book. A Live Edition is an electronic and print-on-demand version of the book that is updated when there is a significant change to the software or technology the book covers, keeping you on top of .X releases or major fixes.

商品描述(中文翻譯)

準備好學習Rails了嗎?使用這個框架的最新版本來提升你的技能。在這本《Learning Rails》的Live Edition中,已經更新到了Rails 2.3.5,使其成為Rails初學者的理想指南。

與大多數Rails書籍不同,《Learning Rails》是為網頁開發人員而非程式設計師而寫的。這本書不是從Rails網頁應用的內部層面(模型和控制器)開始,而是從外部層面開始:應用的視圖。你將從你已經熟悉的Web基礎知識開始,學習如何使用Rails創建可見的內容,然後再進入更困難的數據庫模型和控制器代碼。每章都包含練習和複習問題,讓你在學習的過程中測試自己的理解能力。

本書的內容包括:
- 通過構建具有基本視圖和簡單控制器的應用程序來呈現內容,同時學習Ruby的過程
- 從簡單到複雜逐步構建表單並處理其結果
- 通過設置數據庫來將表單與模型相連,並使用Rails的Active Record創建與數據庫結構相對應的代碼
- 使用Rails scaffolding從視圖中心的角度構建應用程序
- 添加常見的Web應用程序元素,如會話、Cookie和身份驗證
- 構建從多個表中結合數據的應用程序
- 使用Rails和Ajax創建簡單但動態的界面

《O'Reilly Live Edition》書籍讓你在書籍版本之間獲得主題更新的資訊。Live Edition是一本電子和按需印刷的書籍版本,當書籍所涵蓋的軟體或技術有重大變化時,它會進行更新,讓你掌握.X版本或主要修復。