Skip to Content
Clean Architecture: A Craftsman's Guide to Software Structure and Design
book

Clean Architecture: A Craftsman's Guide to Software Structure and Design

by Robert C. Martin
September 2017
Intermediate to advanced
432 pages
8h 20m
English
Pearson
Content preview from Clean Architecture: A Craftsman's Guide to Software Structure and Design

23PRESENTERS AND HUMBLE OBJECTS

Image

In Chapter 22, we introduced the notion of presenters. Presenters are a form of the Humble Object pattern, which helps us identify and protect architectural boundaries. Actually, the Clean Architecture in the last chapter was full of Humble Object implementations.

THE HUMBLE OBJECT PATTERN

The Humble Object pattern1 is a design pattern that was originally identified as a way to help unit testers to separate behaviors that are hard to test from behaviors that are easy to test. The idea is very simple: Split the behaviors into two modules or classes. One of those modules is humble; it contains all the hard-to-test ...

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

Software Architecture Patterns, 2nd Edition

Software Architecture Patterns, 2nd Edition

Mark Richards
Head First Software Architecture

Head First Software Architecture

Raju Gandhi, Mark Richards, Neal Ford
Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns: Elements of Reusable Object-Oriented Software

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

Publisher Resources

ISBN: 9780134494272