Crafting Rails Applications: Expert Practices for Everyday Rails Development (Paperback)
暫譯: 打造 Rails 應用程式:日常 Rails 開發的專家實踐

Jose Valim

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2011-04-14
  • 定價: $1,155
  • 售價: 1.7$199
  • 語言: 英文
  • 頁數: 184
  • 裝訂: Paperback
  • ISBN: 1934356735
  • ISBN-13: 9781934356739
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

Rails Core developer Jose Valim guides you through seven different tutorials, each of them using test-driven development to build a new Rails extension or application that solves common problems with these new APIs. You will understand how the Rails rendering stack works and customize it to read templates from the database while you learn how to mimic Active Record behavior, like validations, in any other object. You will find out how to write faster, leaner controllers, and you'll learn how to mix Sinatra applications into your Rails apps, so you can choose the most appropriate tool for the job. In addition, you will improve your productivity by customizing generators and responders.

This book will help you understand Rails 3's inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you'll gain, you'll be ready to tackle complicated projects more easily than ever before, creating solutions that are well-tested, modular, and easy to maintain.

商品描述(中文翻譯)

Rails 核心開發者 Jose Valim 將帶領您完成七個不同的教程,每個教程都使用測試驅動開發來構建一個新的 Rails 擴展或應用程式,以解決這些新 API 的常見問題。您將了解 Rails 渲染堆疊的運作方式,並自訂它以從資料庫讀取模板,同時學習如何在任何其他物件中模仿 Active Record 的行為,例如驗證。您將發現如何編寫更快速、更精簡的控制器,並學習如何將 Sinatra 應用程式混合到您的 Rails 應用程式中,以便選擇最適合工作的工具。此外,您將透過自訂生成器和回應者來提高生產力。

本書將幫助您理解 Rails 3 的內部運作,包括生成器、模板處理器、國際化、路由和回應者。透過您所獲得的知識,您將能夠比以往更輕鬆地處理複雜的專案,創建經過良好測試、模組化且易於維護的解決方案。