[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] I have a quick question... again...



In a message of Sun, 17 Jun 2007 13:36:39 +1200, Greg Ewing writes:
>Marius Gedminas wrote:
>> I never fully understood the "controller" part of it;
>
>Me neither. I *think* in the original Smalltalk terminology,
>the view handled output and the controller handled input.
>But I find that input and output are usually so closely
>coupled that it's not worth having two separate objects,
>so I just talk about a View and a Model.
>
>In Cocoa, they seem to use the word "controller" to
>refer to an intermediate object that sits between the
>model and a collection of user interface objects
>and coordinates them. In my code, I usually use a
>subclass of Window for this, so again it's not a
>separate object.
>
>--
>Greg

see: http://c2.com/cgi/wiki?WhatsaControllerAnyway
for how the usage has changed. 

Laura