Re: Contacts API updates

Hi,

On 12.1.2011, at 17.34, ext Suresh Chitturi wrote:

> The issue I see with this approach is that it has nothing to do with the standard we are defining in terms of the API itself and is only informative to show how scripts can create a vCard and set the href. Am I missing something? 

First, we should reuse established existing standards (e.g. the data URI scheme). Second, we should make the common use case (i.e. reading) easy and provide enough extension points for the less-common use cases (i.e. writing) to build on top.

If the API is too high-level developers are forced in a given direction that they may or may not like (and thus ignore it). Making the common use case simple and less-common use cases possible is the "mid-level" I'd like to aim at.

It's hard to get a high-level API right. If that'd be easy we would not have that many JavaScript libraries out there.

-Anssi

Received on Wednesday, 12 January 2011 16:44:16 UTC