[plt-scheme] GUI Development Approach

From: Corey Sweeney (corey.sweeney at gmail.com)
Date: Tue Nov 22 20:18:44 EST 2005

You may wish to investigate "Model-view-controller"
http://en.wikipedia.org/wiki/Model-view-controller.  It sounds like this is
probably what you don't want, but it's a known name, and you can use it as a
keyword to run searchs for alternatives to model-view-controller.

Also, note that the Drscheme GUI builder allows the builders GUI
representations to be inline, so you can put pieces anywhere you want.

I talk about guibuiler here:
http://students.depaul.edu/~csweeney/Guibuilder.Tutorial.html

Corey


On 11/22/05, Paulo Jorge Matos <pocmatos at gmail.com> wrote:
>
> Hi all,
>
> I'm not used to development of GUI applications but from what I've
> seen from GTK apps (generated usually by Glade) and MrEd apps, code
> gets a mess rapidly since all widgets get stuck into the same file
> when created due to the fact that they interact with one another. A
> button click updates a list box. The list box updates some fields. The
> menu bar... etc, etc, etc...
>
> Is there a structured approach to writing a GUI without having to
> define all widgets in a module.
> I tried to define each GUI part as an object. Initially I had a
> dependency graph and I made sure all widgets which generated a
> dependency cycle (changed each other) were within the same module. And
> the initial implementation started ok. With the need to add features,
> I started to need to change this button and that label and that...
> that were in diferent models. Now I'm stuck in the middle of cyclic
> module dependencies... :-|
>
> Any hints, tips, or reference papers would be _greatly_ appreciated.
>
> Cheers,
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



--
((lambda (y) (y y)) (lambda (y) (y y)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20051122/6ce3850a/attachment.html>

Posted on the users mailing list.