Re: [webdatabase] changeVersion should allow all callbacks to be optional
On Fri, 28 Aug 2009, Lachlan Hunt wrote: The spec currently requires the first 2 callbacks for the changeVersion method, while the 3rd is optional. The spec should make all of the callbacks optional so authors don't resort to specifying empty functions when they don't actually need to do anything with it. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [webdatabase] changeVersion should allow all callbacks to be optional
On Fri, 28 Aug 2009, Lachlan Hunt wrote: FWIW, this API is insanely complicated and has way too many callbacks to keep track of. It's caused me a lot of confusion and makes using it incredibly complex. Yeah. Let me know if you have any better ideas. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [webdatabase] changeVersion should allow all callbacks to be optional
On Sep 2, 2009, at 3:12 PM, Ian Hickson wrote: On Fri, 28 Aug 2009, Lachlan Hunt wrote: FWIW, this API is insanely complicated and has way too many callbacks to keep track of. It's caused me a lot of confusion and makes using it incredibly complex. Yeah. Let me know if you have any better ideas. :-) It is a nice way to capture the current situation with the API. On the one hand, experienced and sincere programmers such as Lachy are not able to use the API and on the other hand, we fail to come up with alternatives. I wonder why we are pushing ourselves (and the hordes of people who want to store data in databases) over the metaphorical cliff. I am working on an alternative (non-SQL, and non-callback craziness). It may not be very user-friendly (some waits, some deadlocks), but it is at least more programmer-friendly. Some often talk about the hypothetical Web database programmer as being significantly different from the typical database programmer. However, I am not going to be able to offer much by means of ideas for a type of person that I cannot recognize or understand. I am hoping to have an initial editor's draft ready this week. I hope the WG finds it interesting. -- Ian Hickson U+1047E) \._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _ \ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'-- (,_..'`-.;.' Nikunj http://o-micron.blogspot.com
[webdatabase] changeVersion should allow all callbacks to be optional
Hi, The spec currently requires the first 2 callbacks for the changeVersion method, while the 3rd is optional. The spec should make all of the callbacks optional so authors don't resort to specifying empty functions when they don't actually need to do anything with it. -- Lachlan Hunt - Opera Software http://lachy.id.au/ http://www.opera.com/