Home > Computing and Information Technology > Computer programming / software engineering > Object-oriented programming (OOP) > Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)
17%
Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)

Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)

4.5       |  2 Reviews 
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications   Ruby’s widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples.   Sandi Metz has distilled a lifetime of conversations and presentations about object-oriented design into a set of Ruby-focused practices for crafting manageable, extensible, and pleasing code. She shows you how to build new applications that can survive success and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples, all downloadable from the companion Web site, poodr.info.   The first title to focus squarely on object-oriented Ruby application design, Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues.   This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code  

Table of Contents:
Foreword         xv Introduction         xvii Acknowledgments         xxi About the Author         xxiii   Chapter 1: Object-Oriented Design         1 In Praise of Design   2 The Tools of Design   4 The Act of Design   7 A Brief Introduction to Object-Oriented Programming   11 Summary 14   Chapter 2: Designing Classes with a Single Responsibility         15 Deciding What Belongs in a Class   16 Grouping Methods into Classes   16 Organizing Code to Allow for Easy Changes   16 Creating Classes That Have a Single Responsibility   17 Writing Code That Embraces Change   24 Finally, the Real Wheel   33 Summary   34   Chapter 3: Managing Dependencies         35 Understanding Dependencies   36 Writing Loosely Coupled Code   39 Managing Dependency Direction   51 Summary   57   Chapter 4: Creating Flexible Interfaces         59 Understanding Interfaces   59 Defining Interfaces   61 Public Interfaces   62 Private Interfaces   62 Responsibilities, Dependencies, and Interfaces   62 Finding the Public Interface   63 Writing Code That Puts Its Best (Inter)Face Forward   76 The Law of Demeter   80 Summary   83   Chapter 5: Reducing Costs with Duck Typing         85 Understanding Duck Typing   85 Writing Code That Relies on Ducks   95 Conquering a Fear of Duck Typing   100 Summary   104   Chapter 6: Acquiring Behavior Through Inheritance         105 Understanding Classical Inheritance   105 Recognizing Where to Use Inheritance   106 Misapplying Inheritance   114 Finding the Abstraction   116 Managing Coupling Between Superclasses and Subclasses   129 Summary 139   Chapter 7: Sharing Role Behavior with Modules         141 Understanding Roles   142 Writing Inheritable Code   158 Summary   162   Chapter 8: Combining Objects with Composition         163 Composing a Bicycle of Parts   164 Composing the Parts Object   168 Manufacturing Parts   176 The Composed Bicycle   180 Deciding Between Inheritance and Composition   184 Summary   190   Chapter 9: Designing Cost-Effective Tests         191 Intentional Testing   192 Testing Incoming Messages   200 Testing Private Methods   213 Testing Outgoing Messages   215 Testing Duck Types   219 Testing Inherited Code   229 Summary 240   Afterword         241   Index          243  


Best Sellers


Product Details
  • ISBN-13: 9780321721334
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Depth: 20
  • Language: English
  • Returnable: N
  • Spine Width: 14 mm
  • Weight: 544 gr
  • ISBN-10: 0321721330
  • Publisher Date: 20 Sep 2012
  • Binding: Paperback
  • Height: 232 mm
  • No of Pages: 272
  • Series Title: Addison-Wesley Professional Ruby Series
  • Sub Title: An Agile Primer
  • Width: 179 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

4.5       |  2 Reviews 
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
4.5       |  2 Reviews 
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)
    Pearson Education (US) -
    Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)
    Writing guidlines
    We want to publish your review, so please:
    • keep your review on the product. Review's that defame author's character will be rejected.
    • Keep your review focused on the product.
    • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
    • Refrain from mentioning competitors or the specific price you paid for the product.
    • Do not include any personally identifiable information, such as full names.

    Practical Object-Oriented Design in Ruby: An Agile Primer(Addison-Wesley Professional Ruby Series)

    Required fields are marked with *

    Review Title*
    Review
      Add Photo Add up to 6 photos
      Would you recommend this product to a friend?
      Tag this Book
      Read more
      Does your review contain spoilers?
      What type of reader best describes you?
      I agree to the terms & conditions
      You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

      CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

      These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


      By submitting any content to Bookswagon, you guarantee that:
      • You are the sole author and owner of the intellectual property rights in the content;
      • All "moral rights" that you may have in such content have been voluntarily waived by you;
      • All content that you post is accurate;
      • You are at least 13 years old;
      • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
      You further agree that you may not submit any content:
      • That is known by you to be false, inaccurate or misleading;
      • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
      • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
      • For which you were compensated or granted any consideration by any unapproved third party;
      • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
      • That contains any computer viruses, worms or other potentially damaging computer programs or files.
      You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


      For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


      All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

      Accept

      New Arrivals


      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!
      ASK VIDYA