The Merb Way (Addison-Wesley Professional Ruby Series)

The Merb Way (Addison-Wesley Professional Ruby Series)

by Foy Savas
     
 

View All Available Formats & Editions

“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

Overview

“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

Product Details

ISBN-13:
9780321606389
Publisher:
Addison-Wesley
Publication date:
07/10/2009
Series:
Addison-Wesley Professional Ruby Series
Pages:
333
Product dimensions:
6.90(w) x 9.00(h) x 0.90(d)

Related Subjects

Meet the Author

Foy Savas is both a contributor to the Merb project and one of Merb’s earliest adopters. He has applied the Merb framework in both large and small production applications. Foy is director at Assembly (http://assemb.ly), a Boston-based consulting firm focused on connecting brilliant people with innovative ideas. In the past he has served as CTO for a large health and fitness site and as a lead consultant for several white-labeled Web applications.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >