views:

119

answers:

3

I am working on a CRUD application using .NET and I have about 10 or so dialogs I must implement. The user will enter information on one dialog and be sent to another dialog depending on the information being passed. This application basically mirrors what Spring MVC and JSF do when passing information between JSP pages.

Is there a design pattern I can use along with the MVC pattern/architecture that will help me transfer information between dialogs?

+1  A: 

The Observer Pattern is useful in many of these situations.

Kekoa
+1  A: 

Try Observer pattern. If the dependencies between the observers start to be a too big mess, consider switching to Mediator pattern.

Jasiu
A: 

Might want to consider an Application Controller pattern. (Also here) Also, I don't know exactly what your program is doing (ie. what the result at the end of the chain of dialogs is) but this pattern, in conjunction with the Builder pattern works well.

SnOrfus