At 08:45 AM 9/17/2002 -0400, you wrote:
> >Subject: Re: remember database .)
> >From: Ben Combee <[EMAIL PROTECTED]>
> >Date: Mon, 16 Sep 2002 02:55:21 -0500
> >
> >At 02:52 PM 9/15/2002 +0200, you wrote:
> >>Does it really forbid two dbs with the same name or does it only
> >>forbid two dbs with the same name AND the same creator_id ?
> >
> >Names must be unique on the whole device, not just per creator ID.
> >This is why programming guidelines suggest you append your
> >creator ID to the end of DB's you create and filter that out when
> >showing DBs to the user.
>
>Actually showing the whole name does no harm and can be
>beneficial, so I wonder why you suggest hiding it?
>Remember, lots of people who use PC's are very accustomed to
>seeing file extensions, and there is a degree of equivalency to
>appending the crID and to a PC-type file extension.
>For example:   "DataFile-MSys"

It all depends on context.  One of the ideas behind Palm OS is that it 
hides the internals from users.  A user doesn't need to know that Datebook 
stores all the records in DatebookDB, for example... say you were writing a 
baseball team manager, why would showing "Tigers-BBTM" and "Rangers-BBTM" 
be preferable over just "Tigers" and "Rangers"?

I don't mind documenting the database names, perhaps in an "advanced" part 
of your documentation, but it really doesn't add any information to most 
applications that allow multiple databases, and can cause confusion, as the 
user wouldn't enter that string when they created a new DB from your app.

-- 
Ben Combee
CodeWarrior for Palm OS Platform technical lead
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to