How cosmicpython/book works
This repository publishes a book teaching maintainable Python application design. The principal reader journey progresses from domain modeling and repositories through service-layer architecture, units of work, aggregates, and event-driven patterns, then covers commands, integration, CQRS, and dependency injection. The README also identifies appendices on project structure, CSV migration, Django, and validation. The graph represents documented chapter order and capabilities; source excerpts chiefly cover repository-maintenance scripts, so internal book-content relationships beyond the README are not asserted.
Main entry points: chapter_01_domain_model.asciidoc Domain model · chapter_02_repository.asciidoc Repository · chapter_03_abstractions.asciidoc Abstractions · chapter_04_service_layer.asciidoc Service layer
Components 18
Domain foundations
- Domain model
chapter_01_domain_model.asciidoc - Repository
chapter_02_repository.asciidoc - Abstractions
chapter_03_abstractions.asciidoc
Application architecture
- Service layer
chapter_04_service_layer.asciidoc - Testing gears
chapter_05_high_gear_low_gear.asciidoc - Unit of work
chapter_06_uow.asciidoc - Aggregates
chapter_07_aggregate.asciidoc
Messaging patterns
- Domain events
chapter_08_events_and_message_bus.asciidoc - Message bus
chapter_09_all_messagebus.asciidoc - Commands
chapter_10_commands.asciidoc - External events
chapter_11_external_events.asciidoc - CQRS
chapter_12_cqrs.asciidoc - Dependency injection
chapter_13_dependency_injection.asciidoc
Practical appendices
- Project structure
appendix_project_structure.asciidoc - CSV migration
appendix_csvs.asciidoc - Django integration
appendix_django.asciidoc - Validation
appendix_validation.asciidoc
Other components
- Reader
Connections 17
- Reader → Domain model: starts with
Readme.md - Domain model → Repository: continues to
Readme.md - Repository → Abstractions: continues to
Readme.md - Abstractions → Service layer: continues to
Readme.md - Service layer → Testing gears: continues to
Readme.md - Testing gears → Unit of work: continues to
Readme.md - Unit of work → Aggregates: continues to
Readme.md - Aggregates → Domain events: continues to
Readme.md - Domain events → Message bus: continues to
Readme.md - Message bus → Commands: continues to
Readme.md - Commands → External events: continues to
Readme.md - External events → CQRS: continues to
Readme.md - CQRS → Dependency injection: continues to
Readme.md - Reader → Project structure: also covers
Readme.md - Reader → CSV migration: also covers
Readme.md - Reader → Django integration: also covers
Readme.md - Reader → Validation: also covers
Readme.md