W3C home > Mailing lists > Public > public-device-apis@w3.org > July 2011

Re: An integrated view of Device APIs

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Tue, 5 Jul 2011 13:02:01 +0300
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <BFDB64BB-266A-47BD-B4D3-95C6DCF8C5E7@nokia.com>
To: <roBman@mob-labs.com>
Hi,

On 30.6.2011, at 3.42, ext Rob Manson wrote:

> What I'm specifically interested in, as the subject line says, is how
> these different APIs and features all work together in an integrated
> way.

The web platform, including Device APIs, should work well together. Thus e.g. the HTML Design Principles (http://www.w3.org/TR/html-design-principles/) apply here as well. Consistency is key.

> For example, with the orientation API some browsers return values
> because the browser supports the API even if the device doesn't (e.g.
> Chrome).  But other APIs/Browsers don't do this.

You should sent your detailed Device Orientation specific feedback to the Geolocation WG mailing list (http://lists.w3.org/Archives/Public/public-geolocation/). I'm sure they'd appreciate any feedback from early adopters. That said, the First Public Working Draft of the Device Orientation spec was published just a week ago, so I would not expect early implementations to be flawless.

> And across the board
> there doesn't seem to be a consistent pattern of "UA support" vs "device
> support" that we can introspect.

What is not covered by feature detection techniques?

> I saw this design pattern link shared
> on the whatwg irc channel recently and was hoping it would also deal
> with this type of pattern. http://dev.w3.org/2009/dap/design-patterns/
> Perhaps there's a more up-to-date or relevant place I should be looking?


That document is an early Editor's Draft, and in its current form it's vague and incomplete, and thus obsolete. We should make that more obvious (currently, it is listed as "exploratory work" on the DAP home page, and the doc abstract is misleading by stating that "these are the requirements for the API Design Patterns work undertaken by the DAP WG").

The doc has been superseded by an informal checklist (work in progress):

  http://www.w3.org/2009/dap/wiki/ApiCheckList

-Anssi
Received on Tuesday, 5 July 2011 10:02:54 UTC

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