1 option
Design patterns in Ruby / Russ Olsen.
- Format:
- Book
- Author/Creator:
- Olsen, Russ (Software developer)
- Series:
- Addison-Wesley Professional Ruby
- Addison-Wesley professional Ruby series
- Addison-Wesley professional Ruby series Design patterns in Ruby
- Language:
- English
- Subjects (All):
- Ruby on rails (Electronic resource).
- Software patterns.
- Physical Description:
- 1 online resource (xxvii, 352 p. ) ill. ;
- Edition:
- 1st edition
- Place of Publication:
- Upper Saddle River, NJ : Addison-Wesley, c2008.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Praise for Design Patterns in Ruby " Design Patterns in Ruby documents 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 Ruby is 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...
- Contents:
- Intro
- Title Page
- Copyright Page
- Praise for Design Patterns in Ruby
- Addison-Wesley Professional Ruby Series
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- Part I: Patterns and Ruby
- Chapter 1. Building Better Programs with Patterns
- Chapter 2. Getting Started with Ruby
- Part II: Patterns in Ruby
- Chapter 3. Varying the Algorithm with the Template Method
- Chapter 4. Replacing the Algorithm with the Strategy
- Chapter 5. Keeping Up with the Times with the Observer
- Chapter 6. Assembling the Whole from the Parts with the Composite
- Chapter 7. Reaching into a Collection with the Iterator
- Chapter 8. Getting Things Done with Commands
- Chapter 9. Filling in the Gaps with the Adapter
- Chapter 10. Getting in Front of Your Object with a Proxy
- Chapter 11. Improving Your Objects with a Decorator
- Chapter 12. Making Sure There Is Only One with the Singleton
- Chapter 13. Picking the Right Class with a Factory
- Chapter 14. Easier Object Construction with the Builder
- Chapter 15. Assembling Your System with the Interpreter
- Part III: Patterns for Ruby
- Chapter 16. Opening Up Your System with Domain-Specific Languages
- Chapter 17. Creating Custom Objects with Meta-programming
- Chapter 18. Convention Over Configuration
- Chapter 19. Conclusion
- Appendix A. Getting Hold of Ruby
- Appendix B. Digging Deeper
- Index
- Footnotes
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
- Chapter 12
- Chapter 13
- Chapter 14
- Chapter 15
- Chapter 16
- Chapter 17
- Chapter 18
- Chapter 19.
- Notes:
- Includes index.
- Includes bibliographical references (p. 335-338) and index.
- Description based on publisher supplied metadata and other sources.
- ISBN:
- 9780321539267
- 0321539265
- 9780132702508
- 0132702509
- OCLC:
- 213482749
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.