Seeking advice on GUI code architecture
Marco Bubke
marco at bubke.de
Mon Mar 15 12:46:19 EST 2004
Qp wrote:
> OK, I've heard briefly about MVC. I'll take a look and see if I can find
> any examples of that, particularily in network client development.
>
> Thanks,
> Qp
>
> "Ben Finney" <bignose-hates-spam at and-benfinney-does-too.id.au> wrote in
> message news:slrnc5a9on.4ib.bignose-hates-spam at iris.polar.local...
>> On Sun, 14 Mar 2004 22:29:08 -0500, Qp wrote:
>> > My problem is this: how do you keep your GUI code seperate from as
>> > much underlying code as possible?
>>
>> In the last decade, the "pattern language" method of formalising common
>> architectural solutions has been increasingly popular in programming.
>> It is especially popular in things like interface programming, where the
>> architecture chosen has a dramatic effect on the efficacy and efficiency
>> of the program.
>>
>> What you want may be the "Model-View-Controller" pattern. Others may
>> suggest other patterns. You would be well advised to read up on current
>> common patterns in interface design.
>>
>> --
>> \ "I think a good gift for the President would be a chocolate |
>> `\ revolver. And since he's so busy, you'd probably have to run up |
>> _o__) to him real quick and hand it to him." -- Jack Handey |
>> Ben Finney <http://bignose.squidly.org/>
Take a lok at this book. Its very good:
http://www.amazon.com/exec/obidos/ASIN/0201633612/qid=1079372741/sr=2-1/ref=sr_2_1/002-3309598-7663265
Marco
More information about the Python-list
mailing list