W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Interface names in IndexedDB (and WebSQLDatabase)

From: Jeremy Orlow <jorlow@chromium.org>
Date: Fri, 22 Jan 2010 00:01:55 -0800
Message-ID: <5dd9e5c51001220001y11f0a3e9id79227b81e96cb14@mail.gmail.com>
To: public-webapps@w3c.org
The interface names in IndexedDB (and to an extent, WebSQLDatabase) are very
generic.  Surprisingly, the specs only collide via the "Database" interface
(which is why I bring this up), but I'm concerned that names like Cursor,
Transaction, and Index (from IndexedDB) are so generic that they're bound to
conflict with other specs down the road.

Note that all but 5 interfaces in the WebSQLDatabase spec are prefixed with
SQL (for example, SQLTransaction) which helps a lot.  It seems as though the
remaining could also be prefixed by SQL to solve the problem.

I'm wondering if the majority of the IndexedDB interfaces should also have
some prefix (like IDB?) as well since many of its terms are quite generic.

J
Received on Friday, 22 January 2010 08:05:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:36 GMT