W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: IndexedDB: multientry or multiEntry?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 30 Nov 2011 18:22:28 -0800
Message-ID: <CAAWBYDDFxOxQZ87WtOH2RaFMirQb7BQz8bjxWnTCsLPOOB1s4Q@mail.gmail.com>
To: Israel Hilerio <israelh@microsoft.com>
Cc: "Jonas Sicking (jonas@sicking.cc)" <jonas@sicking.cc>, "jsbell@chromium.org" <jsbell@chromium.org>, "public-webapps@w3.org" <public-webapps@w3.org>
On Wed, Nov 30, 2011 at 6:11 PM, Israel Hilerio <israelh@microsoft.com> wrote:
> On Wednesday, November 30, 2011 3:55 PM, Jonas Sicking wrote:
>> On Wed, Nov 30, 2011 at 3:09 PM, Joshua Bell <jsbell@chromium.org> wrote:
>> > Should the parameter used in IDBObjectStore.createIndex() and the
>> > property on IDBIndex be spelled "multientry" (as it is in the spec
>> > currently), or "multiEntry" (based on "multi-entry" as the correct English
>> spelling)?
>> >
>> > Has any implementation shipped with the new name yet (vs. the old
>> > "multirow")? Any strong preferences?
>> Much of HTML uses all-lowercase names for similar things, both in markup
>> and in the DOM.
>> I would actually prefer to go the other way and change autoIncrement to
>> autoincrement.
>> / Jonas
> We currently have implemented the behavior per spec as "multientry" on our Win8 preview build and in follow on IE preview builds.  However, we would prefer for it to be camelCase since it matches the attributes we've already defined in the spec.  More important, this seems to match the web platform closer.  I believe the difference here is that these names are supposed to represent properties in a JS object which devs would expect to be camelCase like other attributes in the DOM spec.  I'm not sure about the markup argument. Also, if we end up making autoincrement all lower case, I would imagine we would want to be consistent and make keyPath all lower case too.  This seems different.

Agreed.  While HTML favors all-lowercase, JS and DOM favor camelCase.

Received on Thursday, 1 December 2011 02:23:20 UTC

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