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吧。學習如何擴展這個框架,改變其行為,並替換整個組件以符合您的需求。八個不同的測試驅動教程將幫助您了解Rails的內部運作方式,並為您準備好應對複雜項目的解決方案,這些解決方案經過良好的測試,具有模塊化且易於維護。

這本暢銷書的第二版已更新至Rails 4,並討論了新主題,如流式傳輸、可掛載引擎和線程安全性。

Rails是最具擴展性的框架之一。這本開創性的書深入探討了Rails插件API,並向中級Rails開發人員展示如何使用這些API來編寫更好的Web應用程序,並使您在日常使用Rails時更加高效。

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

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

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