skip to content
This is an old revision of the document!
Frequently Asked Questions
What, in short, is DCI?
How does DCI relate to MVC?
What is the relationship between classes, objects, Roles, and Contexts?
What are the typical rules I need to pay attention to when writing DCI code?
Why isn't it DCI if you use a wrapper object to represent the Role?
Why can't I reuse a Role across multiple Contexts?
Can a Role be played by several different objects in a given Context instantiation?
Can I use DCI in Java?
What is the best DCI language?
Can I use DCI in a system with parallelism or asynchrony?
How do I code recursive system operations in DCI?
Why must roles be stateless? i.e. why are they allowed to contain only methods, and not their own data properties?
What is the advantage of distributing the interaction algorithm in the RoleMethods, as suggested by DCI, instead of centralizing it in a Context method?
When using DCI with MVC, is it ok to let Views and Controllers play Roles in a Context?
· Last modified: 2014/01/19 18:11 by
Back to top