Example of use case -> work item

Topics: CAB & Smart Client Software Factory
Oct 19, 2005 at 3:22 AM
originally posted by: CharlesGamble

Hi,

I am still trying to get my head around where to put code, .i.e. into the controller, workitem, view, etc...
I think it would be useful if someone could provide an example of the method of translation of a written use case to implementation code using CAB, describing the classes used and methods, etc..
Any plans to do this?, it would really help clarify where things go..

Thanks,
Charles.
Oct 22, 2005 at 1:43 AM
originally posted by: CharlesGamble

I guess there are no plans to do this?

Charles.
Oct 22, 2005 at 4:07 AM
originally posted by: DLorenz

Well, the way we are currently using it is that the View will call to the Controller to do anything. If there is some sort of paging that is specific to the View, then the controller runs the appropriate code. If it deals with the overall business process, like saving data back to a database, the View will call to the controller which then calls the workitem to do the work.
Oct 22, 2005 at 6:12 AM
originally posted by: sslysaght

The Bank Teller QuickStart is the best example I've seen of this.