W3C home > Mailing lists > Public > public-device-apis@w3.org > October 2009

RE: What does it all hang off of?

From: Nilsson, Claes1 <Claes1.Nilsson@sonyericsson.com>
Date: Mon, 5 Oct 2009 12:08:31 +0200
To: "'Jere.Kapyaho@nokia.com'" <Jere.Kapyaho@nokia.com>, "robin@berjon.com" <robin@berjon.com>, "brian@westcoastlogic.com" <brian@westcoastlogic.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <6DFA1B20D858A14488A66D6EEDF26AA3208923CDD3@seldmbx03.corpusers.net>
I agree with Robin and Jere. Don't see the logic of hanging device APIs off the Navigator object.


-----Original Message-----
From: public-device-apis-request@w3.org [mailto:public-device-apis-request@w3.org] On Behalf Of Jere.Kapyaho@nokia.com
Sent: måndag den 5 oktober 2009 11:31
To: robin@berjon.com; brian@westcoastlogic.com
Cc: public-device-apis@w3.org
Subject: Re: What does it all hang off of?

On 5.10.2009 12.05, "ext Robin Berjon" <robin@berjon.com> wrote:

> On Oct 2, 2009, at 23:43 , Brian LeRoux wrote:
>> my vote would be to keep things simple and consistent. there is
>> nothing really wrong w/ hanging off of navigator / this is how we
>> implemented in PhoneGap
> Ok, I guess once more we go bravely down the lovely route of ratifying
> existing poor naming :-)
> --
> Robin Berjon - http://berjon.com/

Please don't, at least not yet. :-) I've always thought that hanging things
off navigator is not a good idea (it's one form of namespace pollution, and
seems wrong conceptually). Especially with the device APIs I would certainly
not want to put all of them there, even with some subpackaging in place.

>From the options Robin presented earlier, I would pick 3) and 4) for further
consideration, and eventually maybe just go for 4). One global symbol added
is fine, but no more. Of course, the name of that symbol would still be open
for discussion at this point, but 'device' isn't all bad.

Best regards,
Received on Monday, 5 October 2009 10:09:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:39 UTC