W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: [IndexedDB] Interaction between transactions and objects that allow multiple operations

From: Nikunj Mehta <nikunj@o-micron.com>
Date: Thu, 6 May 2010 01:18:10 -0700
Cc: Jeremy Orlow <jorlow@chromium.org>, Pablo Castro <Pablo.Castro@microsoft.com>, public-webapps WG <public-webapps@w3.org>
Message-Id: <BB1CF487-60A1-4B7E-811C-F7DC11F960A5@o-micron.com>
To: Shawn Wilsher <sdwilsh@mozilla.com>

On May 5, 2010, at 1:56 PM, Shawn Wilsher wrote:

> On 5/5/2010 1:09 PM, Jeremy Orlow wrote:
>> I'd also worry that if creating the transaction were completely transparent
>> to the user that they might not think to close it either.  (I'm mainly
>> thinking about copy-and-paste coders here.)
> I should have been more clear.  That statement goes along with the suggestion to make everything work off of a transaction - object stores, indexes, cursors, etc.  They'd have to know about the transaction because they'd have to use it.

I feel that auto transaction creation is syntactic sugar and should be left to libraries. On the other hand, I'd be worried if we were developing for complex multi-tab applications and not explicitly managing transactions.

Received on Thursday, 6 May 2010 08:18:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:24 UTC