nw-architecture-patterns

Featured

Comprehensive architecture patterns, methodologies, quality frameworks, and evaluation methods for solution architects. Load when designing system architecture or selecting patterns.

AI & Automation 636 stars 68 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Architecture Patterns and Methodologies ## C4 Model -- Hierarchical Architecture Visualization Four levels for different audiences: 1. **System Context**: system + users + external systems (stakeholder view) 2. **Containers**: applications, data stores, deployment units (technical overview) 3. **Components**: internal modules within containers (developer view) 4. **Code**: class/module level (optional, often auto-generated) Notation/tooling independent. Reduces communication overhead, shared visual language across stakeholders. ## Hexagonal Architecture (Ports and Adapters) Isolate business logic from infrastructure through ports (interfaces) and adapters (implementations). - **Ports**: technology-agnostic interfaces for external communication - **Primary ports** (driving): REST controllers, CLI handlers, message consumers -- inbound - **Secondary ports** (driven): DB repos, external service clients, filesystem -- outbound - **Adapters**: technology-specific port implementations Benefits: testability (isolated core) | flexibility (swap infrastructure) | technology independence | maintainability Testing: unit tests through driving ports, mock driven ports | integration tests with real infrastructure | acceptance tests end-to-end through primary ports ## Architectural Pattern Selection ### Layered Architecture Horizontal layers with defined dependencies. Use for: traditional enterprise apps, clear separation. Trade-off: familiar but potential overhead, layer couplin...

Details

Author
nWave-ai
Repository
nWave-ai/nWave
Created
9 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category