Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexSlice Architecture

English | Deutsch

This repository describes and documents the HexSlice Architecture as an architectural concept, independent of any programming language or framework. The concept itself is language-agnostic; runnable, language-specific example projects live under lab/.

Architecture

HexSlice Architecture combines two architectural ideas:

  • Hexagonal Architecture defines the system boundaries, ports, adapters, and dependency direction.
  • Vertical Slice Architecture organizes the application core by use cases.

In short:

HexSlice Architecture means vertical use-case slices inside a hexagonal application core, with adapters outside and ports owned by the application.

Core Principles

  • The domain contains business rules and remains technology-independent.
  • The application layer contains use cases.
  • Use cases are organized as vertical slices.
  • Ports are defined by the application core.
  • Ports live as locally as possible and as shared as necessary.
  • Inbound adapters call use cases.
  • Outbound adapters implement ports.
  • The core does not depend on technical infrastructure.

Documentation

The architecture is documented here:

HexSlice Architecture

Examples

Runnable, language-specific examples live under lab/:

  • Goorder business area with create order and cancel order slices, a CLI inbound adapter, and make + Docker tooling.

About

Vertical use-case slices inside a hexagonal application core — a language- and framework-agnostic architecture concept (EN/DE docs).

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages