Re: Model/View/Controller architecture
- From: Federico Mena Quintero <federico redhat com>
- To: andrei ispi net
- CC: gnome-devel-list gnome org
- Subject: Re: Model/View/Controller architecture
- Date: Wed, 24 Nov 1999 18:20:37 -0500
> I've seen some widgets in GNOME programs that use model/view/controller
> architecture (Eye Of Gnome, for example). I'm interested in learning
> more about this. Can anyone suggest some books or maybe there is an
> article in GNOME repository about it? Which GNOME projects use it?
Books on the Java Swing architecture will mention this. Likewise for
the old Smalltalk papers. And the "Design Patterns" book has this as
well.
Basically, the idea is to separate your data model from your display
engine and UI control semantics. A "view" is a graphical
representation of a specific data model. Usually, multiple views can
display the same data model, so changes in the data model will be
reflected by all views automatically. This means you need a
notification system so that the data model can inform the rest of the
world about changes to its data.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]