W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2014

RE: Cordova and w3c spec Algnment - Vibration Gap Analysis

From: Parashuram Narasimhan (MS OPEN TECH) <panarasi@microsoft.com>
Date: Mon, 9 Jun 2014 17:44:55 +0000
To: "dev@cordova.apache.org" <dev@cordova.apache.org>, "<public-device-apis@w3.org>" <public-device-apis@w3.org>, Webapps WG <public-webapps@w3.org>
CC: Worklight Development Cordova <Worklight_Development_Cordova%IBMUS@us.ibm.com>
Message-ID: <1e9b26b06ae6442783cd8ed00714fc8c@DM2PR03MB366.namprd03.prod.outlook.com>
Here is some work that we have been doing - https://github.com/MSOpenTech/cordova-api-audit/compare/w3

As you can see from the diff, there were 2 approaches we took and would like feedback from folks here on the best approach to move forward with


1.       Automated

a.       Picked up type definitions for Cordova plugins from definatelytyped.org

b.      Generated Typescript bindings from the W3C IDL for each of the spec

c.       Checked each into its own branch, can now do a git style diff, showing the exact differences - look at the contacts.d.ts file for the diffs in the contacts API.

d.      Since this is utomatic, can cover more ground quickly, we just need to tweak the output at the end - things like Object.getSetter, etc. We are working on those now.

e.      Given that this is hosted on github, this can be easily updated as we continue to change the API

f.        Can also facilitate inline discussions

2.       Manual

a.       The Geolocation is a manual diff, all in Javascript.

b.      Still hosted on 2 github branches for enable automated diffs, inline discussions, etc.

I think we can combine our efforts here and take an approach that works for all. Comments, suggestions?

From: Lisa Seacat DeLuca [mailto:ldeluca@us.ibm.com]
Sent: Monday, June 9, 2014 7:20 AM
To: Cordova Dev (dev@cordova.apache.org); <public-device-apis@w3.org>; Webapps WG
Cc: Worklight Development Cordova
Subject: Cordova and w3c spec Algnment - Vibration Gap Analysis

Cordova and w3c teams~

Last week Dom (from w3c) and myself met to chat about aligning the Cordova and w3c specs.  We felt the best starting point was looking at the vibration spec as it "shouldn't change"... i.e. is pretty stable.  I put together a Google Doc identifying the 4 areas that will need to be addresses and will create the corresponding JIRA issues for Cordova to track their process.

Please take a look at the doc and feel free to edit or add comments (for those of you who tried earlier and couldn't access the doc, it is now open to anyone with the link):
https://docs.google.com/document/d/18b32aveubsr2g5Co_VeW4q3s3IXxuddUU2BO5eC3jVA/edit

This is the first step at getting Cordova and w3c better aligned.  Dom and I plan on documenting the process so we can replicate the efforts across the other specs as well.



Lisa

Lisa Seacat DeLuca
Mobile Engineer | t: +415.787.4589 | ldeluca@apache.org<mailto:ldeluca@apache.org> | | ldeluca@us.ibm.com<mailto:ldeluca@us.ibm.com> | lisaseacat.com<http://www.lisaseacat.com/> | [follow @LisaSeacat on twitter] <www.twitter.com/LisaSeacat> | [follow Lisa Seacat DeLuca on linkedin] <http://www.linkedin.com/in/lisaseacat>
Received on Monday, 9 June 2014 17:45:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:03 UTC