Skip to content
Volume VI

Software Engineering

From static checking to AI systems — the complete engineering toolbox for the City of Artisans.

Prerequisites

Volumes I–V mastery required. Understanding of programming fundamentals, data structures, networks, databases, and operating systems.

Completion Milestone: Master test-driven development, refactoring, design patterns, layered/hexagonal/microservice architectures, and build production-grade engineering judgment.

Chapter 1 Software Construction Foundations Completed

Static checking, defensive programming, assertions, design-by-contract — building blocks before patterns.

Chapter 2 Abstract Data Types Completed

Representation independence, invariants, abstraction barriers — building mental walls around data.

Chapter 3 Requirements & Architecture Completed

From user stories to system architecture — understanding the problem before touching the keyboard.

Chapter 4 Testing Strategies Completed

Unit, integration, E2E, test coverage, TDD — building a safety net on a spectrum of confidence.

Chapter 5 Refactoring Completed

Code smells, extraction, moving, data organization, conditional simplification — making code maintainable.

Chapter 6 CI/CD and DevOps Completed

Pipeline design, automation, deployment environments — from commit to production with confidence.

Chapter 7 Design Principles Completed

SOLID, DRY, YAGNI, KISS, composition over inheritance — making code flexible without guessing.

Chapter 8 Creational Patterns Completed

Singleton, Factory Method, Builder, Prototype, Abstract Factory — clean object creation decoupled from use.

Chapter 9 Structural Patterns Completed

Adapter, Decorator, Proxy, Composite, Facade, Bridge, Flyweight — wiring parts together.

Chapter 10 Behavioral Patterns Completed

Observer, Strategy, Template Method, Chain of Responsibility, Command, State, Iterator, Mediator, Memento, Visitor, Interpreter.

Chapter 11 Layered Architecture & MVC Completed

Three-tier, four-tier, MVC, MVP, MVVM — separating presentation, logic, and data.

Chapter 12 Hexagonal & Clean Architecture Completed

Ports & Adapters, dependency inversion, Onion Architecture — business logic at the center.

Chapter 13 Monolith to Microservices Completed

Modular monolith, Strangler Fig, database splitting, incremental migration — when and how to split.

Chapter 14 Microservices Patterns Completed

Service discovery, API Gateway, BFF, Circuit Breaker, retry & timeout patterns.

Chapter 15 Data Consistency Patterns Completed

Saga, CQRS, Event Sourcing, Transactional Outbox — keeping data consistent across services.

Chapter 16 Deployment & Operations Patterns Completed

Blue/Green, Canary, Feature Flags, Sidecar, Ambassador — zero-downtime releases.

Chapter 17 Event-Driven Architecture Completed

Event Mesh, Choreography vs Orchestration, Stream Processing, Dead Letter & retry — decoupled communication.

Chapter 18 AI System Patterns Completed

RAG, Agent (ReAct), Cache-Augmented Generation, Evaluation patterns — engineering non-deterministic systems.

Chapter 19 API Design & Contract Governance Completed

REST resource modeling, OpenAPI, versioning, idempotency, consumer-driven contract tests.

Chapter 20 Domain-Driven Design Completed

Bounded Context, Ubiquitous Language, Entity vs Value Object, Aggregate, Anti-Corruption Layer.

20 chapters total, all completed

Built with VitePress | Software Systems Atlas