当前位置: 首页 > 资源下载 > 编程语言 > 查看资源

资源分类
Web开发
Java
.NET
编程语言
数据库
软件工程
图形动画
系统管理
网络通信安全
计算机理论
考试认证
人文百科
文档手册
硬件技术
办公软件

Design Patterns in Ruby

Design Patterns in Ruby

书名:Design Patterns in Ruby

上传:石头

时间:2010-01-03

文件大小:1.97 MB

资源出处:查看资源出处 >>

收藏到网摘: n/a



作者:Russ Olsen
出版日期:December 20, 2007
出版社:Addison Wesley
页数:384
ISBN:ISBN-10: 0321490452 ISBN-13: 978-0321490452
文件格式:PDF

Praise for Design Patterns in Ruby
“Design Patterns in Ruby documents smartways to resolve many problems that Ruby developers commonly encounter.Russ Olsen has done a great job of selecting classic patterns andaugmenting these with newer patterns that have special relevance forRuby. He clearly explains each idea, making a wealth of experienceavailable 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 coversenough ground that even those without prior exposure to design patternswill soon feel confident applying them using Ruby. Olsen has done agreat job to make a book about a classically ‘dry’ subject into such anengaging and even occasionally humorous read.”
—Peter Cooper
“This book renewed my interest in understanding patterns after adecade of good intentions. Russ picked the most useful patterns forRuby and introduced them in a straightforward and logical manner, goingbeyond the GoF’s patterns. This book has improved my use of Ruby, andencouraged me to blow off the dust covering the GoF book.”
—Mike Stok
“Design Patterns in Ruby is a great wayfor programmers from statically typed objectoriented languages to learnhow design patterns appear in a more dynamic, flexible language likeRuby.”
—Rob Sanheim, Ruby Ninja, Relevance
Most design pattern books are based on C++ and Java. But Ruby isdifferent—and the language’s unique qualities make design patternseasier to implement and use. In this book, Russ Olsen demonstrates howto combine Ruby’s power and elegance with patterns, and write moresophisticated, 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 anyexperienced software developer to immediately utilize patterns withRuby. The book especially calls attention to Ruby features thatsimplify 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 fromthe Ruby point of view, explaining what problems each pattern solves,discussing whether traditional implementations make sense in the Rubyenvironment, and introducing Ruby-specific improvements. You’lldiscover opportunities to implement patterns in just one or two linesof code, instead of the endlessly repeated boilerplate thatconventional languages often require.
Design Patterns in Ruby also identifiesinnovative new patterns that have emerged from the Ruby community.These include ways to create custom objects with metaprogramming, aswell 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.
About the Author
Russ Olsen has been building software for more thantwenty-five years. He has led projects through several generations ofprogramming technologies, from FORTRAN to C to C++ to Java, and nowRuby. He has been using and teaching Ruby since 2002. Olsen writes thepopular technology blog Technology As If People Mattered(http://www.russolsen.com).
Tags:DesignPatternsRuby


相关书籍

  • Database Design: Know It All (PDF英文版)
  • 《Web应用设计模式》(Web Application Design Patterns)[PDF]
  • Linux Appliance Design: A Hands-On Guide to Building Linux Appliances
  • Patterns for Performance and Operability: Building and Testing Enterprise Softwa
  • 《Web应用设计模式》(Web Application Design Patterns)[PDF]

评论 (0) All

登陆 | 还没注册?