Package by Feature

Kind: principle

Layer: Structural Core

Record: architecture:package-by-feature

Severity: recommended

Scope: package, module

Canonical: Ontology

A design rule that code is grouped by the feature it serves, so one change stays inside one package.

Listed in Architecture principles, after Component-Based Architecture and before Microservices.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Linked from