Another pattern commonly seen is the Model-View-Controller or some derivation of it.
At 08:40 AM 2/27/2003 +0100, Birgit Lewicki-Potapov wrote:
which good book(s) could you recommend on GUI construction that describes in detail which patterns should be used for which part of the GUI framework?
Thanks and regards, Birgit Lewicki-Potapov
-----Ursprüngliche Nachricht----- Von: Ralph Johnson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Februar 2003 06:59 An: Thiyagarajan_BHARATHI/IN/[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: GUI
Usually GUIs are based on the Observer pattern, also called Publish/Subscribe. They also use Mediator, Composite, Command, and most of the other patterns in Design Patterns. In fact, when the book first came out, people often criticised it as being a book of GUI patterns. It isn't; the patterns are much more general than GUIs. However, a large GUI framework will usually use most of the patterns.
You should get a book on GUI construction. It is a bad sign that the only pattern you mentioned was Singleton. This shows you don't understand how to construct GUIs very well. Singleton is a weak pattern, and whenever people start with Singleton, it is a sign of a bad design.
-Ralph Johnson
======== Joseph W. Yoder [EMAIL PROTECTED] http://www.joeyoder.com The Refactory Inc & Joe Yoder Enterprises Phone: (217) 344-4847 7 Florida Drive, Urbana, IL 61801 USA Fax: (217) 384-4458