Silverlight MVVM Example

27 views
Skip to first unread message

Jeremiah Morrill

unread,
Dec 4, 2008, 7:12:16 PM12/4/08
to wpf-di...@googlegroups.com
I have made a small MVVM application in Silverlight (a simple RSS reader).  I wanted to use it as an example to show folks one way to do MVVM in silverlight.  So the app is ugly as dirt and very simple...but I think thats the best way to do examples.

I was going to write a blog post about it soon.

http://jmorrill.hjtcentral.com/portals/21/Blog/Files/SLMVVM.zip

Let me know if you got any feedback,

-Jer

Corrado Cavalli

unread,
Dec 5, 2008, 12:35:53 AM12/5/08
to wpf-di...@googlegroups.com

Agree,

Simple demos are always great and yours is very good!

 

-Corrado

Jeremiah Morrill

unread,
Dec 5, 2008, 1:13:59 AM12/5/08
to wpf-di...@googlegroups.com
Thanks Corrado.

I think I may add a touch of data validation and call it done.  I'd be very interested to see other people's style of MVVM in Silverlight.  There's a lot of open ended things (ie commanding) compared to WPF that people have come up with great and interesting work arounds.

-Jer

Corrado Cavalli

unread,
Dec 5, 2008, 1:28:00 AM12/5/08
to wpf-di...@googlegroups.com

My current implementation is very similar to yours, I just use a different approach for page switching and I have some additional behaviors (one wires TextChanged event and updates a VM property so that I can dynamically change command availability while user typing into textboxes)

I presume more will come as soon as application grows…

 

-Corrado

 

From: wpf-di...@googlegroups.com [mailto:wpf-di...@googlegroups.com] On Behalf Of Jeremiah Morrill


Sent: venerdì 5 dicembre 2008 07:14
To: wpf-di...@googlegroups.com

Subject: [WPF Disciples] Re: Silverlight MVVM Example

 

Thanks Corrado.

I think I may add a touch of data validation and call it done.  I'd be very interested to see other people's style of MVVM in Silverlight.  There's a lot of open ended things (ie commanding) compared to WPF that people have come up with great and interesting work arounds.

-Jer

On Thu, Dec 4, 2008 at 9:35 PM, Corrado Cavalli <corrado...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages