great!

had the same thought, but forgot about it :-)

AGCoreData is not yet ready, though

-Matthias

On Thursday, December 20, 2012, Lucas Holmquist wrote:

I know we really haven't talked about cordova plugins to much, but i want to just get this thought down so i didn't forget about it.

would it make sense to have a cordova plugin for accessing the core data stuff from our iOS libs, that is once it's ready.

I know cordova has a storage api, but it looks like it is just based on the W3C web storage/web sql specs

i guess i was thinking this is how it would work:

Possibley have an aerogear.js datamanager plugin for the front end that then calls the aerogear ios libs coredata plugin

In JS

var dataManager = AeroGear.DataManager({
    name: coreDataStore,
    type: CoreData //or something
});

var coreDataStore = dataManager.stores[0];

coreDataStore.read() // this would access the Aerogear ios core data part

I'm not really familiar with core data, so i could be way off base with this idea



-Luke


--
Sent from Gmail Mobile