Skip to content

A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho.

License

Notifications You must be signed in to change notification settings

cosmicpython/book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5574eb4 · Feb 5, 2025
Jan 10, 2019
Sep 11, 2023
Mar 9, 2020
Apr 29, 2020
Jan 21, 2020
Aug 23, 2019
Nov 9, 2019
Nov 20, 2019
Apr 29, 2020
Jan 14, 2020
Feb 24, 2021
Jul 5, 2021
Mar 19, 2020
Feb 24, 2021
Sep 18, 2022
Mar 11, 2020
Feb 11, 2020
Mar 16, 2020
Apr 23, 2022
Apr 23, 2022
Feb 5, 2025
Feb 6, 2023
May 23, 2023
Sep 11, 2023
Nov 18, 2021
Feb 24, 2021
Feb 22, 2024
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 25, 2021
Nov 20, 2019
Feb 26, 2020
Mar 4, 2020
Aug 30, 2019
Nov 25, 2021
Oct 7, 2019
Jul 30, 2020
Jan 10, 2019
Jun 15, 2018
Sep 3, 2020
Dec 19, 2019
May 1, 2019
Jun 12, 2024
Feb 25, 2020
Jan 12, 2020
Jun 6, 2024
Jan 15, 2020
Jan 11, 2019
Feb 24, 2020
Mar 5, 2019
Jan 14, 2020
Jan 14, 2020
Mar 1, 2020
Jan 14, 2020
Mar 26, 2019
Jul 1, 2019
Jan 7, 2020
Jan 21, 2020
Jan 17, 2020
Jul 5, 2019
Jan 14, 2020
Nov 9, 2019

Repository files navigation

Book repo

Book Code
Book Build Status Code build status

Table of Contents

O'Reilly have generously said that we will be able to publish this book under a CC license, In the meantime, pull requests, typofixes, and more substantial feedback + suggestions are enthusiastically solicited.

Chapter
Preface
Introduction: Why do our designs go wrong?
Part 1 Intro
Chapter 1: Domain Model Build Status
Chapter 2: Repository Build Status
Chapter 3: Interlude: Abstractions
Chapter 4: Service Layer (and Flask API) Build Status
Chapter 5: TDD in High Gear and Low Gear Build Status
Chapter 6: Unit of Work Build Status
Chapter 7: Aggregates Build Status
Part 2 Intro
Chapter 8: Domain Events and a Simple Message Bus Build Status
Chapter 9: Going to Town on the MessageBus Build Status
Chapter 10: Commands Build Status
Chapter 11: External Events for Integration Build Status
Chapter 12: CQRS Build Status
Chapter 13: Dependency Injection Build Status
Epilogue: How do I get there from here?
Appendix A: Recap table
Appendix B: Project Structure Build Status
Appendix C: A major infrastructure change, made easy Build Status
Appendix D: Django Build Status
Appendix F: Validation

Below is just instructions for me and bob really.

Dependencies:

  • asciidoctor
  • Pygments (for syntax higlighting)
  • asciidoctor-diagram (to render images from the text sources in ./images)
gem install asciidoctor
python2 -m pip install --user pygments
gem install pygments.rb
gem install asciidoctor-diagram

Commands

make html  # builds local .html versions of each chapter
make test  # does a sanity-check of the code listings

About

A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho.

Resources

License

Stars

Watchers

Forks

Packages

No packages published