You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2012/09/12 13:59:39 UTC

[Cordova Wiki] Update of "Core API Audit" by brianleroux

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "Core API Audit" page has been changed by brianleroux:
http://wiki.apache.org/cordova/Core%20API%20Audit

New page:
= Core API Audit =


Good software,like a garden, needs maintenance. The Cordova Core API has a few weeds that need pulling! 

== Accelerometer ==

 /!\ deprecated for http://dev.w3.org/geo/api/spec-source-orientation.html

== Camera ==

No action required.

== Capture ==

 /!\ deprecated for http://www.w3.org/TR/media-capture-api/

== Compass ==

leave be but is this not covered by deviceorientation?

== Connection ==

leave be (work in sysapps will replace this)

== Contacts ==

leave be (work in web intents http://www.w3.org/TR/contacts-api/ and native picker in future for sure)

== Device ==

 /!\ deprecated and move this gunk to cordova global (perhaps this belongs to capabilities api?)

== Events ==

 /!\ deprecate battery stuff for its own plugin; leave the rest be

== File ==

normalize paths

== Geo ==

leave be

== Media ==

requires further audit (jesse doing this) (use html5 audio and/or normalize apis / add volume event) https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html

== Network ==

Move from navigator.network.connection -> navigator.connection. Re-work online/offline events to fire on window and document.body as per spec.

== Notification ==

 /!\ deprecated completely. alert/confirm in standard browser API, vibrate move to http://www.w3.org/TR/vibration/, kill beep

== Storage ==

 /!\ deprecate, the w3c doesnt want to support nor should we. file api and idb should care for all these use cases