Re: [Pyobjc-dev] Separating functionality into modules
Brought to you by:
ronaldoussoren
From: Peter M. <zig...@po...> - 2002-11-20 13:29:48
|
On Thursday, November 21, 2002, at 12:11 AM, Jack Jansen wrote: > On Wednesday, Nov 20, 2002, at 06:13 Europe/Amsterdam, Peter Montagner > wrote: >>>> Another example of a python-specific functionality is a mixin class >>>> for a dialog that would automatically keep the dialog items synced >>>> with another object (using Pythons introspection to obtain the >>>> names of the dialog items, looking them up in the other object. >>>> Combined with slots this could even happen completely automatic). >>> >>> Not sure I get this one... >> >> I think he's talking about doing the standard "Controller" bit of the >> MVC paradigm automagically. There is a lot of stuff that a Controller >> class does that is done almost every time and is quite tedious to >> program. You're not going to be able to eliminate this repetitive >> application logic completely but this could help in making PyObjC a >> really easy RAD environment. Of course I probably misread his idea. > > That's indeed what I was thinking about. Well, care to elaborate in that case? It sounds very interesting. Have you put much thought into it or were you just throwing it out there as a possibility. How do you keep everything synced? Peter |