Seeking advice on GUI code architecture

Lars Heuer python at quixs.com
Mon Mar 15 13:58:39 CET 2004


Hi Qp,

> My problem is this:  how do you keep your GUI code seperate from as much
> underlying code as possible?  As I begin, I find myself adding a lot of
[...]
> If anyone has tips, docs, or examples, I would greatly appreciate it.

I.e. Facade Pattern may help you to keep the GUI separate from the
underlying network / business logic:
http://c2.com/cgi/wiki?FacadePattern

http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/patterns/tutorial.html

Maybe there are more patterns which may fit your needs, but Facade is
one of them which might help. ;)

Best regards,
Lars





More information about the Python-list mailing list