MVVM Time Tracking App

3 posts, 0 answers
  1. David
    David avatar
    87 posts
    Member since:
    Jul 2010

    Posted 25 Apr 2011 Link to this post


    I have used this project as a vehicle to learn the MVVM pattern for WPF. I would be very interested and grateful to get some feedback on my approach. Especially from some of the Telerik guys (Evan, Miro, Ross).

    Note, the app is by no means a finished product. It is merely a small project with the focus being on learning the pattern using the MVVM Light Toolkit and the Telerik controls.

    One thing I set as a goal was to have the ViewModels completely decoupled. I did not want to include any ViewModel as a field in another ViewModel. I achieved that by using the MVVM Light Toolkit's messaging api.

    As I don't have a senior resource for guidance, any feedback on my interpretation of the MVVM pattern would be greatly appreciated.
    The project contains a read me file and can be downloaded here.

  2. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 29 Apr 2011 Link to this post

    Hey David,

    It definitely looks like you are on the right track with your approach in this project. 

    You pretty much hit on some of the targets with the MVVM pattern - bite-size chunks of code (great for testing), decoupled views and viewmodels, and using messaging to ensure that when one view/control needs to publish out info, another part of the project is listening and can respond, regardless of who the publisher and listener are. 

    If you keep on this approach you shouldn't run into any issues with the controls and your code should be easy to maintain and test, which are both great added bonuses of this pattern.

    Do let us know if you run into any issues with the controls, we're always happy to help our customers to build good software. :)

  3. David
    David avatar
    87 posts
    Member since:
    Jul 2010

    Posted 30 Apr 2011 Link to this post

    Hi Evan,

    Thank you so much for taking the time to look at my application.
    I very much appreciate it.
    And I'm very glad to hear that I am on the right track. I put a lot of work into trying to understand the pattern and a hands-on implementation is always the best way to learn.

    I'll call out if I run into any issues or come up with any interesting questions.


Back to Top