a simple mvc pattern for use with gtk#
Tuesday, October 28th, 2008Contents:
The Problem
The underlying data object
The solution: A controller class
Binding the views to the controller
Flaws?
Unit Testing
Summary
I'm going to illustrate a simple model-view-controller (mvc) pattern that I've discovered after much trial and error. Also, there is nothing specific to gtk-sharp about it, you could use it for any UI toolkit.
The Problem
According to Wikipedia, the MVC pattern [...]