W3C home > Mailing lists > Public > public-media-annotation@w3.org > July 2013

Fwd: review Proposed Recommendation version of the API for Media Resources 1.0

From: Florian Stegmaier <stegmaier@dimis.fmi.uni-passau.de>
Date: Mon, 8 Jul 2013 10:50:14 +0100
To: "public-media-annotation@w3.org" <public-media-annotation@w3.org>
Message-Id: <B3F08B8B-3261-42ED-A050-EB067D15813B@dimis.fmi.uni-passau.de>
Hi Thierry,

any follow up on my comment? I am not quiet sure, how we proceed now…thank you in advance!

Cheers.
_____________________________
Dipl. Inf. Florian Stegmaier
Chair of Distributed Information Systems
University of Passau
Innstr. 43
94032 Passau

Room 248 ITZ

Tel.: +49 851 509 3063
Fax: +49 851 509 3062

http://twitter.com/fstegmai
http://www.mendeley.com/profiles/florian-stegmaier/
_____________________________

Anfang der weitergeleiteten Nachricht:

> Umgeleitet von: public-media-annotation@w3.org
> Von: Florian Stegmaier <stegmaier@dimis.fmi.uni-passau.de>
> Betreff: Aw: review Proposed Recommendation version of the API for Media Resources 1.0
> Datum: 2. Juli 2013 10:48:45 GMT+01:00
> An: Thierry MICHEL <tmichel@w3.org>
> Kopie: "public-media-annotation@w3.org" <public-media-annotation@w3.org>
> 
> Hi Thierry, 
> 
> Werner was so kind to send me the current version as PDF. I focused mainly on the WebIDL things. At first, i performed an online check [1] to be sure that our code is syntactically correct. I investigated further in the comment about handleEvent and Callback functions. In section 3.2 of the current WebIDL spec [2] a "warning"-note says the following:
> 
> Warning:
> Specification authors should not define callback interfaces that have only a single operation, unless required to describe the requirements of existing APIs. Instead, a callback function should used.
> 
> The definition of EventListener as a callback interface is an example of an existing API that needs to allow user objects with a given property (in this case “handleEvent”) to be considered to implement the interface. For new APIs, and those for which there are no compatibility concerns, using a callback function will allow only a Function object (in the ECMAScript language binding).
> 
> This is exactly the case for the three interfaces "PropertyCallback",  "MetadataCallback" and "ErrorCallback". Our interfaces do not need further (optional) inputs that would require a callback interface in the sense of WebIDL. Further, an EventHandler or -Listener is not needed in this place. The examples in the section 3.2 [3] justify this. Maybe the  abstract naming of the methods in handleEvent led to misinterpretations and caused the correlation with events.
> 
> Cheers.
> 
> [1] http://www.w3.org/2009/07/webidl-check
> [2] http://www.w3.org/TR/WebIDL/
> [3] http://www.w3.org/TR/WebIDL/#idl-interfaces
> _____________________________
> Dipl. Inf. Florian Stegmaier
> Chair of Distributed Information Systems
> University of Passau
> Innstr. 43
> 94032 Passau
> 
> Room 248 ITZ
> 
> Tel.: +49 851 509 3063
> Fax: +49 851 509 3062
> 
> http://twitter.com/fstegmai
> http://www.mendeley.com/profiles/florian-stegmaier/
> _____________________________
> 
> Am 02.07.2013 um 08:56 schrieb Florian Stegmaier <stegmaier@dimis.fmi.uni-passau.de>:
> 
>> Hi Thierry,
>> 
>> i just wanted to go through it, but i cannot view it due to privacy restrictions :(
>> 
>> Cheers.
>> _____________________________
>> Dipl. Inf. Florian Stegmaier
>> Chair of Distributed Information Systems
>> University of Passau
>> Innstr. 43
>> 94032 Passau
>> 
>> Room 248 ITZ
>> 
>> Tel.: +49 851 509 3063
>> Fax: +49 851 509 3062
>> 
>> http://twitter.com/fstegmai
>> http://www.mendeley.com/profiles/florian-stegmaier/
>> _____________________________
>> 
>> Am 26.06.2013 um 10:26 schrieb Thierry MICHEL <tmichel@w3.org>:
>> 
>>> All,
>>> 
>>> Here is the Proposed Recommendation version of the
>>> API for Media Resources 1.0
>>> 
>>> https://www.w3.org/2008/WebVideo/Annotations/drafts/API10/PR2/
>>> 
>>> Please review carefully this document.
>>> 
>>> This will be the last review before going to final Recommendation.
>>> 
>>> Thanks for you help.
>>> 
>>> Best,
>>> 
>>> Thierry
>>> 
>>> 
>> 
>> 
> 
> 
Received on Monday, 8 July 2013 09:50:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:47 UTC