Skip to content

一本关于使用 Pythonic 的应用架构模式来管理复杂性的书。你看,宇宙(Cosmos)是混乱(Chaos)的反面。不过,O'Reilly 实际上不允许我们把它叫做《Cosmic Python》(宇宙般的 Python)。

License

Notifications You must be signed in to change notification settings

fushall/cosmicpython-book

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

O'Reilly 大方地表示,我们将能够以 CC 许可证 发布本书。
与此同时,我们热情欢迎有关拉取请求、错别字修正以及更深入的反馈与建议。

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)
第四章:服务层(和 Flask API)(已翻译)
Build Status
Chapter 5: TDD in High Gear and Low Gear
第五章:高速档与低速档中的测试驱动开发(TDD)(已翻译)
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
附录A:总结表格(已翻译)
Appendix B: Project Structure
附录B:项目结构(已翻译)
Build Status
Appendix C: A major infrastructure change, made easy
附录C:轻松替换重要的基础设施(已翻译)
Build Status
Appendix D: Django
附录D:Django(已翻译)
Build Status
Appendix F: Validation
附录F:校验(已翻译)

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

一本关于使用 Pythonic 的应用架构模式来管理复杂性的书。你看,宇宙(Cosmos)是混乱(Chaos)的反面。不过,O'Reilly 实际上不允许我们把它叫做《Cosmic Python》(宇宙般的 Python)。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.5%
  • HTML 20.6%
  • XSLT 20.4%
  • CSS 13.5%
  • Makefile 1.1%
  • Shell 0.9%