Faça download dos Aplicativos de Leitura Kindle Gratuitos e comece a ler eBooks Kindle nos mais populares smartphones, tablets e computadores pessoais. Para enviar o link de download para seu smartphone por SMS, use o formato internacional sem espaços (Código Internacional+DDD+Número. Exemplo: +551199999999)

  • Apple
  • Android
  • Windows Phone
  • Android

Para receber o link de download digite seu celular:

Preço digital sugerido: R$ 153,73
Preço Kindle: R$ 104,79

Economize
R$ 48,94 (32%)

OU

Essas promoções serão aplicadas a este item:

Algumas promoções podem ser combinadas; outras não são elegíveis. Para detalhes, por favor, acesse os Termos e Condições dessas promoções.

Entregar no seu Kindle ou em outro dispositivo

Entregar no seu Kindle ou em outro dispositivo

Anúncio do aplicativo do Kindle

Design Patterns in Ruby (Adobe Reader) (Addison-Wesley Professional Ruby Series) 1 , eBook Kindle


Ver todos os 2 formatos e edições Ocultar outros formatos e edições
Preço
Novo a partir de Usado a partir de
eBook Kindle
"Tente novamente"
R$ 104,79

Número de páginas: 386 páginas Configuração de fonte: Habilitado Page Flip: Habilitado
Idioma: Inglês

Novidades da Loja Kindle
Novidades da Loja Kindle
eBooks novos para sua biblioteca digital. Veja aqui

Descrições do Produto

Descrição do produto

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. 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.

Contracapa

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. 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.


Detalhes do produto

  • Formato: eBook Kindle
  • Tamanho do arquivo: 1606 KB
  • Número de páginas: 386 páginas
  • Quantidade de dispositivos em que é possível ler este eBook ao mesmo tempo: Você pode ler este eBook em até 5 dispositivos ao mesmo tempo, de acordo com os limites estabelecidos pela editora
  • Editora: Addison-Wesley Professional; Edição: 1 (10 de dezembro de 2007)
  • Vendido por: Amazon Servicos de Varejo do Brasil Ltda
  • Idioma: Inglês
  • ASIN: B004YW6M6G
  • Leitura de texto: Habilitado
  • X-Ray:
  • Dicas de vocabulário: Não habilitado
  • Leitor de tela: Compatível
  • Configuração de fonte: Habilitado
  • Avaliação média: Seja o primeiro a avaliar este item
  • Lista de mais vendidos da Amazon: #125,415 entre os mais vendidos na Loja Kindle (Conheça os 100 mais vendidos na Loja Kindle)

Avaliação de clientes

Ainda não há avaliações de clientes para este título na Amazon.com.br
5 estrelas
4 estrelas
3 estrelas
2 estrelas
1 estrela

Avaliações mais úteis de consumidores na Amazon.com (beta) (Pode incluir avaliações do Programa de Recompensas para Primeiros Avaliadores)

Amazon.com: 4.6 de 5 estrelas 40 avaliações
Esta avaliação foi considerada útil por 1 de 1 pessoa(s):
4.0 de 5 estrelas Great introductory anecdotes 21 de abril de 2015
Por Strategist - Publicada na Amazon.com
Formato: Capa dura Compra verificada
Great introductory anecdotes. Actually relevant and engaging, unlike most other intros. The writing style is solid. The summary and comparison to non-ruby design pattersn by the Gang of Four are very useful. Sometimes I think the writing could be a bit better, as it can sometimes be hard to digest. I think more comparison and differentiation between patterns would be useful as a separate section, as some design pattersn are very similar, and often times hard to distinguish by isolated, separate explanations alone without explicit comparing.

I'd recommend this book to people who have programmed some object oriented application, not brand new beginners to coding. Also, I recommend first reading Sandi Metz's object oriented programming in ruby first, as it familiarizes you with the design problems and solutions... which totally sets you up with the context and understanding that makes this amazing book on design patterns totally sink in better. This book is like gear 3, whereas Sandi's book may be considered gear 2 (gear 1 is just being familiar with ruby language or programming in general). It's much more effective to first reach your previous gear before going into higher gears.
Esta avaliação foi considerada útil por 3 de 3 pessoa(s):
5.0 de 5 estrelas Must read for all serious runt developers 2 de setembro de 2013
Por tomh - Publicada na Amazon.com
Formato: eBook Kindle Compra verificada
After reading Russ Olsen's Eloquent Ruby years ago, I knew this was a guy who could write. I have recommended that book to numerous people since then, and recently when I was searching for it I found this book. It does not disappoint. If you have read the "gang of four" Design Patterns book you'll recognize most of what Olsen writes about here. But what is amazing and cool is that the book is for rubyists and he demonstrates patterns that are regularly relevant to those of us writing ruby professionally (that includes Rails). And of course there are opportunities to use the beauty of ruby to do in a few lines what I did in many in C++ and Java, so it continues in the vein of instruction I loved so much in Eloquent Ruby. There are even some ruby-specific patterns at the end. I have been writing ruby since 2008 or thereabouts and have written a lot of bad code, and read far more bad code. Read and understand Olsen's books and do the world a favor by seeing ways to follow clean, elegant, simple and regular patterns that make your ruby beautiful.
Esta avaliação foi considerada útil por 1 de 1 pessoa(s):
5.0 de 5 estrelas Amazing primer on design patterns! 8 de abril de 2015
Por Jim F. - Publicada na Amazon.com
Formato: Capa dura Compra verificada
Design Patterns in Ruby is humorous at times and well thought out, covering 14 of the Gang of Four (GoF) design patterns. Since it's written with the Ruby language in mind, the examples take advantage of things like `method_missing` and were really clear to me since I write primarily in Ruby.

As a newer software engineer, it's really valuable to recognize the patterns I've seen and used and to put names to them. I think it's intended audience is intermediate software engineers who are looking for new ways to structure their code and want to learn some terms that help articulate code structure to other engineers.
Esta avaliação foi considerada útil por 4 de 4 pessoa(s):
5.0 de 5 estrelas Concise explanation of design patterns, in Ruby. 2 de abril de 2009
Por Nate Klaiber - Publicada na Amazon.com
Formato: Capa dura Compra verificada
If you have been programming for any extended period of time, I am sure you have started to see different patterns emerging out of your tasks. You may find you are doing the same thing over and over again, solving problems that you had previously solved in another project. These patterns can vary from smaller chunks of re-usable code, to manage the sending and receiving of email, all the way to watching over a part of your application and triggering notifications to another part of your application. This book, Design Patterns in Ruby takes several of the principles found in the widely known book, Design Patterns by The Gang of Four, and applies them to Ruby. It's a mixture of the theory behind the design patterns, and then hands-on practice applying it to your Ruby applications. While this book is centered around patterns in Ruby, it is not about teaching you Ruby. There is a brief primer in the beginning, but it comes with the understanding that you already know a little bit about the Ruby language. Now it's time to check out some of the patterns presented in this book.

WHAT ARE PATTERNS?
The book starts off with a chapter devoted to giving background to design patterns and how they can help you build better applications. This chapter isn't a history lesson. The main points of this chapter teach you about awareness. They teach you how to look at your applications, and when and where patterns could best be applied. He gives what he calls Patterns for Patterns while developing:

Separate out the things that change from the things that stay the same.
Program to an interface, not an implementation.
Prefer composition over inheritance.
Delegate, delegate, delegate.
You ain't gonna need it.

These principles provide us the glasses with which to look through as we assess our code. You will want to keep these in the back of your mind as you read through the rest of the book.

WHAT IS RUBY?
As I stated in the beginning, this book isn't about teaching you Ruby. However, the author does take the second chapter to walk you through the basics. This chapter simply shows you a bit of the syntax, types, and constructs. This intro is very brief, but probably enough to provide a reference throughout the rest of the book if you haven't worked with Ruby before. With this primer into Ruby, the author wraps up the first part of the book and we are now ready to move on to the 14 patterns covered in this book.

THE PATTERNS
Spotting patterns might not always be easy, even with the guidelines given in the first chapter. One of the strengths of this book is that each chapter poses a different problem and then tackles is using the suggested pattern. This allows you to see it in action, and allows you to get the wheels spinning on how the pattern is used and where else it could be used. After walking through each of the patterns, we are presented with a nice wrap-up of the pattern.

This book is not very long in length, so I won't go into great detail with each of the patterns, as they are covered very well in each chapter. You need the context to understand how all of the pieces fit together. So, without providing too much information, here is a list of the patterns covered in the book:

Template method
Strategy
Observer
Composite
Iterator
Command
Adapter
Proxy
Decorator
Singleton
Factory
Abstract Factory
Builder
Interpreter

If you are like me, then you will have read these chapters and be left with a desire to instantly start researching, practicing, and applying what you have learned. But we aren't done quite yet, there is still one more section to go. We now know what the patterns look like. We have seen the examples done solely in Ruby. Everything makes sense. But can we do more? Now we shift gears to look at patterns found in the Ruby language itself.

THE PATTERNS + RUBY
The Ruby language itself has several patterns that make programming Ruby fun and elegant. The last part of this book shows us a few of those patterns, as they can be used extensively while building your application patterns. If you have ever browsed through the Ruby on Rails source code, then you will have seen all of the patterns listed above, as well as the patterns in Ruby. Here are a few of those:

Domain-Specific Languages
Meta-programming
Convention over configuration

Ruby is such an elegant language to work with, and it is due in many parts to these patterns found within the language. These aren't patterns solely used by Ruby, but the English-like nature of Ruby makes it fun to both read and write with these patterns.

PARTING THOUGHTS
This book fits nicely with the Addison Wesley Professional Ruby Series, but doesn't require you to read all other books in the series to fully comprehend. While the progression of this book was done very well, starting you off with a discussion of patterns and Ruby, then diving right into the patterns, I did find myself reading this book several times. I didn't read it several times because I didn't understand it, but simply to read with a new outlook on how and where these patterns could be applied, or are currently applied out in the wild. I find this book not only to be very informative, but also an excellent reference as I look to solve different problems. If you are a programmer, you should definitely read Design Patterns. If you are a Ruby programmer, you should then read Design Patterns in Ruby.
Esta avaliação foi considerada útil por 5 de 5 pessoa(s):
5.0 de 5 estrelas Engaging and Educational 11 de junho de 2008
Por Brian Uri - Publicada na Amazon.com
Formato: Capa dura Compra verificada
I am a Java developer whose Ruby experience is limited to firing up the interactive Ruby shell for a Hello World, or reading the first chapters of Programming Ruby before drifting away and vowing to learn Ruby "when I have more time". I work with the author, and purchased this book solely on the strength of his training courses and lectures. Russ Olsen in book-format is just as effective a teacher as he is in person.

The book is a hybrid reference/Ruby-introduction book which provides the best of both worlds -- I was able to read it cover-to-cover without losing interest, something I could never quite accomplish with the original GoF Design Patterns text. Each chapter also functions as a modular unit, with concise introductions and conclusions that will be great on a day when I pull it off my shelf for use as a reference book. The Design Patterns provide a nice playpen for the sections on Ruby coding practices and features, and the coding sections give a better context for the Patterns.

Each Pattern is discussed in theory and in real-world code, and the author is very clear about the benefits and pitfalls of employing them. In addition, the book provides a solid, likable profile of the Ruby language without the evangelizing common in other books. Code examples are concise and useful, and the writing style is humorously engaging without falling into the trap where engineers-turned-authors suddenly believe they are stand-up comedians and sprinkle every paragraph with a multitude of grating jokes. There were a few mistakes in the text, but all of them were already captured and corrected on the book's web site.

In my library of tech books, the best books, the ones I constantly revisit, are not the ones that show me how to do something -- they are the ones that place what I do in a wider context and show me the possibilities of what CAN be done. Although I do not currently use Ruby in my day-to-day work, I can see this book becoming invaluable when that day comes.
click to open popover