Re: Code design problem

2007-08-30 Thread Lawrence D'Oliveiro
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

Re: Code design problem

2007-08-29 Thread Marco Nawijn
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

Re: Code design problem

2007-08-29 Thread Bruno Desthuilliers
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

Re: Code design problem

2007-08-29 Thread Sion Arrowsmith
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

Re: Code design problem

2007-08-29 Thread Marshall T. Vandegrift
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