liveBook · Manning

Infrastructure layer

An infrastructure layer is a software layer that provides technical capabilities and connects application functionality to external resources, services, or runtime facilities.

How 3 Manning books explain it

Grokking Software Architecture

The architectural layer that implements external technical concerns such as persistence, messaging, and third-party communication.

How it is used
Separates external technical work from business logic within a layered architecture.
How deep it goes
Explains responsibilities, component placement, interface-based replacement, and automated boundary checks.
Examples
Uses a database repository, email client, event publisher, and architectural boundary test as concrete examples.
What you can do after
Evaluate component placement and enforce domain isolation with NetArchTest.

Read how Grokking Software Architecture explains infrastructure layer →

Effective Behavior-Driven Development

The automation-solution layer containing helper methods for interacting with underlying software infrastructure.

How it is used
Centralizes technical infrastructure details shared by test drivers so drivers can focus on particular actions.
How deep it goes
Works through REST helper methods and a driver refactoring, while deferring generic methods and classes to language documentation.
Examples
Contrasts an order driver containing REST plumbing with order and login drivers calling shared helper methods.
What you can do after
Build it from scratch by extracting shared REST plumbing into application-specific helpers used by test drivers.

Read how Effective Behavior-Driven Development explains infrastructure layer →

Unit Testing Principles, Practices, and Patterns

An application layer containing technical algorithms and code that communicates with external or out-of-process dependencies.

How it is used
Organizes external-dependency access and technical algorithms within a deliberately small backend layering scheme.
How deep it goes
Defines responsibilities and examples, then relates layer count and dependency cycles to testing and maintainability.
Examples
Uses database repositories, ORM mappings, SMTP gateways, and callback-based report generation as concrete boundary examples.
What you can do after
Evaluate layer boundaries and refactor dependency cycles toward simpler, more testable application structures.

Read how Unit Testing Principles, Practices, and Patterns explains infrastructure layer →

Also covered in

What to know first

Related concepts

Questions about infrastructure layer

What is infrastructure layer?

An infrastructure layer is a software layer that provides technical capabilities and connects application functionality to external resources, services, or runtime facilities.

Which Manning books explain infrastructure layer?

Grokking Software Architecture, Effective Behavior-Driven Development and Unit Testing Principles, Practices, and Patterns.

What should I know before learning infrastructure layer?

Manning books that teach infrastructure layer usually introduce controller, hexagonal architecture and message broker first.

What is the difference between infrastructure layer and domain layer?

An infrastructure layer is a software layer that provides technical capabilities and connects application functionality to external resources, services, or runtime facilities. A domain layer is the architectural part of an application that contains its domain concepts, business rules, and behavior, distinct from infrastructure and delivery concerns.

What is infrastructure layer a kind of?

Infrastructure layer is a kind of layered architecture. Layered architecture is a software organization pattern that separates responsibilities into ordered layers with defined roles and constrained dependencies, typically from higher-level layers to lower-level ones.

What are the parts of infrastructure layer?

Infrastructure layer includes adapter.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.