Repository for canonical DCI code examples showing DCI solutions to a specific problem.
Having multiple contributors coding the same example in different languages can help clarifying various aspect of the new paradigm. Discussions of the examples:
- object-composition - Tutorial discussions on DCI.
- dci-evolution - Forum for people to discuss, clarify, and evolve the paradigm (all can read - members can write).
If you want to share your DCI implementation of any of the examples with the community, send a message to marcgrue to get added as a contributor (write what programming language(s) you plan to use, then I can set you up).
Code is organized by example -> language -> contributor. So far we have the following examples and implementations:
The use case of transferring an amount from one account to another.
- csharp
- java
- java-qi4j
- php
Frontloading is a use case for computing the earliest start of every activity given the start of the project. The example is interesting in that the re-selection of objects is an essential part of the algorithm.
- java
- java-qi4j