Crafting Rails 4 Applications: Expert Practices for Everyday Rails Development, 2/e (Paperback)

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 4,並討論了新主題,如流式傳輸、可掛載引擎和線程安全性。


Rails核心開發人員Jose Valim通過八個不同的教程引導您,每個教程都使用測試驅動開發來構建新的Rails插件或應用程序,以解決這些API的常見問題。您將了解Rails渲染堆棧的工作原理,並自定義它以從數據庫中讀取模板,同時發現如何模仿Active Record的行為,例如驗證,應用於任何其他對象。您將了解Rails如何與Rack集成,從Web應用程序中流式傳輸數據的不同方法,以及如何將Rails引擎和Sinatra應用程序混合到Rails應用程序中,以便您可以選擇最適合的工具來完成工作。此外,通過自定義生成器和回應器,您將提高生產力。


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