Skip to Content
Design It!
book

Design It!

by Michael Keeling
October 2017
Beginner
360 pages
7h 58m
English
Pragmatic Bookshelf
Content preview from Design It!

Ports and Adapters Pattern

The ports and adapters pattern isolates core business logic so it can be used in a variety of contexts and tested in isolation from components that provide data and events. At runtime, pluggable adapters for specific input sources can be injected into the core business logic to provide access to events and data. Adapters can be swapped at build-time or runtime to create different configurations of the software system. Use this pattern when the system must support multiple input devices or when there is a risk that input devices could change.

This pattern was initially described by Alistair Cockburn under the name Hexagonal Architecture.[8] See the table.

Category

Module or Component & Connector

Elements

Layer—Contains ...

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

Design Thinking 101

Design Thinking 101

Gretchen Anderson
What Is Design Thinking?

What Is Design Thinking?

Julie Stanford, Ellen Siminoff, Mia Silverman, Jennifer Mailhot
Storytelling in Design

Storytelling in Design

Anna Dahlström

Publisher Resources

ISBN: 9781680502923Errata Page