Re: looking for a pattern to code logic shared by gui/cli

2009-04-22 Thread norseman
Chris Rebert wrote: On Thu, Apr 16, 2009 at 12:36 PM, Andreas Balogh wrote: Only recently I have started developing code for application providing both a GUI and a command line interface (CLI). Naturally I want to reuse the business logic code for both GUI and CLI interfaces. The problem is to

Re: looking for a pattern to code logic shared by gui/cli

2009-04-16 Thread MRAB
Andreas Balogh wrote: Only recently I have started developing code for application providing both a GUI and a command line interface (CLI). Naturally I want to reuse the business logic code for both GUI and CLI interfaces. The problem is to provide feedback to the GUI on the one hand, to the CL

Re: looking for a pattern to code logic shared by gui/cli

2009-04-16 Thread Chris Rebert
On Thu, Apr 16, 2009 at 12:36 PM, Andreas Balogh wrote: > Only recently I have started developing code for application providing both > a GUI and a command line interface (CLI). Naturally I want to reuse the > business logic code for both GUI and CLI interfaces. The problem is to > provide feedbac