ebryn / easyindexeddb Goto Github PK
View Code? Open in Web Editor NEWAn IndexedDB wrapper that exposes a promise-based API where possible
An IndexedDB wrapper that exposes a promise-based API where possible
I've got most of the API developed at my dev branch https://github.com/monocle/EasyIndexedDB. Checkout the README.
Not sure if this is what you envisioned, so please let me know what you think.
Hi @ebryn,
I'm getting ready to write 2nd article for Ember Sherpa in the series on CRUD without Ember Data. For the 1st article, I created a simple localStorage wrapper. For the 2nd article, I would like to replace localStorage with IndexedDB and use Promises. Kaster Tideman suggested that I look at EasyIndexedDB. It looks like perfect fit.
I also saw that there is PR with documentation by @monocle. It was created a month ago. Is there any reason other than lack of time that's preventing you from merging that PR?
Also, you mentioned compatibility with other browsers via IndexedDBShim. Is it just a matter of including IndexedDBShim in global scope? or are there any other considerations?
Getting answers to these questions will help me in moving forward with the article.
Thank you for your time,
Taras
Currently there are multiple failing tests when using IndexedDBShim and Safari. However, basic functionality seems to work. (See demo app at http://monocle.github.io/ember-app-kit-todos/)
This is probably a noob question, but I'm not sure what I need to do to make my code testable. I can run the app, but when I run tests, it Ember complains about failed assertion.
I looked at @monocle's EIDB Record Adapter but he doesn't have any tests in his repo.
I know its related to Ember.run
I'm just not sure how to think about it in the context of EIDB.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.