次の方法で共有


prism v2 – walkthrough webcasts

Last week, Bob and I have recorded a couple of webcasts. In these webcasts, we are creating an modular application that aggregates search results from Digg and Twitter.

Part 1: Modules and a shell

In the first part, we are demonstrating how to create a Shell and how to create a module for the Digg Searching. We are also creating a bootstrapper that will instantiate the Shell and locate the modules.

Part 2: Visual Composition

After the shell and modules are created, we have to make sure that the visual pieces (views) are displayed in the right place. We’re not actually implementing the views yet, but we are creating named regions in the shell and loading an empty view from the Digg Module. We are demonstrating how to use View Discovery to load a view into a region.

Part 3: Implementing views and services

In this part, we are actually implementing the Digg Search results view and Digg search service. To do this, we are using the Unity Dependency Injection container to create the views and services.

Part 4: Decoupled communication

Lastly, we are setting up communication between the searchmodule and the diggmodule. We are using EventAggregator to communicate this knowledge.

Here’s the sourcecode for these webcasts:

I hope you like these webcasts. We are thinking of doing other webcasts, like:

  • How to build a Prism V2 app using TDD.
  • How to do remote module loading.
  • How to build an outlook style app (see my previous post :)).
  • Or something else?

Let me know what kind of webcast you (yes YOU) would like to see.

Keep practicing!

_Erwin

Comments

  • Anonymous
    March 02, 2009
    PingBack from http://www.clickandsolve.com/?p=16882

  • Anonymous
    March 14, 2009
    Great Videos ! keep on doing them. Would it be possible to make a video on the Navigation theme

  • How to maintain an history of visited pages
  • Site Map
  • How to load dynamicaly and remove pages in a region
  • How to transfer objects from page to pages when loading a page. Thanks
  • Anonymous
    March 23, 2009
    Thank you for these videos Erwin. They are helpful. As far as request for future videos I have two.
  1. Modify the first example as the following:     1a) Have a menu with available search sources (digg, twitter, live, etc)     2a) When the user clicks on a menu, show a new instance of the appropriate view in a new tab.     3a) You may end up with multiple open tabs for twitter, for instance. Each tab would have its own search textbox
  2. Similar to your "OutlookStyle" blog post, show us how to build a "portal" application, with a main view. Applications would be configured to be shown as "singleton" or appear multiple times. Add ability to preview open applications, display how many instances are open (the number of instances by the menu item for the application), showing also how to close an instance of an application verifying if contents have been changed and asking the user to save the information before closing. Thank you so very much. The community really appreciates your efforts.
  • Anonymous
    June 01, 2009
    I would like to see Module discovery for the catalog that didn't use the project reference.  You mention in the video other methods that are less tightly coupled and I would like to see that.