Skip to Main Content
Simple Object-Oriented Design
book

Simple Object-Oriented Design

by Mauricio Aniche
May 2024
Intermediate to advanced content levelIntermediate to advanced
192 pages
4h 26m
English
Manning Publications
Content preview from Simple Object-Oriented Design

6 Handling external dependencies and infrastructure

This chapter covers

  • Decoupling infrastructure code from the domain
  • Understanding how far to go when decoupling infrastructure
  • Creating wrappers on top of infrastructure libraries and data structures

Software systems rarely exist in isolation; they often interact with databases for data persistence or web services from external companies or internal teams. A significant challenge in software design is preventing our code from being contaminated by these outside details.

You may wonder why this is a problem. There are a few reasons to protect your domain from external influences. First, they can impede your ability to replace a component with something simpler, which would facilitate testing. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Object Design Style Guide

Object Design Style Guide

Matthias Noback
Design It!

Design It!

Michael Keeling

Publisher Resources

ISBN: 9781633437999Publisher SupportOtherPublisher WebsitePurchase Link