tags:

views:

806

answers:

5

I've just learned what ASP.NET MVC is and I'm wondering if the pattern is ever used in Windows Desktop application development?

I'm specifically looking at potentially trying to use it in a Desktop .NET application.

Please forgive me if this question is way out in left field in terms of how MVC is suppose to be used. I'm still trying to wrap my head around the details of it.

Thank you in advance and best regards,
Frank

+4  A: 

Most definitely. Here is a list of MVC GUI frameworks.

Hates_
+6  A: 

The Model-View-Controller Pattern works like a dream with "desktop" apps, as you don't have to worry about handling state information.

David Kemp
Thank you. I had to select the Hates_'s answer because of the link. But I still thank you for your reply.
Frank V
+1  A: 

MVC comes in many flavors, Marting Fowler discusses at http://martinfowler.com/eaaDev/uiArchs.html

Google returns quite a lot of interesting stuff for windows forms mvc also

mmiika
Googling it it was a good idea; thanks
Frank V
A: 

I don't rememer where I see a good example of MVC for descktop apps.
It was about a thermometer.
The model was the thermometer it self. A simple POJO with the current state of temperature.
The apps have several views and controllers of the thermometer.
The controllers calls the setters, and the views calls the getters.
To synch the app use the Observer pattern. The views subscribe to the model.
And the model notify all the views subscribed in each setter.

It was a very useful example for understand MVC.

damian