TK + MVC
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Oct 3 00:59:14 EDT 2011
Emeka wrote:
> Greg,
>
> Do you have an example where the Controller is connected?
No, in fact I've never really felt the need for anything
called a Controller in the GUI stuff I've done. I just
have Models and Views. Models hold the data, and Views
display it and handle input.
If you come across a case where a third object seems
justified, then by all means use one. But don't feel
obliged to include one just because it's part of some
official pattern or other.
--
Greg
More information about the Python-list
mailing list