Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexedDB Support #316

Closed
aschoenebeck opened this issue Jan 10, 2013 · 3 comments
Closed

IndexedDB Support #316

aschoenebeck opened this issue Jan 10, 2013 · 3 comments

Comments

@aschoenebeck
Copy link
Contributor

Hello friends!

In ScriptSharp I like to store data browserside with WebSQL. Unfortunately WebSQL (http://www.w3.org/TR/webdatabase/) is discontinued in favour of IndexedDB (http://www.w3.org/TR/IndexedDB/).

Now I'd really like to see IndexedDB implemented in ScriptSharp. It's becoming mainstream now: http://caniuse.com/#feat=indexeddb

Cheers,
Andreas

@michaelaird
Copy link
Contributor

It's not as fancy as IndexDb but there is already support for Local Storage (http://caniuse.com/#feat=namevalue-storage).

You access it through Window.LocalStorage.GetItem or Window.LocalStorage.SetItem.

Michael.

@nikhilk
Copy link
Owner

nikhilk commented Jan 10, 2013

Yep, its certainly interesting ... if you're up for getting it started and filling in the missing types in Script.Web.dll, that would be awesome.

@aschoenebeck
Copy link
Contributor Author

Okay I have implemented the asynchronous API. Sent pull request #319.

@nikhilk nikhilk closed this as completed Jan 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants