# prahaladsharma/kmp-experts architecture

> Architecture diagram of the GitHub repository prahaladsharma/kmp-experts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/prahaladsharma/kmp-experts
- Repository: https://github.com/prahaladsharma/kmp-experts

## Overview

This repository is an in-progress Kotlin Multiplatform handbook, not an application implementation. Its reader journey moves from the rationale for multiplatform development through KMP fundamentals and architecture, then into data and networking. The README also describes later planned material and a KMP Commerce sample, but the supplied tree contains no corresponding implementation files, so those are not represented as runtime components. Relationships reflect the documented learning order; no chapter source excerpts were available to verify finer-grained links.

Main entry points: [`PART I — THINKING IN MULTIPLATFORM/Ch-1_Stop Writing the Same Business Logic Twice`](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-1_Stop%20Writing%20the%20Same%20Business%20Logic%20Twice) (KMP Rationale), [`PART I — THINKING IN MULTIPLATFORM/Ch-2_The Evolution of Mobile Development`](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-2_The%20Evolution%20of%20Mobile%20Development) (Platform Evolution), [`PART I — THINKING IN MULTIPLATFORM/Ch-3_Android vs Flutter vs React Native vs Compose vs KMP`](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-3_Android%20vs%20Flutter%20vs%20React%20Native%20vs%20Compose%20vs%20KMP) (Technology Comparison), [`PART I — THINKING IN MULTIPLATFORM/Ch-4_Chapter 4 — Inside Kotlin Multiplatform`](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-4_Chapter%204%20%E2%80%94%20Inside%20Kotlin%20Multiplatform) (KMP Internals)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_thinking["Multiplatform Thinking"]
  node_motivation["KMP Rationale"]
  node_evolution["Platform Evolution"]
  node_technology["Technology Comparison"]
  node_kmp_model["KMP Internals"]
end

subgraph group_fundamentals["KMP Fundamentals"]
  node_project_start["Project Setup"]
  node_gradle["Gradle Configuration"]
  node_source_sets["Source Sets"]
  node_expect_actual["Platform APIs"]
  node_compiler["Compiler"]
  node_project_structure["Project Structure"]
end

subgraph group_architecture["Application Architecture"]
  node_clean_architecture["Clean Architecture"]
  node_mvvm["MVVM"]
  node_mvi["MVI"]
  node_dependency_injection["Dependency Injection"]
  node_navigation["Navigation"]
  node_error_handling["Error Handling"]
end

subgraph group_data["Data Networking"]
  node_data_networking["Data Networking<br/>[readme.md]"]
end

node_reader(("Developer"))
node_handbook["Handbook Overview<br/>[README.md]"]

node_reader -->|"reads"| node_handbook
node_handbook -->|"starts with"| node_motivation
node_motivation -->|"continues to"| node_evolution
node_evolution -->|"continues to"| node_technology
node_technology -->|"continues to"| node_kmp_model
node_kmp_model -->|"continues to"| node_project_start
node_project_start -->|"continues to"| node_gradle
node_gradle -->|"continues to"| node_source_sets
node_source_sets -->|"continues to"| node_expect_actual
node_expect_actual -->|"continues to"| node_compiler
node_compiler -->|"continues to"| node_project_structure
node_project_structure -->|"continues to"| node_clean_architecture
node_clean_architecture -->|"continues to"| node_mvvm
node_mvvm -->|"continues to"| node_mvi
node_mvi -->|"continues to"| node_dependency_injection
node_dependency_injection -->|"continues to"| node_navigation
node_navigation -->|"continues to"| node_error_handling
node_error_handling -->|"continues to"| node_data_networking

click node_handbook "https://github.com/prahaladsharma/kmp-experts/blob/main/README.md"
click node_motivation "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-1_Stop%20Writing%20the%20Same%20Business%20Logic%20Twice"
click node_evolution "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-2_The%20Evolution%20of%20Mobile%20Development"
click node_technology "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-3_Android%20vs%20Flutter%20vs%20React%20Native%20vs%20Compose%20vs%20KMP"
click node_kmp_model "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-4_Chapter%204%20%E2%80%94%20Inside%20Kotlin%20Multiplatform"
click node_project_start "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%205%20%E2%80%94%20Creating%20Your%20First%20KMP%20Project"
click node_gradle "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%206%20%E2%80%94%20Gradle%20for%20KMP"
click node_source_sets "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%207%20%E2%80%94%20Source%20Sets%20Deep%20Dive"
click node_expect_actual "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%208%20%E2%80%94%20expect%2C%20actual"
click node_compiler "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%209%20%E2%80%94%20Kotlin%20Compiler%20Deep%20Dive"
click node_project_structure "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%2010%20%E2%80%94%20Project%20Structure"
click node_clean_architecture "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2011%20%E2%80%94%20Clean%20Architecture"
click node_mvvm "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2012%20%E2%80%94%20MVVM"
click node_mvi "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2013%20%E2%80%94%20MVI"
click node_dependency_injection "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2014%20%E2%80%94%20Dependency%20Injection"
click node_navigation "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2015%20%E2%80%94%20Navigation"
click node_error_handling "https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2016%20%E2%80%94%20Error%20Handling"
click node_data_networking "https://github.com/prahaladsharma/kmp-experts/blob/main/PART%20IV%20%E2%80%94%20DATA%20%26%20NETWORKING/readme.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_motivation,node_evolution,node_technology,node_kmp_model,node_handbook toneBlue
class node_project_start,node_gradle,node_source_sets,node_expect_actual,node_compiler,node_project_structure toneAmber
class node_clean_architecture,node_mvvm,node_mvi,node_dependency_injection,node_navigation,node_error_handling toneMint
class node_data_networking toneRose
class node_reader toneIndigo
```

## Components

### Multiplatform Thinking

- [KMP Rationale](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-1_Stop%20Writing%20the%20Same%20Business%20Logic%20Twice): `PART I — THINKING IN MULTIPLATFORM/Ch-1_Stop Writing the Same Business Logic Twice`
- [Platform Evolution](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-2_The%20Evolution%20of%20Mobile%20Development): `PART I — THINKING IN MULTIPLATFORM/Ch-2_The Evolution of Mobile Development`
- [Technology Comparison](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-3_Android%20vs%20Flutter%20vs%20React%20Native%20vs%20Compose%20vs%20KMP): `PART I — THINKING IN MULTIPLATFORM/Ch-3_Android vs Flutter vs React Native vs Compose vs KMP`
- [KMP Internals](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20I%20%E2%80%94%20THINKING%20IN%20MULTIPLATFORM/Ch-4_Chapter%204%20%E2%80%94%20Inside%20Kotlin%20Multiplatform): `PART I — THINKING IN MULTIPLATFORM/Ch-4_Chapter 4 — Inside Kotlin Multiplatform`

### KMP Fundamentals

- [Project Setup](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%205%20%E2%80%94%20Creating%20Your%20First%20KMP%20Project): `PART II — KMP FUNDAMENTALS/Chapter 5 — Creating Your First KMP Project`
- [Gradle Configuration](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%206%20%E2%80%94%20Gradle%20for%20KMP): `PART II — KMP FUNDAMENTALS/Chapter 6 — Gradle for KMP`
- [Source Sets](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%207%20%E2%80%94%20Source%20Sets%20Deep%20Dive): `PART II — KMP FUNDAMENTALS/Chapter 7 — Source Sets Deep Dive`
- [Platform APIs](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%208%20%E2%80%94%20expect%2C%20actual): `PART II — KMP FUNDAMENTALS/Chapter 8 — expect, actual`
- [Compiler](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%209%20%E2%80%94%20Kotlin%20Compiler%20Deep%20Dive): `PART II — KMP FUNDAMENTALS/Chapter 9 — Kotlin Compiler Deep Dive`
- [Project Structure](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20II%20%E2%80%94%20KMP%20FUNDAMENTALS/Chapter%2010%20%E2%80%94%20Project%20Structure): `PART II — KMP FUNDAMENTALS/Chapter 10 — Project Structure`

### Application Architecture

- [Clean Architecture](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2011%20%E2%80%94%20Clean%20Architecture): `PART III — BUILDING ARCHITECTURE/Chapter 11 — Clean Architecture`
- [MVVM](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2012%20%E2%80%94%20MVVM): `PART III — BUILDING ARCHITECTURE/Chapter 12 — MVVM`
- [MVI](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2013%20%E2%80%94%20MVI): `PART III — BUILDING ARCHITECTURE/Chapter 13 — MVI`
- [Dependency Injection](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2014%20%E2%80%94%20Dependency%20Injection): `PART III — BUILDING ARCHITECTURE/Chapter 14 — Dependency Injection`
- [Navigation](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2015%20%E2%80%94%20Navigation): `PART III — BUILDING ARCHITECTURE/Chapter 15 — Navigation`
- [Error Handling](https://github.com/prahaladsharma/kmp-experts/tree/main/PART%20III%20%E2%80%94%20BUILDING%20ARCHITECTURE/Chapter%2016%20%E2%80%94%20Error%20Handling): `PART III — BUILDING ARCHITECTURE/Chapter 16 — Error Handling`

### Data Networking

- [Data Networking](https://github.com/prahaladsharma/kmp-experts/blob/main/PART%20IV%20%E2%80%94%20DATA%20%26%20NETWORKING/readme.md): `PART IV — DATA & NETWORKING/readme.md`

### Other components

- **Developer**
- [Handbook Overview](https://github.com/prahaladsharma/kmp-experts/blob/main/README.md): `README.md`

## Connections

- Developer → Handbook Overview: reads (evidence: `README.md`)
- Handbook Overview → KMP Rationale: starts with (evidence: `README.md`)
- KMP Rationale → Platform Evolution: continues to (evidence: `README.md`)
- Platform Evolution → Technology Comparison: continues to (evidence: `README.md`)
- Technology Comparison → KMP Internals: continues to (evidence: `README.md`)
- KMP Internals → Project Setup: continues to (evidence: `README.md`)
- Project Setup → Gradle Configuration: continues to (evidence: `README.md`)
- Gradle Configuration → Source Sets: continues to (evidence: `README.md`)
- Source Sets → Platform APIs: continues to (evidence: `README.md`)
- Platform APIs → Compiler: continues to (evidence: `README.md`)
- Compiler → Project Structure: continues to (evidence: `README.md`)
- Project Structure → Clean Architecture: continues to (evidence: `README.md`)
- Clean Architecture → MVVM: continues to (evidence: `README.md`)
- MVVM → MVI: continues to (evidence: `README.md`)
- MVI → Dependency Injection: continues to (evidence: `README.md`)
- Dependency Injection → Navigation: continues to (evidence: `README.md`)
- Navigation → Error Handling: continues to (evidence: `README.md`)
- Error Handling → Data Networking: continues to (evidence: `README.md`)
