Crafting Rails Applications: Expert Practices for Everyday Rails Development (Paperback)

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的內部工作原理,包括生成器、模板處理程序、國際化、路由和回應器。憑藉您所獲得的知識,您將能夠比以往更輕鬆地應對複雜的項目,創建經過良好測試、模塊化且易於維護的解決方案。