Re: PSA: Indexed Database API is a W3C Recommendation

2015-01-08 Thread Jonas Sicking
\o/ On Thu, Jan 8, 2015 at 12:20 PM, Arthur Barstow art.bars...@gmail.com wrote: Congratulations All! This was a job very well done. On 1/8/15 2:37 PM, Coralie Mercier wrote: It is my pleasure to announce that Indexed Database API is published as a W3C Recommendation http://www.w3.org/TR

PSA: Indexed Database API is a W3C Recommendation

2015-01-08 Thread Arthur Barstow
Congratulations All! This was a job very well done. On 1/8/15 2:37 PM, Coralie Mercier wrote: It is my pleasure to announce that Indexed Database API is published as a W3C Recommendation http://www.w3.org/TR/2015/REC-IndexedDB-20150108/ This specification defines an API for a database

Re: [testing] Seeking Test Facilitator(s) for Indexed Database API

2013-11-26 Thread Arthur Barstow
On 11/26/13 1:45 AM, ext Zhang, Zhiqiang wrote: From: Arthur Barstow [mailto:art.bars...@nokia.com] Sent: Saturday, November 23, 2013 2:58 AM Please contact me if you can commit to helping with this effort and you have `relevant` experience. After reconsidering your invitation at TPAC about

RE: [testing] Seeking Test Facilitator(s) for Indexed Database API

2013-11-25 Thread Zhang, Zhiqiang
From: Arthur Barstow [mailto:art.bars...@nokia.com] Sent: Saturday, November 23, 2013 2:58 AM Please contact me if you can commit to helping with this effort and you have `relevant` experience. After reconsidering your invitation at TPAC about this, I would like to take this role and to

[testing] Seeking Test Facilitator(s) for Indexed Database API

2013-11-22 Thread Arthur Barstow
[ Bcc: public-webapps-testsuite ] Hi All, We need help with the Indexed Database API testing effort. The general expectations for a Test Facilitator (TF) are defined in the testing Roles wiki [Roles]. For this spec, one of the first steps is to review the various submissions and recommend

For a deeper Indexed Database API (nested ObjectStores)

2013-04-22 Thread Michaël Rouges
Hello, I recently experimented with this API trying to simulate a file system, but I am sad to see a lack of depth. To preserve the environment applications using my tool, I want to create only one database for my filesystem. So I create my database, I add a table representing a folder and I

RE: For a deeper Indexed Database API (nested ObjectStores)

2013-04-22 Thread Aaron Powell
-webapps@w3.org Subject: For a deeper Indexed Database API (nested ObjectStores) Hello, I recently experimented with this API trying to simulate a file system, but I am sad to see a lack of depth. To preserve the environment applications using my tool, I want to create only one database for my

Re: For a deeper Indexed Database API (nested ObjectStores)

2013-04-22 Thread Eric Bidelman
[mailto:michael.rou...@gmail.com] *Sent:* Monday, 22 April 2013 5:31 PM *To:* public-webapps@w3.org *Subject:* For a deeper Indexed Database API (nested ObjectStores) ** ** Hello, I recently experimented with this API trying to simulate a file system, but I am sad to see a lack of depth

Re: For a deeper Indexed Database API (nested ObjectStores)

2013-04-22 Thread Michaël Rouges
Thank you to you for your answers. I watched your codes and, in my opinion, this kind of operation is much heavier than it should. Plus there are any files on the system, the operation will require more treatments. My idea would have the advantage of dividing the system into smaller sections

Re: CfC: publish new WD of Indexed Database API; deadline Oct 21

2011-12-01 Thread Arthur Barstow
, ext Arthur Barstow wrote: This is a Call for Consensus to publish a new Working Draft of the Indexed Database API spec (last published 19-Apr-2011): http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html

Re: Indexed database API autoIncrement

2011-11-14 Thread Jonas Sicking
On Sunday, November 13, 2011, Shawn Wilsher m...@shawnwilsher.com wrote: On 10/23/2011 3:04 PM, Jonas Sicking wrote: Good catch! This definitely needs to be specified in the spec. I have a weak preference for using 1. This has a smaller risk of triggering edge cases in the client code since

RE: Indexed database API autoIncrement

2011-10-24 Thread Israel Hilerio
! This is a public list intended for just that! I've tried to use Indexed database API using IE10 PP3 and Chrome 16 dev. I found a different behavior between the two. I set autoIncrement to true when I created a Object Store as below. var store = db.createObjectStore(store_name, { keyPath: 'id

Indexed database API autoIncrement

2011-10-23 Thread Futomi Hatano
Hello everyone, I'm not a W3C member, can I send a mail to the list? I've tried to use Indexed database API using IE10 PP3 and Chrome 16 dev. I found a different behavior between the two. I set autoIncrement to true when I created a Object Store as below. var store = db.createObjectStore

Re: Indexed database API autoIncrement

2011-10-23 Thread Kyle Huey
On Sun, Oct 23, 2011 at 7:20 AM, Futomi Hatano i...@html5.jp wrote: Hello everyone, I'm not a W3C member, can I send a mail to the list? Yes, this mailing list is open to anyone. I've tried to use Indexed database API using IE10 PP3 and Chrome 16 dev. I found a different behavior between

Re: Indexed database API autoIncrement

2011-10-23 Thread Jonas Sicking
On Sun, Oct 23, 2011 at 4:20 AM, Futomi Hatano i...@html5.jp wrote: Hello everyone, I'm not a W3C member, can I send a mail to the list? Absolutely! This is a public list intended for just that! I've tried to use Indexed database API using IE10 PP3 and Chrome 16 dev. I found a different

Re: Indexed database API autoIncrement

2011-10-23 Thread Charles Pritchard
Indexed database API using IE10 PP3 and Chrome 16 dev. I found a different behavior between the two. I set autoIncrement to true when I created a Object Store as below. var store = db.createObjectStore(store_name, { keyPath: 'id', autoIncrement: true }); Then, I added some records. IE10

CfC: publish new WD of Indexed Database API; deadline Oct 21

2011-10-14 Thread Arthur Barstow
This is a Call for Consensus to publish a new Working Draft of the Indexed Database API spec (last published 19-Apr-2011): http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html Agreement to the proposal: a) indicates support for publishing a new WD; and b) does not necessarily indicate

Re: CfC: publish new WD of Indexed Database API; deadline Oct 21

2011-10-14 Thread Charles McCathieNevile
On Fri, 14 Oct 2011 22:04:06 +0200, Arthur Barstow art.bars...@nokia.com wrote: This is a Call for Consensus to publish a new Working Draft of the Indexed Database API spec (last published 19-Apr-2011): Yes please. cheers http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html

Re: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-20 Thread timeless
On Tue, Apr 19, 2011 at 6:41 PM, Eliot Graff eliot.gr...@microsoft.com wrote: Thanks for the feedback. Moving forward, I will track changes and resolution of these suggestions in bug 9379 [1]. ok Appreciate the time you've spent on this. here's next next part, note that i drafted it a while

RE: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-19 Thread Eliot Graff
.org [mailto:public-webapps- requ...@w3.org] On Behalf Of timeless Sent: Tuesday, April 12, 2011 12:32 AM To: Arthur Barstow Cc: public-webapps Subject: Re: publish new Working Draft of Indexed Database API; deadline April 16 On Sat, Apr 9, 2011 at 2:22 PM, Arthur Barstow art.bars...@nokia.com

Re: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-12 Thread timeless
On Sat, Apr 9, 2011 at 2:22 PM, Arthur Barstow art.bars...@nokia.com wrote:  http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html I expect this message to only have editorial comments. However, I'm not fond of April 16th, this month is tax month and I still need to file. Transaction A

RE: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-11 Thread Adrian Bateman
On Saturday, April 09, 2011 4:23 AM, Arthur Barstow wrote: The Editors of the Indexed Database API would like to publish a new Working Draft of their spec and this is a Call for Consensus to do so: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If one agrees

CfC: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-09 Thread Arthur Barstow
The Editors of the Indexed Database API would like to publish a new Working Draft of their spec and this is a Call for Consensus to do so: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If one agrees with this proposal, it: a) indicates support for publishing a new WD; and b

Re: CfC: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-09 Thread Tab Atkins Jr.
On Sat, Apr 9, 2011 at 4:22 AM, Arthur Barstow art.bars...@nokia.com wrote: The Editors of the Indexed Database API would like to publish a new Working Draft of their spec and this is a Call for Consensus to do so:  http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If one agrees

Re: CfC: publish new Working Draft of Indexed Database API; deadline April 16

2011-04-09 Thread Jonas Sicking
I support this. On Sat, Apr 9, 2011 at 4:22 AM, Arthur Barstow art.bars...@nokia.com wrote: The Editors of the Indexed Database API would like to publish a new Working Draft of their spec and this is a Call for Consensus to do so:  http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html

RE: Indexed Database API

2011-03-17 Thread Pablo Castro
From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Jeremy Orlow Sent: Tuesday, March 15, 2011 3:08 PM Filed: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12310 I'm not sure if this is a lot more valuable than just creating an index over whatever index

Re: Indexed Database API

2011-03-17 Thread Jonas Sicking
On Thu, Mar 17, 2011 at 3:11 PM, Pablo Castro pablo.cas...@microsoft.com wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Jeremy Orlow Sent: Tuesday, March 15, 2011 3:08 PM Filed: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12310 I'm not

Re: Indexed Database API

2011-03-15 Thread Jeremy Orlow
Filed: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12310 On Fri, Mar 4, 2011 at 5:45 PM, Jeremy Orlow jor...@chromium.org wrote: On Fri, Mar 4, 2011 at 5:36 PM, Jonas Sicking jo...@sicking.cc wrote: A few observations: 1. It seems like a fairly rare use case to have to jump to item #100

Indexed Database API

2011-03-04 Thread Ben Dilts
Why is there no mechanism for paging results, a la SQL's limit? If I want entries in positions 140-159 from an index, I have to call continue() on a cursor 139 times, which in turn unserializes 139 objects from my store that I don't care about, which in FF4 is making a lookup in IndexedDB

Re: Indexed Database API

2011-03-04 Thread Jeremy Orlow
On Tue, Mar 1, 2011 at 11:02 PM, Ben Dilts b...@lucidchart.com wrote: Why is there no mechanism for paging results, a la SQL's limit? If I want entries in positions 140-159 from an index, I have to call continue() on a cursor 139 times, which in turn unserializes 139 objects from my store

Re: Indexed Database API

2011-03-04 Thread Ben Dilts
Jeremy, Thanks for the reply! However, my indices are not typically unique, contiguous numbers. For example, I have an index on an item's saved date, as a MySQL-style date/time string. These dates are not necessarily unique, and are certainly not contiguous. So if a user is currently viewing

Re: Indexed Database API

2011-03-04 Thread Jeremy Orlow
On Fri, Mar 4, 2011 at 11:33 AM, Ben Dilts b...@lucidchart.com wrote: Jeremy, Thanks for the reply! However, my indices are not typically unique, contiguous numbers. For example, I have an index on an item's saved date, as a MySQL-style date/time string. These dates are not necessarily

Re: Indexed Database API

2011-03-04 Thread Olli Pettay
On 03/02/2011 09:02 AM, Ben Dilts wrote: Why is there no mechanism for paging results, a la SQL's limit? If I want entries in positions 140-159 from an index, I have to call continue() on a cursor 139 times, which in turn unserializes 139 objects from my store that I don't care about, which in

Re: Indexed Database API

2011-03-04 Thread ben turner
Firefox does lazily deserialize cursor values, so the slowdown you're noticing is most likely due to us preserving the order of request callbacks by queuing every continue() call in line with the rest of the transaction. Jonas had proposed a faster, high performance cursor that did not respect

Re: Indexed Database API

2011-03-04 Thread Jeremy Orlow
On Fri, Mar 4, 2011 at 1:38 PM, ben turner bent.mozi...@gmail.com wrote: Firefox does lazily deserialize cursor values, so the slowdown you're noticing is most likely due to us preserving the order of request callbacks by queuing every continue() call in line with the rest of the transaction.

Re: Indexed Database API

2011-03-04 Thread Jonas Sicking
A few observations: 1. It seems like a fairly rare use case to have to jump to item #100 without first also observing item 1-99. When showing a paged view which lets the user to jump directly to, say, page 5 it can certainly happen, but the page could optimize for the case when the user first

Re: Indexed Database API

2011-03-04 Thread Jeremy Orlow
On Fri, Mar 4, 2011 at 5:36 PM, Jonas Sicking jo...@sicking.cc wrote: A few observations: 1. It seems like a fairly rare use case to have to jump to item #100 without first also observing item 1-99. When showing a paged view which lets the user to jump directly to, say, page 5 it can

RE: CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-11 Thread Pablo Castro
of Indexed Database API; deadline August 17 I support this. On Tue, Aug 10, 2010 at 4:38 AM, Jeremy Orlow jor...@google.com wrote: On Tue, Aug 10, 2010 at 12:04 PM, Arthur Barstow art.bars...@nokia.com wrote: All - the Editors of the Indexed Database API would like to publish a new Working

CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-10 Thread Arthur Barstow
All - the Editors of the Indexed Database API would like to publish a new Working Draft: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If you have any comments or concerns about this proposal, please send them to public-webapps by August 10 at the latest. As with all of our

Re: CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-10 Thread Jeremy Orlow
On Tue, Aug 10, 2010 at 12:04 PM, Arthur Barstow art.bars...@nokia.comwrote: All - the Editors of the Indexed Database API would like to publish a new Working Draft: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If you have any comments or concerns about this proposal, please

Re: CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-10 Thread Arthur Barstow
Yes, the deadline for comments is August 17! On 8/10/10 7:38 AM, ext Jeremy Orlow wrote: On Tue, Aug 10, 2010 at 12:04 PM, Arthur Barstow art.bars...@nokia.com mailto:art.bars...@nokia.com wrote: All - the Editors of the Indexed Database API would like to publish a new Working Draft

Re: CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-10 Thread Kris Zyp
wrote: All - the Editors of the Indexed Database API would like to publish a new Working Draft: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html If you have any comments or concerns about this proposal, please send them to public-webapps by August 10 at the latest. As with all

Re: CfC: to publish new WD of Indexed Database API; deadline August 17

2010-08-10 Thread Jonas Sicking
I support this. On Tue, Aug 10, 2010 at 4:38 AM, Jeremy Orlow jor...@google.com wrote: On Tue, Aug 10, 2010 at 12:04 PM, Arthur Barstow art.bars...@nokia.com wrote: All - the Editors of the Indexed Database API would like to publish a new Working Draft:  http://dvcs.w3.org/hg/IndexedDB/raw

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-07-06 Thread timeless
Whomever adds delete/continue back to the spec needs to inline into the spec an explanation of why it's ok per ES5. Most (all) of us grew up pre ES5 and *believe* that they're truly reserved keywords and that what you're doing is invalid. So without inlining the explanation into the spec, you're

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-07-05 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/15/2010 12:36 PM, Jonas Sicking wrote: On Mon, Jun 14, 2010 at 11:20 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We developed a similar trick where we can indicate in the IDL that different names are used for scripted languages and

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-07-05 Thread Jonas Sicking
There seems to be agreement that delete() is acceptable. Could you file a bug? / Jonas On Monday, July 5, 2010, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/15/2010 12:36 PM, Jonas Sicking wrote: On Mon, Jun 14, 2010 at 11:20 PM, Pablo Castro

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-15 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Friday, June 11, 2010 3:20 PM So there is a real likelyhood of a browser implementation that will predate it's associated JS engine's upgrade to ES5? Feeling a concern isn't really much of technical argument on it's own, and

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-15 Thread Jonas Sicking
On Mon, Jun 14, 2010 at 11:20 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We developed a similar trick where we can indicate in the IDL that different names are used for scripted languages and for compiled languages. So all in all I believe this problem can be overcome. I prefer to

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-15 Thread Jeremy Orlow
On Tue, Jun 15, 2010 at 7:36 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Jun 14, 2010 at 11:20 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We developed a similar trick where we can indicate in the IDL that different names are used for scripted languages and for compiled

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-15 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/15/2010 12:40 PM, Jeremy Orlow wrote: On Tue, Jun 15, 2010 at 7:36 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Jun 14, 2010 at 11:20 PM, Pablo Castro pablo.cas...@microsoft.com mailto:pablo.cas...@microsoft.com wrote:

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-15 Thread Marcus Bulach
Hi, (brief background before jumping out of the blue: I'm working with Andrei and Jeremy with the IDB implementation..) I'd like to mention the IDBCursor::continue is also problematic, as afaict continue is a reserved keyword in JS? oh, delete seems to be reserved as well:

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-11 Thread Pablo Castro
From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Friday, June 11, 2010 3:20 AM Subject: Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2 On Fri, Jun 11, 2010 at 1:54 AM, Pablo Castro pablo.cas...@microsoft.com wrote: From: Kris Zyp

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-11 Thread Jeremy Orlow
On Fri, Jun 11, 2010 at 9:52 PM, Pablo Castro pablo.cas...@microsoft.comwrote: From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Friday, June 11, 2010 3:20 AM Subject: Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2 On Fri, Jun

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-11 Thread Jonas Sicking
On Thu, Jun 10, 2010 at 5:54 PM, Pablo Castro pablo.cas...@microsoft.com wrote: From: Kris Zyp [mailto:k...@sitepen.com] Sent: Thursday, June 10, 2010 4:38 PM Subject: Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2 On 6/10/2010 4:15 PM, Pablo Castro wrote

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-11 Thread Jonas Sicking
-LCWD comments for Indexed Database API; deadline February 2 On Fri, Jun 11, 2010 at 1:54 AM, Pablo Castro pablo.cas...@microsoft.com wrote: From: Kris Zyp [mailto:k...@sitepen.com] Sent: Thursday, June 10, 2010 4:38 PM Subject: Re: Seeking pre-LCWD comments for Indexed Database API

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-10 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/2/2010 12:48 PM, Kris Zyp wrote: On 2/1/2010 8:17 PM, Pablo Castro wrote: [snip] the existence of currentTransaction in the same class). beginTransaction would capture semantics more accurately. b. ObjectStoreSync.delete: delete

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-10 Thread Pablo Castro
From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Kris Zyp Sent: Thursday, June 10, 2010 9:49 AM Subject: Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2 I see that in the trunk version of the spec [1] that delete

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-10 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/10/2010 4:15 PM, Pablo Castro wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Kris Zyp Sent: Thursday, June 10, 2010 9:49 AM Subject: Re: Seeking pre-LCWD comments for Indexed Database API

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-06-10 Thread Pablo Castro
From: Kris Zyp [mailto:k...@sitepen.com] Sent: Thursday, June 10, 2010 4:38 PM Subject: Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2 On 6/10/2010 4:15 PM, Pablo Castro wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org

RE: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-30 Thread Pablo Castro
On Fri, Mar 12, 2010 at 7:26 AM, Jeremy Orlow wrote: On Fri, Mar 12, 2010 at 3:23 PM, Jeremy Orlow jor...@chromium.org wrote: On Fri, Mar 12, 2010 at 3:04 PM, Kris Zyp k...@sitepen.com wrote: I believe computer science has clearly observed the fragility of passing callbacks to the initial

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-11 Thread Shawn Wilsher
On 3/5/2010 4:54 AM, Jeremy Orlow wrote: For what it's worth, regardless of the answers to the above questions, I think we should switch to a callback based model. It's great to use events when natural to do so, but this is a very unnatural use. It provides artificial limitations (only one

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-05 Thread Jeremy Orlow
On Thu, Mar 4, 2010 at 7:44 PM, Nikunj Mehta nik...@o-micron.com wrote: On Mar 4, 2010, at 10:55 AM, Kris Zyp wrote: On 3/4/2010 11:46 AM, Nikunj Mehta wrote: On Mar 4, 2010, at 10:23 AM, Kris Zyp wrote: On 3/4/2010 11:08 AM, Aaron Boodman wrote: [snip] * There is

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Jeremy Orlow
On Wed, Mar 3, 2010 at 8:48 PM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/3/2010 4:01 AM, Jeremy Orlow wrote: On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com mailto:k...@sitepen.com k...@sitepen.com wrote: [snip] The

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Jeremy Orlow
On Thu, Mar 4, 2010 at 2:37 PM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Mar 3, 2010 at 8:48 PM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/3/2010 4:01 AM, Jeremy Orlow wrote: On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Mark S. Miller
On Thu, Mar 4, 2010 at 6:37 AM, Jeremy Orlow jor...@chromium.org wrote: You are quite right! I misunderstood how this part of promises worked. Is there excitement about speccing promises in general? Yes. The starting point for a lot of the commonjs promises work is Tyler's ref_send promise

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/4/2010 10:35 AM, Mark S. Miller wrote: On Thu, Mar 4, 2010 at 6:37 AM, Jeremy Orlow jor...@chromium.org mailto:jor...@chromium.org wrote: You are quite right! I misunderstood how this part of promises worked. Is there excitement about

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Aaron Boodman
of trying to define the specific callback parameters for each interface. I believe the advantages of using promises over callbacks are pretty well understood in terms of decoupling async semantics from interface definitions, and improving encapsulation of concerns. For the indexed database API

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Jeremy Orlow
On Thu, Mar 4, 2010 at 5:46 PM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/4/2010 10:35 AM, Mark S. Miller wrote: On Thu, Mar 4, 2010 at 6:37 AM, Jeremy Orlow jor...@chromium.org mailto:jor...@chromium.org jor...@chromium.org wrote: You are

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Kris Zyp
interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining a promise interface would have

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Nikunj Mehta
definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining a promise interface would have

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Jeremy Orlow
are pretty well understood in terms of decoupling async semantics from interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/4/2010 11:46 AM, Nikunj Mehta wrote: On Mar 4, 2010, at 10:23 AM, Kris Zyp wrote: On 3/4/2010 11:08 AM, Aaron Boodman wrote: [snip] * There is nothing preventing JS authors from implementing a promise-style API on top of IndexedDB, if

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-04 Thread Nikunj Mehta
On Mar 4, 2010, at 10:55 AM, Kris Zyp wrote: On 3/4/2010 11:46 AM, Nikunj Mehta wrote: On Mar 4, 2010, at 10:23 AM, Kris Zyp wrote: On 3/4/2010 11:08 AM, Aaron Boodman wrote: [snip] * There is nothing preventing JS authors from implementing a promise-style API on top of

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-03 Thread Jeremy Orlow
On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/1/2010 2:52 PM, Jeremy Orlow wrote: Thanks for the pointers. I'm actually pretty sold on the general idea of promises, and my intuition is that there won't be a very

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-03 Thread Jeremy Orlow
On Wed, Mar 3, 2010 at 11:01 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/1/2010 2:52 PM, Jeremy Orlow wrote: Thanks for the pointers. I'm actually pretty sold on the

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-03 Thread Jeremy Orlow
Erm... s/differed/deferred/g On Wed, Mar 3, 2010 at 4:58 PM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Mar 3, 2010 at 11:01 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-03 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/3/2010 4:01 AM, Jeremy Orlow wrote: On Wed, Mar 3, 2010 at 4:49 AM, Kris Zyp k...@sitepen.com mailto:k...@sitepen.com wrote: [snip] The promises would only have a then method which would take in an onsuccess and onerror

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-02 Thread Jeremy Orlow
. I believe the advantages of using promises over callbacks are pretty well understood in terms of decoupling async semantics from interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-02 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/1/2010 2:52 PM, Jeremy Orlow wrote: Thanks for the pointers. I'm actually pretty sold on the general idea of promises, and my intuition is that there won't be a very big resource penalty for using an API like this rather than callbacks or

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-03-01 Thread Jeremy Orlow
interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining a promise

[IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-02-18 Thread Jeremy Orlow
believe the advantages of using promises over callbacks are pretty well understood in terms of decoupling async semantics from interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-02-18 Thread Joseph Pecoraro
On Feb 18, 2010, at 4: 31AM, Jeremy Orlow wrote Very interesting. The general concept seems promising and fairly flexible. You can easily code in a similar style to normal async/callback semantics, but it seems like you have a lot more flexibility. I do have a few questions though.

Re: [IndexedDB] Promises (WAS: Seeking pre-LCWD comments for Indexed Database API; deadline February 2)

2010-02-18 Thread Kris Zyp
definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining a promise interface

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-02-02 Thread Kris Zyp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/1/2010 8:17 PM, Pablo Castro wrote: [snip] the existence of currentTransaction in the same class). beginTransaction would capture semantics more accurately. b. ObjectStoreSync.delete: delete is a Javascript keyword, can we use remove

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-02-01 Thread Pablo Castro
A few comments inline marked with [PC]. From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Nikunj Mehta Sent: Sunday, January 31, 2010 11:37 PM To: Kris Zyp Cc: Arthur Barstow; public-webapps Subject: Re: Seeking pre-LCWD comments for Indexed Database API

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-29 Thread Dean Landolt
async semantics from interface definitions, and improving encapsulation of concerns. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-27 Thread Kris Zyp
. For the indexed database API this would mean that sync and async interfaces could essentially look the same except sync would return completed values and async would return promises. I realize that defining a promise interface would have implications beyond the indexed database API, as the goal

XQuery WG Comments on Indexed Database API

2010-01-26 Thread John Snelson
Web Applications Working Group, The XQuery working group have asked me to submit the following comments on their behalf, in review of Indexed Database API (Editor's Draft 26 January 2010): 1) This document does not seem to have any overlap with the XQuery specifications themselves. 2

RE: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-20 Thread Adrian Bateman
Database API; deadline February 2 For what it's worth we are in the same situation at mozilla On Jan 19, 2010 3:40 PM, Maciej Stachowiak m...@apple.commailto:m...@apple.com wrote: On Jan 19, 2010, at 3:05 PM, Jeremy Orlow wrote: On Tue, Jan 19, 2010 at 4:50 AM, Arthur Barstow... We at Apple

Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-19 Thread Arthur Barstow
Nikunj would like to move the Indexed Database API spec to Last Call Working Draft (LCWD): http://dev.w3.org/2006/webapi/WebSimpleDB/ If you have any comments, please send them to public-webapps@w3.org by February 2. Note the Process Document states the following regarding

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-19 Thread Jeremy Orlow
On Tue, Jan 19, 2010 at 4:50 AM, Arthur Barstow art.bars...@nokia.comwrote: Nikunj would like to move the Indexed Database API spec to Last Call Working Draft (LCWD): http://dev.w3.org/2006/webapi/WebSimpleDB/ If you have any comments, please send them to public-webapps@w3.org by February

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-19 Thread Maciej Stachowiak
On Jan 19, 2010, at 3:05 PM, Jeremy Orlow wrote: On Tue, Jan 19, 2010 at 4:50 AM, Arthur Barstow art.bars...@nokia.com wrote: Nikunj would like to move the Indexed Database API spec to Last Call Working Draft (LCWD): http://dev.w3.org/2006/webapi/WebSimpleDB/ If you have any comments

Re: Seeking pre-LCWD comments for Indexed Database API; deadline February 2

2010-01-19 Thread Jonas Sicking
For what it's worth we are in the same situation at mozilla On Jan 19, 2010 3:40 PM, Maciej Stachowiak m...@apple.com wrote: On Jan 19, 2010, at 3:05 PM, Jeremy Orlow wrote: On Tue, Jan 19, 2010 at 4:50 AM, Arthur Barstow... We at Apple are also in reviewing the spec and would also like

Re: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-22 Thread Charles McCathieNevile
) to publish a new Working Draft of the Indexed Database API spec with a new short-name of indexeddb: http://dev.w3.org/2006/webapi/WebSimpleDB/ As with all of our CfCs, positive response is preferred and encouraged and silence will be assumed to be assent. The deadline for comments is 21 December

Re: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-22 Thread Nikunj R. Mehta
Hi Adrian, I have published a non-JS version of the same document as the pub- ready WD. You can take a look at it: http://dev.w3.org/2006/webapi/WebSimpleDB/ I hope that works for you. Nikunj On Dec 21, 2009, at 6:58 PM, Adrian Bateman wrote: On Monday, December 21, 2009 6:43 PM, I wrote:

RE: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-22 Thread Adrian Bateman
On Tuesday, December 22, 2009 2:39 PM, Nikunj R. Mehta wrote: Hi Adrian, I have published a non-JS version of the same document as the pub- ready WD. You can take a look at it: http://dev.w3.org/2006/webapi/WebSimpleDB/ I hope that works for you. Nikunj Looks good. Thanks Nikunj.

RE: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-21 Thread Adrian Bateman
of the Indexed Database API spec with a new short-name of indexeddb: http://dev.w3.org/2006/webapi/WebSimpleDB/ As with all of our CfCs, positive response is preferred and encouraged and silence will be assumed to be assent. The deadline for comments is 21 December. Since the comment

RE: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-21 Thread Adrian Bateman
On Monday, December 21, 2009 6:43 PM, I wrote: Microsoft supports publishing a new Working Draft. However, there appears to be a problem with the Respec.js script at http://dev.w3.org/2006/webapi/WebSimpleDB/. Apparently, the script takes some time to run (at least when I tried it in

Indexed Database API (previously WebSimpleDB) ready for a new WD

2009-12-14 Thread Nikunj R. Mehta
Dear Chairs, Indexed Database API [1] is ready for a new WD. I have addressed various issues reported to the WebApps WG so far. I propose the short name indexeddb to replace websimpledb at this time. I know of one issue reported by Pablo Castro that is not resolved [2]: Usability

CfC: to publish new Working Draft of Indexed Database API; deadline December 21

2009-12-14 Thread Arthur Barstow
This is a Call for Consensus (CfC) to publish a new Working Draft of the Indexed Database API spec with a new short-name of indexeddb: http://dev.w3.org/2006/webapi/WebSimpleDB/ As with all of our CfCs, positive response is preferred and encouraged and silence will be assumed to be assent

  1   2   >