Magnificent Marvel Supersale
 
 

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores


    Recently Viewed clear list


    Original Essays | March 26, 2015

    Kyle Boelte: IMG Selfies, Memoir, and the World Beyond the Self



    When I was a teenager in Colorado during the late '90s, I liked to climb 14ers — 14,000-foot mountains. I'd often hike with friends, and at... Continue »

    spacer

This item may be
out of stock.

Click on the button below to search for this title in other formats.


Check for Availability
Add to Wishlist

Design Patterns in Ruby

by

Design Patterns in Ruby Cover

 

Synopses & Reviews

Publisher Comments:

Praise for Design Patterns in Ruby " Design Patterns in Rubydocuments smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work." -Steve Metsker, Managing Consultant with Dominion Digital, Inc. "This book provides a great demonstration of the key 'Gang of Four'design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically 'dry'subject into such an engaging and even occasionally humorous read." -Peter Cooper "This book renewed my interest in understanding patterns after a decade of good intentions. Russ picked the most useful patterns for Ruby and introduced them in a straightforward and logical manner, going beyond the GoF's patterns. This book has improved my use of Ruby, and encouraged me to blow off the dust covering the GoF book." -Mike Stok " Design Patterns in Rubyis a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby." -Rob Sanheim, Ruby Ninja, Relevance Most design pattern books are based on C++ and Java. But Ruby is different-and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code. After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language-enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and "mixins" for easier code reuse. Fourteen of the classic "Gang of Four" patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require. Design Patterns in Rubyalso identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based "Convention Over Configuration" pattern, designed to help integrate entire applications and frameworks. Engaging, practical, and accessible, Design Patterns in Rubywill help you build better software while making your Ruby programming experience more rewarding.

Synopsis:

This is the eBook version of the printed book.

Most design pattern books are based on C++ and Java. But Ruby is different--and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code.

After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language--enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and mixins for easier code reuse.

Fourteen of the classic Gang of Four patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require.

Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based Convention Over Configuration pattern, designed to help integrate entire applications and frameworks.

Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.

Table of Contents

Pt. I. Patterns and Ruby — Ch. 1. Building Better Programs with Patterns — Ch. 2. Getting Started with Ruby — Pt. II. Patterns in Ruby — Ch. 3. Varying the Algorithm with the Template Method — Ch. 4. Replacing the Algorithm with the Strategy — Ch. 5. Keeping Up with the Times with the Observer — Ch. 6. Assembling the Whole from the Parts with the Composite — Ch. 7. Reaching into a Collection with the Iterator — Ch. 8. Getting Things Done with Commands — Ch. 9. Filling in the Gaps with the Adapter — Ch. 10. Getting in Front of Your Object with a Proxy — Ch. 11. Improving Your Objects with a Decorator — Ch. 12. Making Sure There Is Only One with the Singleton — Ch. 13. Picking the Right Class with a Factory — Ch. 14. Easier Object Construction with the Builder — Ch. 15. Assembling Your System with the Interpreter — Pt. III. Patterns for Ruby — Ch. 16. Opening Up Your System with Domain-Specific Languages — Ch. 17. Creating Custom Objects with Meta-programming — Ch. 18. Convention Over Configuration — Ch. 19. Conclusion — App. A. Getting Hold of Ruby — App. B. Digging Deeper

Product Details

ISBN:
9780132702508
Publisher:
Addison-Wesley
Subject:
Computers : Programming Languages - General
Author:
Olsen, Russ
Subject:
main_subject
Subject:
all_subjects
Publication Date:
December 2007
Binding:
eBooks
Language:
English
Pages:
384

Related Subjects

Computers and Internet » Computers Reference » General
Computers and Internet » Internet » Web » Site Design
Computers and Internet » Software Engineering » General
Computers and Internet » Software Engineering » Programming and Languages

Design Patterns in Ruby
0 stars - 0 reviews
$ In Stock
Product details 384 pages Addison-Wesley - English 9780132702508 Reviews:
"Synopsis" by , This is the eBook version of the printed book.

Most design pattern books are based on C++ and Java. But Ruby is different--and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code.

After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language--enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and mixins for easier code reuse.

Fourteen of the classic Gang of Four patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require.

Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based Convention Over Configuration pattern, designed to help integrate entire applications and frameworks.

Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.

spacer
spacer
  • back to top

FOLLOW US ON...

     
Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.