Learning Rails 5: Rails from the Outside in
暫譯: 學習 Rails 5:從外部深入了解 Rails

J. Mark Locklear

  • 出版商: O'Reilly
  • 出版日期: 2016-09-27
  • 定價: $1,510
  • 售價: 8.8$1,329
  • 語言: 英文
  • 頁數: 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 的網頁開發者或設計師,這本實作指南是開始的理想方式。與許多書籍將您直接投入框架的模型-視圖-控制器(Model-View-Controller, MVC)架構不同,Learning Rails 5 以您已經熟悉的網頁基礎開始。

您將學習如何使用 Rails 的視圖層創建可見的內容,然後再深入到更複雜的內部層:數據庫模型和控制器代碼。開始您的 Rails 之旅所需的僅僅是 HTML 的經驗。每一章都包含練習和回顧問題,以測試您的理解。

- 通過構建具有基本視圖和簡單控制器的應用程序來呈現內容
- 構建表單並處理其結果,從簡單到更複雜逐步進行
- 使用 Rails 的 scaffolding 和 REST 快速構建有效的應用程序
- 將表單連接到模型,並創建直接映射到數據庫結構的代碼
- 構建結合多個表數據的應用程序
- 使用遷移(migrations)跟踪數據庫隨時間的變更
- 添加會話、cookies 和身份驗證等常見元素