Re: MVC programming with python (newbie) - please help

2006-01-11 Thread bwaha
Well I read this in daylight hours. Talk about Enlightening!!!. It all became clear. Now I even understand the point of an observer class, which was shown in an example I posted back to the group from an earlier reply. Thanks again for sharing your knowledge. Be Well and Happy Always Chris

Re: MVC programming with python (newbie) - please help

2006-01-09 Thread bwaha
"has" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > bwaha wrote: > > The author refers to mvctree.py in wxPython as an example of MVC design. > > However I'm still too green so I find that particular example too complex > > and I'm not understanding the separation the author is rec

Re: MVC programming with python (newbie) - please help

2006-01-09 Thread has
bwaha wrote: > The author refers to mvctree.py in wxPython as an example of MVC design. > However I'm still too green so I find that particular example too complex > and I'm not understanding the separation the author is recommending. MVC is all about separation of concerns. The Model is responsi

Re: MVC programming with python (newbie) - please help

2006-01-09 Thread has
bwaha wrote: > The author refers to mvctree.py in wxPython as an example of MVC design. > However I'm still too green so I find that particular example too complex > and I'm not understanding the separation the author is recommending. MVC is all about separation of concerns. The Model is responsi

Re: MVC programming with python (newbie) - please help

2006-01-08 Thread Scott David Daniels
has wrote: > MVC is all about separation of concerns This is a wonderful explanation of MVC. I'm going to keep a link to the Google-Groups version just so I can cite it to those asking about MVC. --Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: MVC programming with python (newbie) - please help

2006-01-08 Thread has
bwaha wrote: > The author refers to mvctree.py in wxPython as an example of MVC design. > However I'm still too green so I find that particular example too complex > and I'm not understanding the separation the author is recommending. MVC is all about separation of concerns. The Model is responsi

Re: MVC programming with python (newbie) - please help

2006-01-07 Thread bwaha
"bwaha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'd appreciate some experience from the gurus out there to help me > understand how to implement MVC design in python code. Thanks for all the help. Also this link was sent to me by pm and I found this very useful too. Its a

Re: MVC programming with python (newbie) - please help

2006-01-07 Thread bwaha
"Gerard Flanagan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gerard Flanagan wrote: > > > bwaha wrote: > > > > > I'd appreciate some experience from the gurus out there to help me > > > understand how to implement MVC design in python code. > > > > > > > Badly snipped, not prete

Re: MVC programming with python (newbie) - please help

2006-01-07 Thread Gerard Flanagan
Gerard Flanagan wrote: > bwaha wrote: > > > I'd appreciate some experience from the gurus out there to help me > > understand how to implement MVC design in python code. > > > Badly snipped, not pretending to be a 'guru' Gerard -- http://mail.python.org/mailman/listinfo/python-list

Re: MVC programming with python (newbie) - please help

2006-01-07 Thread Gerard Flanagan
bwaha wrote: > I'd appreciate some experience from the gurus out there to help me > understand how to implement MVC design in python code. > I'm neither a guru nor an expert, have never used wxpython, and am not qualified to advise on MVC!! But until someone more qualified arrives here's some cod

Re: MVC programming with python (newbie) - please help

2006-01-06 Thread Gerard Flanagan
bwaha wrote: > I'd appreciate some experience from the gurus out there to help me > understand how to implement MVC design in python code. > Model class Study(object): def __init__(self, name, file): self.name = name self.file = file class Project(object):

Re: MVC programming with python (newbie) - please help

2006-01-06 Thread Frank Niessink
bwaha wrote: > > At some level this seems to me like the class ListDataModel above. I just > need to make a MyTreeControl class. However here GS(et) routines are > implemented in the ProjectFileDecoder class (data model?) whereas in the > earlier advice they are in class MyCoolListControl. So I'm

MVC programming with python (newbie) - please help

2006-01-06 Thread bwaha
I'd appreciate some experience from the gurus out there to help me understand how to implement MVC design in python code. Entry number 5 on the wxpython wiki at http://wiki.wxpython.org/index.cgi/BuildingControls discusses MVC design in building reusable controls. The author (Terrel Shumway) sugge