18:15:56 RRSAgent has joined #apidesign 18:15:56 logging to http://www.w3.org/2011/11/02-apidesign-irc 18:16:14 James has joined #apidesign 18:16:30 Soonho has joined #apidesign 18:17:12 http://www.w3.org/wiki/API_Design_Approaches_and_the_Rationales_for_Them 18:19:01 shan has joined #apidesign 18:19:15 Mohammed has joined #apidesign 18:19:31 dsr has joined #apidesign 18:20:53 gopal has joined #apidesign 18:21:29 Bryan are presenting this materials http://bkaj.net/w3c/TPAC-2011-API-Design-Patterns.html 18:21:54 myakura has joined #apidesign 18:23:12 Wonsuk has joined #apidesign 18:23:24 DKA has joined #apidesign 18:23:41 Data Minimization Draft: http://www.w3.org/2001/tag/doc/APIMinimization.html 18:23:54 rrsagent, set logs public 18:23:54 jcdufourd has joined #apidesign 18:23:58 dape has joined #apidesign 18:24:33 a12u has joined #apidesign 18:25:04 Rossen has joined #apidesign 18:25:10 ileana has joined #apidesign 18:25:20 dowan has joined #apidesign 18:25:29 DKA: introduces his interest in data minimization as a basis for improving privacy. 18:25:50 si-wei_ has joined #apidesign 18:25:57 skim has joined #apidesign 18:26:32 The idea is to limit the information passed to a web application to the minimum needed. 18:26:56 dowan has joined #apidesign 18:27:36 It arguably makes it harder for API designers, but is well worth it. 18:27:56 Marcus from MS 18:28:09 Marcus (Microsoft) we should look at who is the audience for the API 18:28:22 heycam_phone has joined #apidesign 18:28:27 si-wei has joined #apidesign 18:28:48 DKA: same audience as for the DAP APIs, i.e. web API designers. 18:29:27 Qiuling has joined #apidesign 18:29:29 Raman (Google) the best approach is hands on and getting practical experience with an API. 18:30:05 Bryan: early experience will ensure that you know that a given API design is effective. 18:30:15 Should we require this for W3C APIs? 18:30:23 Answer: yes 18:31:11 Charles (Opera) you need to be prepared to revisit your assumptions as you get feedback from a wider audience. 18:31:34 fjh has joined #apidesign 18:32:00 si-wei has joined #apidesign 18:32:02 nvbalaji has joined #apidesign 18:32:30 Marcus (another one) many engineers may not have a background in privacy, and a design guide can be helpful. 18:32:44 Cathy has joined #apidesign 18:32:49 darobin has joined #apidesign 18:33:13 Privacy by design, security by design. 18:33:30 W3C_ has joined #apidesign 18:33:36 si-wei_ has joined #apidesign 18:33:45 Michael (Microsoft) Audience important, but you can have multiple audiences, declarative natural for some, but JS natural for others 18:33:45 W3C_ has left #apidesign 18:33:50 dom has joined #apidesign 18:33:57 Bryan: how to we keep such design guidelines live and relevant. 18:34:34 Should the design guidelines be mandated by the Process? 18:34:48 -> http://www.w3.org/2009/dap/wiki/ApiCheckList API Checklist 18:34:51 s/API C/DAP API C/ 18:34:55 Marcos has joined #apidesign 18:34:57 evanli has joined #apidesign 18:35:06 Dom (W3C) it is way to early for that. We have a small collection of guidelines in DAP WG. 18:35:16 si-wei has joined #apidesign 18:35:33 Wonsuk has left #apidesign 18:35:38 giuseppep has joined #apidesign 18:36:35 alex has joined #apidesign 18:36:41 Marcus: there hasn't been any road testing for the DAP WG API checklist, so I agree with Dom that it is too early to nail things down. 18:36:54 Bryan: one key aspect is whether the API is extensible. 18:38:14 Jean-Claude: I would like to hear from other people in the room. 18:39:18 If we don't standardize the higher level APIs someone will later come along with a library that sets a de facto standard (as in JQuery) 18:39:25 Wonsuk has joined #apidesign 18:40:04 APIs should be usable. There is a big range of where you aim for in the range from low level to high level. 18:41:15 There isn't a standard for promises (?) 18:41:36 as an alternative to call backs 18:42:01 Robin: we could do that in W3C fairly quickly. 18:42:46 perhaps http://en.wikipedia.org/wiki/Futures_and_promises 18:46:13 Raman: looking at the patterns of usage for APIs can help with understanding what level of API is appropriate. 18:47:14 giuseppep has joined #apidesign 18:47:24 If the imperative code switches to your high level API, you are on the right track 18:47:30 s/code/coder/ 18:47:55 alex has left #apidesign 18:48:35 What's the direction when it comes to asynchrous in main UI thread versus synchronous in a worker thread? 18:49:19 Apple bans synchronous APIs on the UI thread. 18:50:35 We should minimize the frequency of requring user input, but when we do we need to support a non-blocking approach. 18:50:59 michaelchampion has joined #apidesign 18:51:29 If we have to provide asynchronous APIs for the UI thread, why should we bother to also define synchronous APis for worker threads? 18:51:31 youenn has joined #apidesign 18:51:56 If the async calls are too hard we need to rethink the level of the API. 18:52:18 markus speaking 18:52:41 Marus (Microsoft) we should be careful with general statements such as only async interfaces. The context matters. 18:52:49 Linuz has joined #apidesign 18:52:53 s/Marus/Markus/ 18:53:20 dom: async apis being to hard to develop for is also a symptom of what we discussed earlier re lack of promises in ecmascript 18:54:22 Robin: I think on the whole that doing both async and sync APIs is a bad idea. 18:55:17 Libraries can help to deal with complexities of async APIs. Unless there are compelling reasons, we should avoid synchronous APIs. 18:56:04 a12u has joined #apidesign 18:56:12 giuseppep has joined #apidesign 18:56:59 We can learn from developer experience and the kinds of wrappers/libraries people come up with and refine our APIs 18:57:51 jmr has joined #apidesign 18:57:52 Lower level APIs are easier to reach consensus on as the issues are clearer. Higher level APIs can take a long time to mature, 18:58:55 Dom: what can we do to invite developer feedback at an early enough stage?\ 18:59:41 Robin: a JQuery standards group has formed with the aim of feedback experience in standards. 18:59:54 We should reach out to those guys. 19:01:05 myakura has left #apidesign 19:01:17 Bryan: summarises the discussion from his notes on the flip chart 19:02:36 Wonsuk has left #apidesign 19:04:06 dape has joined #apidesign 19:04:57 AndroUser2 has joined #apidesign 19:08:32 youenn has left #apidesign 19:12:58 gopal has joined #apidesign 20:02:25 dsr has joined #apidesign 20:02:53 spoussa has joined #apidesign 20:07:38 fjh has joined #apidesign 20:09:59 dsr_ has joined #apidesign 20:16:39 si-wei has joined #apidesign 20:25:20 si-wei has joined #apidesign 20:27:59 DKA has joined #apidesign 20:29:46 spoussa has joined #apidesign 20:32:19 Marcos has joined #apidesign 20:36:46 dom has left #apidesign 20:37:13 si-wei has joined #apidesign 20:37:21 darobin has joined #apidesign 20:37:26 si-wei has joined #apidesign 20:37:46 si-wei has joined #apidesign 20:38:24 fjh has joined #apidesign 20:39:40 si-wei has joined #apidesign 20:43:33 darobin has left #apidesign 20:46:37 evanli has joined #apidesign 20:47:20 si-wei has joined #apidesign 20:47:35 si-wei has left #apidesign 21:29:34 dsr has joined #apidesign 21:29:35 Wonsuk has joined #apidesign 21:29:54 Wonsuk has left #apidesign 21:30:17 evanli has joined #apidesign 21:34:26 si-wei has joined #apidesign 21:34:39 dape has joined #apidesign 21:34:55 si-wei has joined #apidesign 21:34:56 Marcos has joined #apidesign 21:35:27 si-wei has left #apidesign 21:38:10 fjh has joined #apidesign 21:42:54 dsr has joined #apidesign 21:48:08 fjh has joined #apidesign 21:49:06 spoussa has joined #apidesign 22:03:34 spoussa has joined #apidesign 22:32:30 fjh has joined #apidesign 22:41:46 evanli has joined #apidesign 22:44:40 mmielke has joined #apidesign 22:46:54 si-wei has joined #apidesign 22:47:10 si-wei has left #apidesign 22:54:38 spoussa has joined #apidesign 22:57:08 spoussa has joined #apidesign 23:39:44 Marcos has joined #apidesign 23:42:28 Marcos has joined #apidesign