[Pythonmac-SIG] GUIs and Python
Dan Grassi
dan@grassi.org
Fri, 15 Feb 2002 16:42:57 -0500
On Friday, February 15, 2002, at 03:52 PM, Marcel Prastawa wrote:
> I am using Pyro (Python Remote Objects) for doing distributed computing
> and one of the things I did was: execute the GUI loop in one process
> and the other stuff in different processes (you could run them on
> different machines). The GUI simply performs method calls on the
> object's proxy, which looks and feels like an ordinary Python object.
>
> Here's the link:
> http://pyro.sourceforge.net
While this is interesting and portions are definitely applicable it does
address a different problem.
While I did mention cross machine that is just a fortuitous out fall,
the main usage I envision is on a single machine. One would create a
GUI in some language (ObjC, Java, Applescript, etc.) and write some
interface code between the various GUI elements and GUI-IAC glue --
which could be potentially automatically generated by using the XLM
generated by Interface Builder on the Mac. This would be a full
application GUI server somewhat ala X. Python would import a GUI-IAC
module, launch the GUI application, control the GUI and receive
requests, responses and exceptions from the GUI. Again the GUI-IAC
module could potentially be automatically generated the same as the GUI
GUI-IAC glue .
This is not that much different from a chat server (python) client(Java)
that I worked on but usually on the same machine. Of course the Java
would be an application, not an applet.
BTW, I have looked a "Patterns," Gamma, et.al. and found little to
resemble this because they do not deal with network and ORB patterns
which are probably the closest. Does anyone have a pattern reference
that is close to this?
Dan