Re: [gtkmm] Thin GUI with gtkmm



Hi
 
> Get the "Design Patterns" book by Gamma, et al, also referred to as 
> the "Gang of Four" or "GOF".  In addition to the design patterns 
> already mentioned you should pay close attention to Observer, which 
> forms the basis for the gtkmm signal system, and is one of the more 
> valuable techniques available to separate user interface from 
> implementation.

Yes, observer is a good pattern, but in this context you need to make 
sure that you don't end up coupling the application logic to gtkmm with 
it. One way to avoid that is of course to use an independant abstract 
interface for both the observer and observerable.

Regards
Paul

Paul Grenyer
Email: paul paulgrenyer co uk
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]