Implementation metapatterns

Implementation metapatterns

There are patterns that describe implementation of components:

Plugins#

Plugins

The Plugins pattern is about separating a system’s main logic from the customizable details of its behavior. That allows for the same codebase to be used for multiple flavors or customers.

Includes: Plug-In Architecture, Addons, Strategy, Hooks.

Hexagonal Architecture#

Hexagonal Architecture

Hexagonal Architecture is a specialization of Plugins where every external dependency is isolated behind an Adapter, making it easy to update or replace third-party components.

Includes: Ports and Adapters, Onion Architecture, Clean Architecture; Model-View-Presenter (MVP), Model-View-ViewModel (MVVM), Model-View-Controller (MVC), and Action-Domain-Responder (ADR).

Microkernel#

Microkernel

Microkernel is another derivation of Plugins, with a rudimentary core component which mediates between resource consumers (applications) and resource providers. The microkernel is a Middleware to the applications and an Orchestrator to the providers.

Includes: operating system, software framework, virtualizer, distributed runtime, interpreter, configuration file, Saga Engine, AUTOSAR Classic Platform.

Mesh#

Mesh

A Mesh consists of intercommunicating shards, each of which may host an application. The shards coalesce into a fault-tolerant distributed Middleware.

Includes: grid; peer-to-peer networks, Leaf-Spine Architecture, Actors, Service Mesh, Space-Based Architecture.

CC BY Denys Poltorak. Editor: Lars Noodén. Download from Leanpub or GitHub. Made with odt2wiki and Hugo Book.