Sparkling Client: Which comes first the View or the ViewModel?

Sparkling Client

In a Silverlight MVVM application, we have two related entities: the View and the ViewModel (Presenter).  They go together to help present information to the user, but which one should be created first?  Which one should know about the other one? This show: View or ViewModel (Presenter) First? Th...

Running time
0h7m
File size
7.00MB

Download Original File | View original post

Episode synopsis

In a Silverlight MVVM application, we have two related entities: the View and the ViewModel (Presenter).  They go together to help present information to the user, but which one should be created first?  Which one should know about the other one? This show: View or ViewModel (Presenter) First? 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:

  • View First Benefits
  • ViewModel (Presenter) First Benefits
  • Does either approach contribute to Blendability (displaying sample data in Blend)
  • How Blend 3 helps the Blendability story
  • Testing of the View
  • Appropriate use of Bindings

————————-

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

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“My definition of an expert in any field is a person who knows enough about what's really going on to be scared.” - P. J. Plauger