Creating a modular application using Prism V2 - Screencast 3/4 : Implementing views and…

In this 4 part series, Bob Brumfield and Erwin van der Valk from patterns and practices shows you how to build a modular application using the recently released Composite Application Guidance for WPF and Silverlight - February 2009 (also known as Prism V2).
This webcast demonstrates how to communicate between the different modules.
What is Prism v2? Watch
this video.
Bob Brumfield and Erwin van der Valk are both Software Development Engineers at Microsoft patterns & practices and have both worked on the Prism V2 project.
While I'm thinking about it, here's some other topics for similar screencasts:
- Show modules and views being injected at runtime (i.e. click a toolbar button to load a new tab, etc.)
- Load common areas with toolbar buttons or menu items at runtime (to simulate the UIExtensionSites that are in CAB/SCSF)
- Dynamically loading modules
I'm sure I'll think of a few more as soon as I hit the "Add" comment button
Thanks Again!
...Ed
Really great stuff !
Did you guys had a look at Framworks such as Nikhil Kothari (http://www.nikhilk.net/Entry.aspx?id=198) and Silverlight FX ?
With the RegionManager, how can you design a good pattern to create a Routing pattern for multipages ?
Keep on doing your videos, they are absolulty amazing
Hi there, im watching video by video in this series and WOW this is good stuff, prism really rocks!!!
However, im wondering if anyone have a good solution to the following problem / enhancement:
When the user clicks on the search button i want to change the cursor to waiting / time glass and when the search is actually finished, make sure that the cursor is changed back to the default "arrow". This problem i guess also could be extended to a bigger challenge, how to show to the user of progress of a operation, e.g a download progress with procentage indicator.
Considering best practices, to always indicate the end user of progress or in this case to prevent the user to click multiple times when a search is ongoing i guess it can not only be me wondering of these things, or what?
Dont we need a reference to the window to set the cursor in such a case?
Any solution or start of discussion appreciated!!!
Niclas
How would you use Prism in a Silverlight application with multiple pages where there's the need to navigate between them?
Hi, great videos! Really help me to begin to understand the basic concepts of Prism.
Of course in Silverlight 3 we don't need to use that Title property of the SearchViewModel for binding the search command parameter with the TextBox text. We can now use element to element binding directly. Cool!
@RockyLiu
So , using the command parameter is not needing for this example? If I understand correctly, we can now bind the text of the TextBox to the property in the ViewModel and we just use the value of the property in the handler of the command. Is that right?
I also have a question for those more familiar with Prism than me:
How can I bind a command to the TextChanged event of a TextBox? (instead of the Click of a Button, which is illustrated in the video)
Thanks.
I really enjoyed the videos. This will replace some home-grown stuff I have written for Silverlight. I was interested in downloading the sample application from the video. Is this code available?
I'd like to see a webcast on localization. We're building an app that may be distributed accross various countries/languages, and I'm thinking a webcast on a localization module, and injecting that into all the pages would be awsome. As would security handling (role vs AD vs network credentials).
I concurr on the MEF with PRISM v2. There is MEFContrib that has a MEFBootstrapper but it does not work with the latest release of PRISM and MEF in VS2010. It seemed like they were on the right track, but got diverted. I want to pick and chose when I use PRISM and MEF. My two cents is that PRISM is to complex for an average developer, MEF is easier to use and has more utility around creating and traversing through catalogs. I just can't inject into a Region without PRISM.
very helpful tutorials to learn more about Prism. It'd be nice to see how to architect the database access, popular data to a xaml form, xaml form data validation, web services reusability etc... in the near future.
Nice presentation! It helps to clear out quite some concepts. I know I am not the first one, but not the last one niether, to ask that anywhere could I retrieve the source code associated with this presentation? Thanks a lot!