← Graph

Manager Layer

concept 4 connections

Ivan Nemytchenko's proposed architectural building block for code that interacts with external systems (APIs, mailers, rest clients, Google Maps, Twitter). A manager isolates external-service calls from business operations so services stay procedural and focused. Injected dependencies belong on the manager, not the service — e.g. a message/rest-client pair is passed into the manager's constructor, not the method call. Complements mutators (for persistence) and stateless services (for business operations) in a layered Rails architecture.

category
architecture
about
Manager Layer concept
Ivan proposes the Manager layer for encapsulating external-system interactions.
about
Manager Layer concept
Manager layer is one of the shelves Ivan proposes.
recommends
Manager Layer concept
Ivan recommends isolating external-service interactions into managers.
concept Manager Layer
related_to
Managers are called by stateless services to handle external-system interactions.

Provenance

Read by
2 extractions