Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Number of views per module and best practices?

$
0
0
Hi,
There may be two approches for center region-

1- For every functionality/screen define one Module having only one View which will be added to your center region. Based on action command you load other module which in turn will create respective view and place it in appropriate region. While doing so you may set RegionContext value which you may want to pass to next screen or you may use event aggregator.

2-Define only one module having three different views. And then use view-switching by using navigation mechanism. Using this way you may also pass information to other views. I would prefer approach2 here as you also intent to use. For header and command region you may create different module also. Lets hope we hear few more opinion here.

Regards
Santosh

Viewing all articles
Browse latest Browse all 1878

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>