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

Re: Messaging API and URI schemes (ISSUE-107)

From: Robin Berjon <robin@berjon.com>
Date: Fri, 11 Feb 2011 10:58:53 +0100
Cc: Niklas Widell <niklas.widell@ericsson.com>, Rich Tibbett <richt@opera.com>, public-device-apis <public-device-apis@w3.org>
Message-Id: <E97C2CA7-1552-46D2-BFA6-33E3F5FB05FC@berjon.com>
To: Dominique Hazael-Massieux <dom@w3.org>
On Feb 10, 2011, at 17:04 , Dominique Hazael-Massieux wrote:
> I think the difference between msg.create(type) vs msg.create(uri) is
> mostly cosmetic, but one clear advantage is that you don't need to add a
> new constant to handle a new message type, you "only" need to rely on a
> related URI scheme.

I don't know if it's all that cosmetic. If we use a type we have to define the way in which the other parameters are passed (e.g. to, cc, subject) whereas if we reuse a URI scheme presumably it knows how to carry its own information.

Robin Berjon - http://berjon.com/
Received on Friday, 11 February 2011 11:17:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:25 UTC