Re: storage

2014-01-18 Thread Dick Van den Brink
a starting point ? > > -Original Message- > From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of > Brian LeRoux > Sent: Friday, January 3, 2014 10:37 AM > To: dev@cordova.apache.org > Subject: Re: storage > > an indexeddb plugin would be a rad

Re: storage

2014-01-18 Thread Axel Nennker
to the level it works, I tested and it works with > Cordova well !! > Could we use that as a starting point ? > > -Original Message- > From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of > Brian LeRoux > Sent: Friday, January 3, 2014 10:37 AM

Re: storage

2014-01-06 Thread Jesse
The key win I think is simply having a consistent implementation. CanIUse reports that indexedDB is available on Android 4.4+ and every other of our supported platforms, with a very notable exception of Mobile Safari. Ultimately this is a plugin, and Parashuram is working on it, so I am sure he wou

Re: storage

2014-01-06 Thread Brian LeRoux
I'm trying to not sound like a broken record but I still do not hear an actual use cases that is unique to IndexedDB. I understand that you like it, I do too, and the browsers will support it eventually in Cordova so effort spent there is not really a demonstrable win (to me) unless I hear a use ca

Re: storage

2014-01-05 Thread venkata kiran surapaneni
+1 to Axel. Cordova is incomplete without providing support for indexeddb and websql. I think most of the apps require local database. There are some frameworks which provide different level of implementations. But those implementations are usually designed for browsers and then enhanced for mobil

Re: storage

2014-01-05 Thread Axel Nennker
Thanks for helping with the current project. But I am still not convinced. The current implementation stuffs the images (data urls) into the websql db. So we have no extra handling for them. The images are data like the other fields too. I do not want to implement a database using file because I th

Re: storage

2014-01-04 Thread Brian LeRoux
Ok, thats easier for me to reason about! (Easier to explain your problem space in the form of a use case rather than presenting us with the solution you arrived at b/c we do not have your context.) Anyhow, given you are reading/writing blobs (images) I'd say the File API is absolutely the way to g

Re: storage

2014-01-04 Thread Axel Nennker
Hi Brian, we are building an applications that imports some data and stores that data in a database. Each imported data is between 2k and 50k but can be bigger. It is a set of images in different sizes and resolutions and some text, integer fields. We expect the total amount of data to exceed the l

Re: storage

2014-01-04 Thread Brian LeRoux
Well, I am not here to argue semantics but I am curious about your use case. Right now im hearing a feature request for an API with no tangible story for us to rally behind. What are you writing (persisting)? How large? Does the write have to be transactional? Asynchronous? The API is important b

Re: storage

2014-01-04 Thread Axel Nennker
File API could probably be used to implement all databases. So the answer is yes anyway, right? I think that indexeddb is the currently best API for developers using cordova and it is not good that they have no storage API that works on all platforms that Cordova supports. -Axel Am 04.01.2014 20

Re: storage

2014-01-04 Thread Brian LeRoux
File API does not satisfy your use case? On Jan 4, 2014 4:36 AM, "Axel Nennker" wrote: > I looked at the Aerogear Datamanger. Looks good but I am looking for a > really simple solution where developers don't have to strip away the > Aerogear part. > Something like: cordova plugin add indexeddb >

Re: storage

2014-01-04 Thread Axel Nennker
I looked at the Aerogear Datamanger. Looks good but I am looking for a really simple solution where developers don't have to strip away the Aerogear part. Something like: cordova plugin add indexeddb 2014/1/3 Lucas Holmquist > you should checkout the Datamanager stuff that we've been working on

Re: storage

2014-01-04 Thread Axel Nennker
mclion/indexeddbshim. I am > working > > > on fixing the bugs, but to the level it works, I tested and it works > with > > > Cordova well !! > > > Could we use that as a starting point ? > > > > > > -Original Message- > > > From: brian.ler..

RE: storage

2014-01-04 Thread Dick Van den Brink
014 12:04 To: dev@cordova.apache.org<mailto:dev@cordova.apache.org> Subject: Re: storage Again: this is a plugin and really not a Cordova concern. On Jan 4, 2014 2:14 AM, "Axel Nennker" wrote: > How about Parashuram Narasimhan reviewing Dick's patches and both of you >

Re: storage

2014-01-04 Thread Brian LeRoux
shim. I am working > > on fixing the bugs, but to the level it works, I tested and it works with > > Cordova well !! > > Could we use that as a starting point ? > > > > -Original Message- > > From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com]

Re: storage

2014-01-04 Thread Axel Nennker
n fixing the bugs, but to the level it works, I tested and it works with > Cordova well !! > Could we use that as a starting point ? > > -Original Message- > From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of > Brian LeRoux > Sent: Friday, January

Re: storage

2014-01-03 Thread Dick Van den Brink
ting point ? -Original Message- From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of Brian LeRoux Sent: Friday, January 3, 2014 10:37 AM To: dev@cordova.apache.org Subject: Re: storage an indexeddb plugin would be a rad thing for the community to create and maint

RE: storage

2014-01-03 Thread Parashuram Narasimhan (MS OPEN TECH)
Message- From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of Brian LeRoux Sent: Friday, January 3, 2014 10:37 AM To: dev@cordova.apache.org Subject: Re: storage an indexeddb plugin would be a rad thing for the community to create and maintain ;) in seriousness: the file

Re: storage

2014-01-03 Thread Lucas Holmquist
you should checkout the Datamanager stuff that we've been working on, on the aerogear project https://github.com/aerogear/aerogear-js#datamanager It is designed to fallback to whatever is available on your platform On Jan 3, 2014, at 8:30 AM, Axel Nennker wrote: > Hi, > > I was wondering abou

Re: storage

2014-01-03 Thread Brian LeRoux
an indexeddb plugin would be a rad thing for the community to create and maintain ;) in seriousness: the file api is probably what you're really looking for if you want to read/write json on phones (you could even use it as a basis for an JS only plugin that polyfills indexeddb. On Fri, Jan 3, 2