mtaulty

Prism & Silverlight: Part 3 - Modularity with Prism

Download this episode

Download Video

Description

This is part 3 of a series of screencasts illustrating some of the ideas found in "Prism" or the "Composite Application Guidance" from the Patterns and Practices team that can be used to build Silverlight applications in a way that lends itself to testability and modularity.

In talking to customers building business applications with Silverlight I find that Prism (and it's friend Unity) is frequently mentioned but not everyone has seen it and so I thought I would explore it myself and capture some of the results of that exploration here.

We start off with some fairly basic code which we move towards making use of dependency injection and modularity;

and then we move that code into the Silverlight world and try to illustrate some specific areas of Prism;

and then finally we try and bring some of these concepts together in a longer, more realistic example of a simple Email application built using the Prism framework - warning, this is a much longer session but I wanted something that draws things together;

The recommendation would be that you watch the 10 screencasts in order but if that feels like too long a process or if you're already very familiar with concepts like dependency injection and containers like Unity then perhaps watch the last screencast first and then refer back to the previous screencasts if certain areas need more illumination.

I put the source code for Video 10 here for download as it's a bigger set of source and something you might want to explore after the video - this does not necessarily represent "best practise" but is, instead, just meant to illustrate some of the Prism ideas.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • Edsilv

      People should use these videos as examples of how to produce a perfect tutorial. Amazing stuff.

    • mtaulty

      Thanks - very kind and I'm glad that you found them useful Smiley

    • David O'Brien

      Super series, any chance we could get you cloned to produce videos for all of .NET? Smiley

       

      Is there a way to use the app.config to register types rather than in the Initialize of the modules? 

    • mtaulty

      Not sure on the cloning front - will look into it Wink

       

      On the app.config front - not sure if it was to yourself but I discussed this with someone on mail the other day - shouldn't be too difficult to inject another service that does the wiring of regions to views to avoid having to embed too much in those module initializers.


      Mike.

    • qaiseriftik​har

      Hi,

       

      Great series! One non related comment though, surprise that while adding references why don't you use the recent tab instead of going to the prism folder each time??? Just wondering...

    • mtaulty

      Hi,


      Yes, I think it was just me being an idiot Smiley

       

      Mike.

    • Maharaj

      , Edsilv wrote

      People should use these videos as examples of how to produce a perfect tutorial. Amazing stuff.

      Absolutely agree. These videos are very informative and Mike you are a great teacher!!!

    • Alex J

      [quote]
      Sep 19, 2010 at 8:28 PM, Maharaj wrote
      *snip*
      Absolutely agree. These videos are very informative and Mike you are a great teacher!!!
      [/quote]
      It seems Mike is getting a fun club!
      Great tutorials indeed! Congrats!

    • Phil

      where can i find this composite dll in PRISM 4?

    • Shimi Weitzhandler

      I am unable to watch the vid in full-screen mode.

      Thanks for these videos Mike, you're the best!

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.