User Tools

Site Tools


This is an old revision of the document!

Is there any situation where DCI isn't appropriate to use?

Simple operations that are atomic and scoped to an object don't need DCI. It works best with system operations involving multiple objects.

See for example how the Lean Architecture book distinguishes between Atomic Event Architectures and DCI architectures.

Another case is if the Context is very simple. For example, if your analysis shows that there is only one RoleMethod per Role, it suggests that in this case Roles don't have much expressive power. A simple procedural version would be much more readable then - and readability is the goal here.

is_there_any_situation_where_dci_isn_t_appropriate_to_use.1394192716.txt.gz · Last modified: 2014/03/07 11:45 by gazoot