In message [EMAIL PROTECTED], Marco
Nawijn wrote:
The problem I face is that the implementation of the application class
is completely different for the local and remote case. The local case is a
straightforward implemenation using the subprocess module, the remote
case is a CORBA
Hello,
I have a hard time figuring out an elegant and efficient design for
the following problem.
I am working on automation of structural design problems. In the
majority of cases, this boils down to executing programs in batch in
one or more loops. The scripts to control the execution differ
Marco Nawijn [EMAIL PROTECTED] writes:
The problem I face is that the implementation of the application class
is completely different for the local and remote case. The local case
is a straightforward implemenation using the subprocess module, the
remote case is a CORBA implementation.
Marco Nawijn [EMAIL PROTECTED] wrote:
I have a hard time figuring out an elegant and efficient design for
the following problem.
What you want is known as the factory pattern.
[ ... ] I would
like the following (pseudo)-code to work:
app = Application('patran') # Run on local
Marco Nawijn a écrit :
Hello,
I have a hard time figuring out an elegant and efficient design for
the following problem.
I am working on automation of structural design problems. In the
majority of cases, this boils down to executing programs in batch in
one or more loops. The scripts to
On Aug 29, 3:03 pm, Marshall T. Vandegrift [EMAIL PROTECTED]
wrote:
Marco Nawijn [EMAIL PROTECTED] writes:
The problem I face is that the implementation of the application class
is completely different for the local and remote case. The local case
is a straightforward implemenation using