Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MVVM conundrum
Message
 
 
To
07/07/2011 00:05:00
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01517403
Message ID:
01517539
Views:
39
>>>In this case A does not seem
>>
>>Looks like you were cut off in mid-flow :-}
>
>it was a fragment of something I started to write and then rewrote. It was scrolled off screen when I hit post.
>
>I had to rush off and didn't do my usual double check. So... ooops.
>
>>This is about the only time that ViewModelA and ViewModelB need to interact and, AFAICS, this is the only other communication they need so I'll leave as is for now. But, thinking about it, it would be a fairly trivial step to combine both VMs under a 'master' VM - the XAML guys would only need to know how to bind to both bits......
>
>Your solution sounds fine to me too.
>
>I see you've decided to go ahead with Prism.
>
>Hopefully your having fun with it. <g>
>
>I hooked Prism up to AvalonDock last weekend and created a basic framework/interface for my modules. MEF auto discovers the modules and they incorporate themselves into the menus and toolbars of the framework. So far it's been surprisingly easy to code and I like what I'm getting out of it.

MEF seems very cool. I saw a session on it at a user group meeting about a year ago. Not only does it auto discover, it does so dynamically at run time. The presenter threw together a demo of pictures of animals, looking in a certain folder for images. While the app was running he copied a picture of an elephant into the folder and viola, it showed up in the app.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform