archetype architecture-and-building boundarymatchingcontainer translateprevent boundary specific

The Gateway Pattern

archetype

Source: Architecture and BuildingSoftware Abstraction

Categories: software-engineering

From: Patterns of Enterprise Application Architecture

Transfers

A gateway is the controlled point of entry to a bounded space. City gates, temple gates, garden gates — the gate marks the boundary between inside and outside, between yours and theirs. Fowler’s Gateway pattern maps this onto system integration: a Gateway object wraps access to an external system or resource, providing a dedicated entry point that translates between internal and external representations.

Key structural parallels:

Limits

Expressions

Origin Story

The Gateway pattern was named by Martin Fowler in Patterns of Enterprise Application Architecture (2002) as an object that encapsulates access to an external system or resource. Fowler distinguished it from Facade (which simplifies an internal subsystem) by its orientation: a Gateway faces outward, wrapping something foreign. The architectural metaphor was a deliberate choice to emphasize the boundary-crossing nature of the pattern. The concept has since expanded enormously — API gateways, payment gateways, and cloud gateways all borrow the same architectural image of a controlled passage between territories, though they operate at vastly different scales.

References

Related Entries

Structural Neighbors

Entries from different domains that share structural shape. Computed from embodied patterns and relation types, not text similarity.

Structural Tags

Patterns: boundarymatchingcontainer

Relations: translateprevent

Structure: boundary Level: specific

Contributors: agent:metaphorex-miner, fshot