liveBook · Manning

C4 model

Also called C4 diagrams

The C4 model is a hierarchical software architecture visualization approach that describes systems at context, container, component, and code levels.

How 3 Manning books explain it

AI-Powered Developer: Build software with ChatGPT and Copilot

The C4 model is a hierarchical diagramming model for visualizing and documenting software architecture at context, container, component, and code levels.

How it is used
Documents software architecture at successive abstraction levels for design discussion and collaboration.
How deep it goes
Defines all four levels from system context through code elements, without detailing diagram notation or construction rules.
Examples
Illustrates an IT asset management system through Mermaid context, container, component, and code diagrams.
What you can do after
Apply it via ChatGPT to generate layered architecture diagrams for an application.

Read how AI-Powered Developer: Build software with ChatGPT and Copilot explains C4 model →

Robotics for Programmers

The 4C model is a software architecture visualization approach that describes systems through context, containers, components, and code.

How it is used
Uses hierarchical zoom levels to clarify software design discussions and reduce confusion about architectural diagrams.
How deep it goes
Defines four abstraction levels but does not elaborate their diagram notation or semantics in detail.
Examples
Uses architectural diagrams spanning system context, containers, components, code, and 4+1 logical, process, development, and deployment views.
What you can do after
Evaluate/understand software designs by selecting an appropriate architectural level for discussion.

Read how Robotics for Programmers explains C4 model →

Developer Experience on Kubernetes

The C4 model is a hierarchical software architecture modeling approach based on system context, containers, components, and code diagrams.

How it is used
Structures architecture discussions by moving from stakeholder-level system context to developer-oriented application and data-service responsibilities.
How deep it goes
Explains system context and container diagrams with their abstractions, audiences, and interactions, while deferring internal implementation technologies at context level.
Examples
Uses MinSalus, a patient, the Patient Portal, a session store, and the Appointment Service as diagrammed architecture examples.
What you can do after
Evaluate architecture by identifying system boundaries, users, applications, data services, responsibilities, and interactions at appropriate detail levels.

Read how Developer Experience on Kubernetes explains C4 model →

Also covered in

Related concepts

Questions about C4 model

What is C4 model?

The C4 model is a hierarchical software architecture visualization approach that describes systems at context, container, component, and code levels.

Which Manning books explain C4 model?

AI-Powered Developer: Build software with ChatGPT and Copilot, Robotics for Programmers and Developer Experience on Kubernetes.

What is C4 model a kind of?

C4 model is a kind of system diagram. A system diagram is a visual representation of a system’s major components and their relationships or interactions.

What are the parts of C4 model?

C4 model includes context diagram and code diagram.

What is C4 model also called?

C4 model is also called C4 diagrams.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.