Giter VIP home page Giter VIP logo

python-real-world-domain-model's Introduction

Domain driven design with test driven development in Python

Building a domain model in code is a way to capture knowledge about how a business operates. It is a fundamental element of building an event sourced domain driven application. The code in this repo is about building a domain model in Python from scratch and should give you a good understanding of how to implement the concepts of domain driven design in practice.

Part 1 deals with the general concepts of domain driven design, such as entities, value objects and aggregates. We walk through the design of a domain model in a fairly general way so as to get a working model as quickly as possible. You can read the accompany blog post here: https://www.eventsorcery.com/building-a-real-world-domain-model-python/.

Part 2 takes a test driven approach to further developing the domain model. This is less about the principles of DDD, and more about the process of engaging with a domain expert in order to write suitable tests. The accompanying blog post is here: https://www.eventsorcery.com/improving-ddd-model-with-tdd/. The domain model in this part will form the basis for the remainder of my series on event sourcing in Python.

python-real-world-domain-model's People

Contributors

zarekr avatar

Stargazers

Zacharias Dimitrakoudis avatar

Watchers

James Cloos avatar

Forkers

dimitrakoudis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.