如何学习MVC - *未在Web设置*MVC、Web

2023-09-03 07:47:29 作者:酒比男人好只伤身不伤心

我想学习的MVC模式,并将其应用到GUI开发(在C#.net,至少在第一,但我觉得我想申请在其他地方也是如此)。 pretty的每很多教程,我到目前为止看到的假设,如果你正在考虑MVC中,你必须做Web开发,他们研究的MVC单从网络环境中。我不给一个关于Web开发的叫声。

I wish to learn the MVC paradigm and apply it to GUI development (in C#.NET, at least at first, but I think I'd like to apply it elsewhere too). Pretty much every tutorial I've seen so far assumes that if you are thinking MVC, you must be doing web development, and they examine MVC solely from within a web context. I don't give a hoot about web development.

是否有人使用MVC在非网络环境?现在看来似乎会是理想的GUI开发 - 从底层数据模型分开presentation。但我刚学,所以我不知道。任何指针教程或参考书将AP preciated,谢谢。

Does anyone use MVC in a non-web context? It seems like it'd be ideal for GUI development -- separate the presentation from the underlying data model. But I'm just learning so I don't know. Any pointers to tutorials or reference works would be appreciated, thanks.

推荐答案

检查出的书头的设计模式。的这是一个很好的指南,实施设计模式,具有MVC的实训,以及

Check out the book Head First Design Patterns. It's an excellent guide to implementing design patterns and has a solid example of MVC as well.