Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Tk - is MainWindow robust?

by dk (Chaplain)
on Dec 02, 2005 at 11:15 UTC ( [id://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()
box2:tk-interface.pl: connect to box1, create windows and buttons,
then I propose to do this instead:
box1: for ( @boxes) {
     $ENV{DISPLAY} = $_;
     system "tk-interface.pl";
}
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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-23 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found