Boost logo

Boost :

Subject: Re: [boost] [rfc] cppgui
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2009-06-15 09:32:57


On Mon, Jun 15, 2009 at 10:00 AM, Jarrad
Waterloo<jwaterloo_at_[hidden]> wrote:
> Are you considering using the MVC pattern especially with respect to more
> complex controls such as list, trees and grids? Comparing it to Java, I like
> the architecture of Swing and SWT over the simple OS wrapper based
> architecture of GWT. Even the recent version of QT, I believe is using the
> MVC pattern. In a nut shell, data mapping and binding is preferable to
> adding data to a particular control and trying to keep the data in sync with
> the original source!

I'm not sure I follow your question.
Do you mean with regard to the items contained in these controls?
I'm working with an iterator-like interface. You can add and remove,
the signals from user input return the iterator the item used. You
just need to dereference it to see what it was.
The MVC is implemented in cppgui as responses from signals. The
signals would then be executed in another object, which implements the
controller.

[snip]

-- 
Felipe Magno de Almeida

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk