3 ms·
An interesting new pattern here (from the creator of MVC) is DCI: http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction http://en.wikipedia.org/wiki/Data,
by Erwin 14y ago
An interesting new pattern here (from the creator of MVC) is DCI: http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction
Essentially it's a way to move code where multiple objects collaborate to achieve something into its own separate class (Context). However when executing in a context, each involved object takes on a "Role" which grants its additional methods specific to this context.
- mempko 14y agoThank you sir. I was worried nobody would mention DCI. I believe DCI is a far better solution to the MVC problem of dealing with 'algorithms' than MOVE. MOVE almost seems to be MVC plus goto.