Re: Looking for a good book on object-oriented GUI programming



Responding to David.Mentre...

I'm programming a graphical client for a server (demexp) and I realized
that I'm lacking most of knowledge to do a good object-oriented design
of my GUI application.

Since the client is obviously not the server you will be getting proper application partitioning "for free". However, if your client does more than simple DB-to-UI conversions, you may need additional partitioning on the client side. [My blog has a category on Application Partitioning and the post on interfaces would be of particular interest.]


Do you know a book to teach me how to use OO mechanisms to program a
GUI application?

What you need first is a good book on OOA/D. As it happens GUIs are a kind of soft target for OO techniques, so most OOA/D books will have examples. However, the most important things to grasp are basic OO design notions like abstraction and encapsulation. Once the basics are in hand stuff like GUI become obvious. [My blog also has a section on Books that provides some suggestions for selecting an OOA/D book. This is really a job for bookstore browsing because reviews don't really cut it.]


I've already read the Design Patterns book. I know about SmallTalk,
C++, Java and Eiffel languages (i.e. I've read book about them and
programmed a little, but never done real world applications). So I
consider I know most of OO mechanisms, but not on how to use them the
correct way.

Alas, Design Patterns is a pretty advanced text and it is focused on a very narrow set of problems (implementing relationships whose participation is too dynamically complex for a simple association implementation to handle). Also, OOPLs are not a good place to start learning OO because they are still 3GLs and it is far too easy to map procedural design techniques onto them.



************* There is nothing wrong with me that could not be cured by a capful of Drano.

H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions  -- Put MDA to Work
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
(888)OOA-PATH



.



Relevant Pages

  • Re: Great SWT Program
    ... GUI to configure something. ... version of the configuration file. ... Is its design based pragmatically around ... stick shift with the groove pattern ...
    (comp.lang.java.programmer)
  • Re: very interesting survey of Tk vs. other toolkits
    ... Ease of distribution for Tk with Ruby isn't great... ... a modern GUI. ... GUI Design and programming are totally different ... same in every scripting language, except for tcl (and applescript, ...
    (comp.lang.tcl)
  • Re: VS2005 and VS 6.0
    ... design principles, but that's all old stuff anyway, and what good is it? ... Most of MFC is unchanged. ... Am I expected to re-learn the entire GUI? ... And how do I override the OnPaint function? ...
    (microsoft.public.vc.mfc)
  • Re: GUI designs, accessibility and navigability
    ... typists as there are so many great shortcuts available. ... But no single UI design can possibly be so adaptable - at least, ... Apple manuals never were much ... But then with a GUI you just dragged the files across ...
    (uk.comp.sys.mac)
  • Re: In phrase of LTC Spice
    ... Have you actually tried the SS GUI? ... improvements to the basic spice architecture was, arguable, one dude. ... If one was writing the *first* simulator ... board design simply plugs in already designed i.c.s. ...
    (sci.electronics.design)