FROM : j o a r
DATE : Wed Apr 06 22:10:40 2005
I don't see why you would need separate processes for each db? Why
not just have a separate configuration file per db (if you even need
that), and then create some sort of db-server object per db (ie. per
db config), probably running in separate threads in your app / tool.
Perhaps you can think of it as something like a document based
application (think TextEdit), but where your documents are your
configuration files. I'm not certain that you should use the "Cocoa
document based app" templates for this purpose, but the underlying
design could probably be similar.
j o a r
On 6 apr 2005, at 21.02, Daniel Hazelbaker wrote:
> So my question is, is there an apple approved method of running
> multiple instances of an application, each with its own
> configuration, on the same machine? I know I can "force" it to
> happen by launching the executables directly with Terminal, but I
> doubt that is an appropriate way to do what I want. Or am I stuck
> with the choices of running on different machines or rewriting to
> deal with multiple databases in a single instance?
>
DATE : Wed Apr 06 22:10:40 2005
I don't see why you would need separate processes for each db? Why
not just have a separate configuration file per db (if you even need
that), and then create some sort of db-server object per db (ie. per
db config), probably running in separate threads in your app / tool.
Perhaps you can think of it as something like a document based
application (think TextEdit), but where your documents are your
configuration files. I'm not certain that you should use the "Cocoa
document based app" templates for this purpose, but the underlying
design could probably be similar.
j o a r
On 6 apr 2005, at 21.02, Daniel Hazelbaker wrote:
> So my question is, is there an apple approved method of running
> multiple instances of an application, each with its own
> configuration, on the same machine? I know I can "force" it to
> happen by launching the executables directly with Terminal, but I
> doubt that is an appropriate way to do what I want. Or am I stuck
> with the choices of running on different machines or rewriting to
> deal with multiple databases in a single instance?
>
| Related mails | Author | Date |
|---|---|---|
| Daniel Hazelbaker | Apr 6, 21:02 | |
| Dave Rehring | Apr 6, 21:36 | |
| j o a r | Apr 6, 22:10 | |
| Daniel Hazelbaker | Apr 7, 03:38 | |
| j o a r | Apr 7, 08:20 | |
| Jonathon Mah | Apr 7, 08:52 |






Cocoa mail archive

