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

Re: What does it all hang off of?

From: <Jere.Kapyaho@nokia.com>
Date: Mon, 5 Oct 2009 11:31:11 +0200
To: <robin@berjon.com>, <brian@westcoastlogic.com>
CC: <public-device-apis@w3.org>
Message-ID: <C6EF978F.8A58%jere.kapyaho@nokia.com>
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,
Jere
Received on Monday, 5 October 2009 09:32:10 UTC

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