• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: To Document-Base or not Document-Base...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: [ANN] PostgreSQL Cocoa Classes Updated
  • Next by Date: Quickly drawing non-antialiased, discrete, pixels
  • Previous by thread: Re: To Document-Base or not Document-Base...
  • Next by thread: NSTask leaking ?
  • Index(es):
    • Date
    • Thread