Re: To Document-Base or not Document-Base...
Re: To Document-Base or not Document-Base...
- Subject: Re: To Document-Base or not Document-Base...
- From: mw <email@hidden>
- Date: Sat, 04 Jan 2003 08:41:11 -0500
On 1/3/03 4:41 PM, "Chris Hanson" <email@hidden> wrote:
>
At 10:02 AM -0500 1/3/03, mw wrote:
>
> There is a central
>
> database per user that takes care of loading and unloading settings and
>
> "documents" (that aren't really individual documents... this is hard to
>
> explain) automatically.
>
>
Are you really, really sure there's only going to be one database per
>
user? Sometimes it's useful to have more than one. You might want
>
to just have it open a user-specified database at startup.
>
>
-- Chris
>
Oh no, there will be more than one database TOTAL. But just one that keeps
track of users and their settings. I believe there are going to be 2 other
databases as well, maybe even 3, but I am not sure about the third one
because it could be combined with one of the other ones. But it isn't user
specified. I guess the easiest way to explain this is by looking at Apple
Mail or Microsoft Entourage. Each of those programs keeps an Email Database
for each user. When the program starts up, the user is determined and all of
the emails are loaded from the database into the program. That's kind of how
it is going to work, but not exactly since my program isn't an email client
:-).
I have chosen not to use a Document-Based application since it doesn't
follow the key rule of one document assigned to each window, and then there
is the fact that the user won't be able to create a "New" document (from
File/New) because there wouldn't be any point to it. I also bought Scott
Anguish's "Cocoa Programming" book and read through the chapter about
NSWindows and NSDocuments and saw that all of the things provided by
NSDocument weren't really needed by my program and would probably just get
in the way.
Thanks for all of your help!
mw
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.