[mcclim-devel] Push or Pull data in application

matthieu.villeneuve at free.fr matthieu.villeneuve at free.fr
Tue Jul 13 08:01:27 UTC 2010


Hello,

----- "Oliver Uvman" <oliver.uvman at gmail.com> a écrit :
> The problem I know I will eventually run into is updating the Clim
> interface when changes to data have been made through manual
> interaction with the backend. The solutions are either push or pull
> based, I guess. Push based is not really prefered, because the backend
> would have to keep track of the gui so it can send messages to it.

[Disclaimer: I don't remember much about GUIs and CLIM...]

Couldn't you define, as part of your GUI code, and for every "relevant"
backend method that updates the application data, an :after method that
updates or refreshes the interface contents?

Cheers,


--
Matthieu Villeneuve




More information about the mcclim-devel mailing list