Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: Tk - is MainWindow robust?

by dk (Chaplain)
on Dec 02, 2005 at 11:15 UTC ( #513561=note: print w/replies, xml ) Need Help??

in reply to Re^2: Tk - is MainWindow robust?
in thread Tk - is MainWindow robust?

how about still use sockets (or pipes), but instead of establishing a communication between different programs on different boxes uning local displays, communicate between different programs on a single local box using remote displays? I mean, if your current version is somewhat like
box1:select(@handles_from_boxes) and do_logic() connect to box1, create windows and buttons,
then I propose to do this instead:
box1: for ( @boxes) {
     $ENV{DISPLAY} = $_;
     system "";
select(@handles_from_boxes) and do_logic()

Replies are listed 'Best First'.
Re^4: Tk - is MainWindow robust?
by matt.tovey (Beadle) on Dec 02, 2005 at 15:12 UTC
    At first I read this and thought "Great, the worst of both solutions!". But thinking it through, this actually sounds pretty good. Everything runs on one box, so the architecture problems disappear. No more rsh. Performance will be improved over my proposed monolithic solution (these are mostly SMP boxes).

    Best of all, I get to keep using the socket code I wrote that I'm so proud of. :)

    Don, thanks for your comments too. Yes, I am somewhat nervous about how complex the system is becoming! I can't say too much about the application, but this isn't something that I would know how to solve with a web-browser.

    Cheers, Matt

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513561]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2023-11-28 19:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found