Can the MVC Design Pattern / architectural pattern be used in Desktop Application Development?

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.

Answers


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


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


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


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.


For others whom might be interested:

http://dotnetslackers.com/articles/aspnet/BuildingModelViewPresenterAapplicationsWithMVCFramework.aspx

http://www.mvcsharp.org/Getting_started_with_MVCSharp/Default.aspx


Need Your Help

Celery - How to send task from remote machine?

python celery

We have a server running celery workers and a Redis queue. The tasks are defined on that server.