[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread andris
Nope. I mean clean-side database storage - http://webkit.org/blog/126/ webkit-does-html5-client-side-database-storage/ Wow that's cool, I don't use Safari myself so I wasn't aware of that. --~--~-~--~~~---~--~~ You received this message because you are

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread andris
I use small (40 lines of code) storage class, that uses cookies or localStorage. I wasn't able to use cookies for two reasons a) Cookies aren't ment for data storing but for token storing, so they provide EXTREMELY limited space. It's hard to push hundreds of kilobytes into cookies. b) My

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread Yaffle
May I ask you about localStorage? I want to update some property, but no space left on device and FireFox throws error NS_ERROR_FILE_NO_DEVICE_SPACE, so localStorage[property] stays unchanged. try{ localStorage[property] = value; //throws NS_ERROR_FILE_NO_DEVICE_SPACE }catch(e){

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread Joran Greef
On a side-note, I think local storage will soon become as important to client-side code as AJAX, and (at least at this stage) it also seems to suffer from browser incompatibilities. Never say never. ;) --~--~-~--~~~---~--~~ You received this message because you are

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread andris
On Sep 30, 10:05 am, andris andris.rein...@gmail.com wrote: Nope. I mean clean-side database storage - http://webkit.org/blog/126/ webkit-does-html5-client-side-database-storage/ Wow that's cool, I don't use Safari myself so I wasn't aware of that. I tried to implement the openDatabase

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread andris
On Sep 30, 12:19 pm, Joran Greef jorangr...@gmail.com wrote: On a side-note, I think local storage will soon become as important to client-side code as AJAX, and (at least at this stage) it also seems to suffer from browser incompatibilities. Never say never. ;) I couldn't agree more.

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread kangax
On Sep 30, 5:15 am, Joran Greef jorangr...@gmail.com wrote: [..] In other words, setting about 1000 objects to local storage takes about 3.3 milliseconds in Safari and 2 seconds(!) in Firefox. localStorage is not the most stable component in Firefox, but it's getting there :) I recently filed

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-30 Thread Joran Greef
Thanks for the links will do. Hope it's also helpful to the discussion at hand. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to

[Prototype-core] Memory Leak in IE

2009-09-30 Thread kef
Hello, I am currently working on an AJAX application (prototype 1.6.1). As usual, it runs very well on Chrome and Firefox but we encounter difficulties, particularly with Internet Explorer 6. After much research, it appears that the problem is related to the memory leak. In fact, i reload only