The Merb Way (Paperback)

Foy Savas

  • 出版商: Addison Wesley
  • 出版日期: 2009-07-04
  • 定價: $1,400
  • 售價: 6.0$840
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Paperback
  • ISBN: 0321606388
  • ISBN-13: 9780321606389
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=2)

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

相關主題

商品描述

“Foy is a gifted writer and his descriptions of the philosophies that( impacted the design and implementation of Merb are definitely useful to( everyone affected by the changes in Rails 3.”

–Obie Fernandez, Series Editor

 

The Expert Guide to Building Merb Applications

 

Thousands of Ruby and Rails developers are discovering the extraordinary scalability, agility, flexibility, and performance offered by the new Merb MVC framework. The Merb Way is the first comprehensive guide to using, extending, and deploying Merb. Like the bestseller The Rails Way (Addison-Wesley, 2008), this book can either be read cover-to-cover as a tutorial or used for modular coverage that makes it an ideal task reference. Foy Savas systematically covers everything developers need to know to build production-quality Merb applications, offering detailed code examples for jumpstarting virtually any project.

 

Savas is not only involved in the Merb project as an open source contributor: He uses Merb every day as a professional developer. Drawing on his extensive practical expertise, he delves deeply into the Merb framework’s architecture and source code, revealing its elegance and offering powerful best practices for using it. To maximize this book’s practical value, he also covers the tools most widely used alongside Merb, including the DataMapper ORM, the RSpec tester (and associated behavior-driven development techniques), and several leading Merb plugins.

 

The Merb Way will help you

  • Master Merb innovations that will be incorporated into Rails 3
  • Understand the fundamentals of Merb development, one step at a time
  • Use Merb’s sophisticated application router to guide incoming requests
  • Explore the Merb stack, master its configuration options, and dive into its internals
  • Use Merb controllers to integrate application code, handle responses, and manage sessions, filters, and exceptions
  • Build templates with both ERB (Erubis) and HAML
  • Use the DataMapper ORM to represent object properties and behaviors
  • Learn best practices for RESTful development with Merb
  • Leverage Helpers to simplify many common development tasks
  • Refactor code, encapsulate it in gems, and share it across multiple applications
  • Customize the responses your application sends to each user
  • Gain a deep, practical understanding of Merb plugins and extensibility
  • Authenticate users with Merb’s modular authentication plugin
  • Configure, generate, describe, and test Merb mailers
  • Use the merb-parts gem to create component-like regions on Web pages
  • Cache content to relieve stress on Web servers
  • Make the most of Behavior Driven Development and testing with RSpec

 

商品描述(中文翻譯)

「Foy是一位有天賦的作家,他對影響Merb設計和實施的哲學的描述對所有受到Rails 3變化影響的人來說絕對是有用的。」
- Obie Fernandez,系列編輯

《建立Merb應用程式的專家指南》
數以千計的Ruby和Rails開發人員正在發現新的Merb MVC框架所提供的卓越可擴展性、靈活性、彈性和性能。《Merb之道》是第一本全面指南,介紹如何使用、擴展和部署Merb。就像暢銷書《Rails之道》(Addison-Wesley,2008)一樣,本書可以作為教程從頭到尾閱讀,也可以作為模塊化的參考,是理想的任務參考書。Foy Savas系統地介紹了開發人員需要了解的建立生產質量的Merb應用程式的一切,並提供了詳細的代碼示例,以便快速啟動任何項目。

Savas不僅作為Merb項目的開源貢獻者參與其中,他還作為專業開發人員每天使用Merb。他根據自己廣泛的實踐經驗,深入探討了Merb框架的架構和源代碼,揭示了其優雅之處,並提供了使用它的強大最佳實踐。為了最大化本書的實用價值,他還介紹了Merb最廣泛使用的工具,包括DataMapper ORM、RSpec測試器(以及相關的行為驅動開發技術)和幾個領先的Merb插件。

《Merb之道》將幫助您:
- 掌握將被納入Rails 3的Merb創新
- 逐步了解Merb開發的基礎知識
- 使用Merb複雜的應用程式路由器來引導請求
- 探索Merb堆棧,掌握其配置選項,深入了解其內部結構
- 使用Merb控制器集成應用程式代碼,處理響應,管理會話、過濾器和異常
- 使用ERB(Erubis)和HAML構建模板
- 使用DataMapper ORM表示對象的屬性和行為
- 學習使用Merb進行RESTful開發的最佳實踐
- 利用Helpers簡化許多常見的開發任務
- 重構代碼,將其封裝為gem,在多個應用程式之間共享
- 自定義應用程式對每個用戶發送的響應
- 深入了解Merb插件和可擴展性
- 使用Merb的模塊化身份驗證插件對用戶進行身份驗證
- 配置、生成、描述和測試Merb郵件
- 使用merb-parts gem在網頁上創建組件式區域
- 緩存內容以減輕Web服務器的壓力
- 充分利用行為驅動開發和RSpec進行測試的優勢