Which comes first the View or the ViewModel?Prism’s Event Aggregator

Commanding in Prism

June 25th, 2009

Commanding allows us to have a very slim View and push our logic into a Presenter/ViewModel and make that logic more testable. Unfortunately, commanding is one of the things that wasn’t included out of the box with Silverlight 2. Instead, there has to be some infrastructure to support Commanding. Prism has that infrastructure. In this episode, we talk to the Patterns and Practices team members to find out their thinking on Commanding and Prism. This show was taped on location in Microsoft building 5 with Patterns & Practices team members Bob Brumfield and David Hill. Also joining us was Shawn Wildermuth.

We talk about:

  • What does Commanding give us?
  • How does Commanding and no-codebehind in MVC relate?
  • How Commanding offers a level of indirection and a richer abstraction than eventing.
  • Creating Commands.

    Hyper-video screencast site See out companion hyper-video on how to do Prism Commands. In addition, we have a previous hyper-video all about Silverlight Prism and how to create a new Prism project.

    ————————-

    Music kindly provided by YACHT

    If you’re interested in Silverlight 2 or Silverlight 3, see our company where we do Silverlight Consulting and Silverlight Development.

    Follow us on twitterSparkling Client on twitter

    Entry Filed under: shows

    3 Comments Add your own

    • 1. DotNetShoutout&hellip  |  June 25th, 2009 at 1:11 pm

      Interview with the Prism Team – Commanding…

      Thank you for submitting this cool story – Trackback from DotNetShoutout…

    • 2. Servefault.com&hellip  |  September 27th, 2009 at 10:53 pm

      How to Fire Events into the MVVM ViewModel with Prism Commands…

      Thank you for submitting this cool story – Trackback from Servefault.com…

    • 3. RamPrawesh  |  April 14th, 2010 at 2:40 am

      Hi..it was pretty good. but it woult be more helpfull if give small full example.

    Leave a Comment

    Required

    Required, hidden

    Some HTML allowed:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Trackback this post  |  Subscribe to the comments via RSS Feed


    Hosts

    Erik Monica
    Erik Mork Monica Mork

    Categories

    Links

    Recent Posts

    Calendar

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  

    Posts by Month

    Posts by Category

    Meta