Organization of GUIs

Michael Torrie torriem at gmail.com
Thu Dec 3 18:40:05 EST 2009


Lie Ryan wrote:
> On 12/4/2009 12:44 AM, Michael Mossey wrote:
>> I have a question about typical organization of GUIs. I will be using
>> PyQt.
>>
> 
> Model-View-Controller (MVC) pattern.
> 
> Model - all the business logic lives in the model.
> View - your GUI
> Controller - Takes input

No, you've got it wrong:

Model - Your data or database, some rules to enforce integrity
Controller - your business logic
View - Your gui, takes input



More information about the Python-list mailing list