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 implem
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 implemenat
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 scr
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 o
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. S