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



On 22 Nov 2005 01:24:37 -0800, David.Mentre@xxxxxxxxx wrote:

>Hello,
>
>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.
>
>Do you know a book to teach me how to use OO mechanisms to program a
>GUI application?
>
>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.
>
>As I'm programming my application on a quite esoteric platform
>(Objective Caml with GTK+ toolkit) I would prefer a generic book but a
>good book with examples, use cases, in a more common language could be
>helpful.
>
>Many thanks in advance for any pointer,
>Yours,
>d.
>
>PS: I made some googling but the most relevant post were from 1998.
>Maybe there is nowadays more up-to-date books.

I suspect you are programming a normal GUI and not an OO GUI, so I
would suggest reading up on all of the different flavours on the
Model View Controller pattern - there are enough flavours to give you
the information that you need. XVT, Microsoft and Rogue Wave all had
good variations.

If you are looking at OO Guis then...

I would suggest doing some research into object GUIs before trying to
learn how to program them. The two best ones would be Next and
Workplace Shell (WPS)

Otherwise you tend to find a lot of pretend OO GUIs which are just
misleading hacks at best.

WPS was ported to windows at one stage (from OS/2) and was good in
that Object REX could be used to program it. It also heavily
leveraged DSOM (Dynamic System Object Model) and Bento (OpenDoc).

Next produced the OpenStep operating system, then went belly up and
got brought by apple. However, GNUStep is an attempt to keep it
going. It uses Objective-C which was a precurser language to C++
back in the day (think C with extensions). Its not an OO GUI as WPS
is, but the underlying code attempted to deal with OO.


Andy


.



Relevant Pages

  • Re: Why There are no Asm Apps
    ... I've been following the "evolution" of software ... usually the "norm" on ROM as the language of the OS itself... ... when it goes wrong)...what about "aspect-orientated programming" ... ;)...for being a "microprocessor" which had a GUI operating ...
    (alt.lang.asm)
  • Re: Semi-newbie question on Visual C++ vs. Visual C#
    ... I took a bunch of programming classes some years ... Using MFC, I do this as an exercise in one of my courses. ... So I'm not sure why you said it was hard, unless you were trying to create a raw Win32 GUI ... Saving data structures and retrieving them is quite independent of the language. ...
    (microsoft.public.vc.mfc)
  • Re: Dad upgrade.
    ... If you are lucky and the original code has been tested and run on OSX - ... There are simpler programming environments to start - but if you want ... GUI programs stick with XCode ... marketeers for commercial software. ...
    (uk.comp.sys.mac)
  • Re: Newbie to the Group
    ... I don't think there is any problem with java ... and I wish I had some magic words to protect you from tunnel vision that leads people to start with a GUI. ... Search the archives of this group for #prod and #prod: - use the most recent version of it. ... If it sounds like I advocate eXtreme Programming, ...
    (comp.lang.smalltalk.dolphin)
  • Re: Looking Back, Looking Forward
    ... programming does not feel all that different from 1985. ... All the effort has gone into cosmetics -- the GUI. ... In hardware, when one uses many active/passive devices, one still does ...
    (comp.lang.java.advocacy)