|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
HTML5 WebDB specHi,
I'm on the verge of writing a wrapper on top of Google Gears using dojo, to make it behave like the HTML5 Web Database in it's current avatar of the spec http://dev.w3.org/html5/webdatabase/ , and was hoping to contribute this to the community. However, a couple of things make me wonder if I should really contribute this. 1. The spec itself is in flux. It is subject to change. 2. There are a couple of arguments for throwing away this spec completely, and these discussions are very active on the W3 mailing list. The arguments are that JS itself requires a object store, and that localStorage and sessionStorage should be beefed up to support indexing on object members, rather than trying to retrofit a relational store (which will then necessitate building ORMs and such to work with it). 3. Even if the decision is to go with a relational store, the API for the interaction itself is debated. The API is highly async in nature, which is weird considering that HTML5 also has a WebWorkers spec. There's talks about only building a sync API, which currently doesn't exist. 4. With all this in mind, if I do contribute to the community, the spec might be outdated or even dropped pretty over time. This might create confusion later on, if there are people implementing this API. I know this is not exactly the right forum for this kind of discussion, but I just want to know what you think about this. -- Rakesh Pai Mumbai, India. rakesh.pai@... http://piecesofrakesh.blogspot.com/ _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://dojotoolkit.org/docs/book Forums: http://dojotoolkit.org/forum Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: HTML5 WebDB specI'm wondering exactly what your wrapper will do. Note that there is
code in dojox that uses the gears webdatabse already. For example dojox.storage, when using gears uses the the gears webdb via dojox.sql. Maybe one of these already does what you are wanting to do? If not, they'll probably at least give you some ideas. Dustin On Aug 11, 2009, at 7:03 AM, Rakesh Pai wrote: > Hi, > > I'm on the verge of writing a wrapper on top of Google Gears using > dojo, to make it behave like the HTML5 Web Database in it's current > avatar of the spec http://dev.w3.org/html5/webdatabase/ , and was > hoping to contribute this to the community. > > However, a couple of things make me wonder if I should really > contribute this. > 1. The spec itself is in flux. It is subject to change. > 2. There are a couple of arguments for throwing away this spec > completely, and these discussions are very active on the W3 mailing > list. The arguments are that JS itself requires a object store, and > that localStorage and sessionStorage should be beefed up to support > indexing on object members, rather than trying to retrofit a > relational store (which will then necessitate building ORMs and such > to work with it). > 3. Even if the decision is to go with a relational store, the API > for the interaction itself is debated. The API is highly async in > nature, which is weird considering that HTML5 also has a WebWorkers > spec. There's talks about only building a sync API, which currently > doesn't exist. > 4. With all this in mind, if I do contribute to the community, the > spec might be outdated or even dropped pretty over time. This might > create confusion later on, if there are people implementing this API. > > I know this is not exactly the right forum for this kind of > discussion, but I just want to know what you think about this. > > -- > Rakesh Pai > Mumbai, India. > rakesh.pai@... > http://piecesofrakesh.blogspot.com/ > _______________________________________________ > FAQ: http://dojotoolkit.org/support/faq > Book: http://dojotoolkit.org/docs/book > Forums: http://dojotoolkit.org/forum > Dojo-interest@... > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://dojotoolkit.org/docs/book Forums: http://dojotoolkit.org/forum Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
| Free embeddable forum powered by Nabble | Forum Help |