Crafting Rails 4 Applications: Expert Practices for Everyday Rails Development, 2/e (Paperback)
暫譯: 打造 Rails 4 應用程式:日常 Rails 開發的專家實踐,第二版 (平裝)

Jose Valim

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2013-12-24
  • 定價: $1,188
  • 售價: 5.0$594
  • 語言: 英文
  • 頁數: 208
  • 裝訂: Paperback
  • ISBN: 1937785556
  • ISBN-13: 9781937785550
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=2)

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

商品描述

content<p>Get ready to see Rails as you've never seen it before. Learn how to extend the framework, change its behavior, and replace whole components to bend it to your will. Eight different test-driven tutorials will help you understand Rails' inner workings and prepare you to tackle complicated projects with solutions that are well-tested, modular, and easy to maintain.<br/><br/> This second edition of the bestselling <i>Crafting Rails Applications</i> has been updated to Rails 4 and discusses new topics such as streaming, mountable engines, and thread safety.<br/><br/> Rails is one of the most extensible frameworks out there. This pioneering book deep-dives into the Rails plugin APIs and shows you, the intermediate Rails developer, how to use them to write better web applications and make your day-to-day work with Rails more productive.<br/><br/> Rails Core developer Jose Valim guides you through eight different tutorials, each using test-driven development to build a new Rails plugin or application that solves common problems with these APIs. You'll learn how the Rails rendering stack works and customize it to read templates from the database while you discover how to mimic Active Record behavior, such as validations, in any other object. You'll find out how Rails integrates with Rack, the different ways to stream data from your web application, and how to mix Rails engines and Sinatra applications into your Rails apps, so you can choose the most appropriate tool for the job. In addition, you'll improve your productivity by customizing generators and responders.<br/><br/> This book will help you understand Rails' inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you'll gain, you'll create well-tested, modular, and robust solutions for your next project.<br/><br/><b>What You Need</b><br/><br/> This book requires previous experience with Ruby on Rails.</p>sourceProduct Description

商品描述(中文翻譯)

準備好以全新的視角來看待 Rails。學習如何擴展這個框架、改變其行為,並替換整個組件,以使其符合你的需求。八個不同的測試驅動教程將幫助你理解 Rails 的內部運作,並為你準備好應對複雜項目,提供經過良好測試、模組化且易於維護的解決方案。

這本暢銷書《Crafting Rails Applications》的第二版已更新至 Rails 4,並討論了如串流、可掛載引擎和執行緒安全等新主題。

Rails 是最具擴展性的框架之一。這本開創性的書籍深入探討了 Rails 插件 API,並向你這位中級 Rails 開發者展示如何使用它們來編寫更好的網頁應用程式,並提高你日常使用 Rails 的生產力。

Rails 核心開發者 Jose Valim 將帶領你完成八個不同的教程,每個教程都使用測試驅動開發來構建一個新的 Rails 插件或應用程式,以解決這些 API 的常見問題。你將學習 Rails 渲染堆疊的運作方式,並自定義它以從資料庫讀取模板,同時發現如何在其他物件中模仿 Active Record 的行為,例如驗證。你將了解 Rails 如何與 Rack 整合、從網頁應用程式串流數據的不同方式,以及如何將 Rails 引擎和 Sinatra 應用程式混合到你的 Rails 應用程式中,以便選擇最合適的工具來完成工作。此外,你還將通過自定義生成器和回應者來提高你的生產力。

這本書將幫助你理解 Rails 的內部運作,包括生成器、模板處理器、國際化、路由和回應者。憑藉你所獲得的知識,你將為下一個項目創建經過良好測試、模組化且穩健的解決方案。

你需要的條件

這本書需要具備 Ruby on Rails 的先前經驗。