Communicating between Modules

Topics: CAB & Smart Client Software Factory
Dec 18, 2006 at 11:12 PM
originally posted by: prajkumarp

Can anybody give information on how to pass information between modules.

I have this application which has got multiple modules, each modules having a set of views.

What i am trying to do is, on the loading of the application the shell loads a particular view , now on completion of entering data in the initial view it should pass the information entered in the initial screen to the view which is part of a completly different module / project , under the same solution .

Now what will be the best way to achive this.

Help appreciated , thanks
Dec 19, 2006 at 4:59 AM
originally posted by: bil_simser

This is what the publish/subscribe model is for. Have your initial view publish the information the next view needs (or at least an indicator of where/what to retrieve from a backend system) and the second view that needs this information just subscribes to that event.