Learning Rails 5: Rails from the Outside in

J. Mark Locklear

  • 出版商: O'Reilly
  • 出版日期: 2016-09-27
  • 定價: $1,510
  • 售價: 9.0$1,359
  • 語言: 英文
  • 頁數: 452
  • 裝訂: Paperback
  • ISBN: 1491926198
  • ISBN-13: 9781491926192
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 3)

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

商品描述

If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework’s Model-View-Controller architecture, as many books do, Learning Rails 5 begins with the foundations of the Web you already know.

You’ll learn how to create something visible with Rails’ view layer before diving into the more difficult inner layers: the database models and controller code. All you need to begin your Rails journey 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
  • Use Rails scaffolding and REST to build effective applications quickly
  • Connect forms to models and create code that maps directly to database structures
  • Build applications that combine data from multiple tables
  • Use migrations to track changes to your database over time
  • Add common elements such as sessions, cookies, and authentication

商品描述(中文翻譯)

如果你是一位準備學習Ruby on Rails的網頁開發者或設計師,這本實踐指南是你入門的理想方式。與其他書籍將你直接投入到框架的模型-視圖-控制器架構中不同,《學習Rails 5》從你已經熟悉的Web基礎知識開始。

在深入探討更困難的內部層(數據庫模型和控制器代碼)之前,你將學習如何使用Rails的視圖層創建可見的內容。開始Rails之旅所需的只是HTML經驗。每個章節都包含練習和複習問題,以便在學習過程中測試你的理解能力。

本書的內容包括以下方面:
- 通過構建具有基本視圖和簡單控制器的應用程序來呈現內容
- 逐步構建表單並處理其結果,從簡單到複雜
- 使用Rails腳手架和REST快速構建有效的應用程序
- 將表單連接到模型並創建直接映射到數據庫結構的代碼
- 構建從多個表中結合數據的應用程序
- 使用遷移跟踪數據庫的變化
- 添加常見元素,如會話、Cookie和身份驗證