<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 20, 2012, at 1:16 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Thu, Dec 20, 2012 at 5:58 PM, Lucas Holmquist &lt;<a href="mailto:lholmqui@redhat.com">lholmqui@redhat.com</a>&gt; wrote:<br><blockquote type="cite">Yea, &nbsp;just wanted to get the idea down so we don't forget and to see if its<br>in the right direction<br></blockquote><br><br>JIRA? :)<br></blockquote><div><br></div><div><br></div><a href="https://issues.jboss.org/browse/AEROGEAR-772">https://issues.jboss.org/browse/AEROGEAR-772</a><br><blockquote type="cite"><br><br><br><blockquote type="cite"><br>On Dec 20, 2012, at 11:55 AM, Kris Borchers &lt;<a href="mailto:kris@redhat.com">kris@redhat.com</a>&gt; wrote:<br><br>Cordova is something I want to dig into after 1.0. I like the spirit of the<br>idea. See comments inline.<br><br>On Dec 20, 2012, at 10:34 AM, Lucas Holmquist &lt;<a href="mailto:lholmqui@redhat.com">lholmqui@redhat.com</a>&gt; wrote:<br><br>I know we really haven't talked about cordova plugins to much, but i want to<br>just get this thought down so i didn't forget about it.<br><br>would it make sense to have a cordova plugin for accessing the core data<br>stuff from our iOS libs, that is once it's ready.<br><br><br>I think so<br><br>I know cordova has a storage api, but it looks like it is just based on the<br>W3C web storage/web sql specs<br><br><br>That would probably be the basis of the "default adapter" for DataManager on<br>Cordova. I see a separate Cordova repo that can include a copy of<br>AeroGear.js with the default adapters (Pipeline:Rest, Auth:Rest,<br>DataManager:Memory), then we could implement other adapters, like a<br>DataManager:CoreData adapter on top of that. Our custom build system should<br>allow for building a custom Cordova download as well as be able to include<br>other pieces from the AeroGear.js core (DataManager:SessionLocal for<br>example).<br><br>i guess i was thinking this is how it would work:<br><br>Possibley have an aerogear.js datamanager plugin for the front end that then<br>calls the aerogear ios libs coredata plugin<br><br><br>Yes, though this is where we would need to involve someone with Cordova<br>plugin and iOS experience to get that connection between the JS and iOS<br>libs.<br><br>In JS<br><br>var dataManager = AeroGear.DataManager({<br> &nbsp;&nbsp;&nbsp;name: coreDataStore,<br> &nbsp;&nbsp;&nbsp;type: CoreData //or something<br>});<br><br>var coreDataStore = dataManager.stores[0];<br><br>coreDataStore.read() // this would access the Aerogear ios core data part<br><br>I'm not really familiar with core data, so i could be way off base with this<br>idea<br><br><br><br>-Luke<br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br><br><br>_______________________________________________<br>aerogear-dev mailing list<br>aerogear-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br><br><br><br>_______________________________________________<br>aerogear-dev mailing list<br>aerogear-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br><br></blockquote><br><br><br>-- <br>Matthias Wessendorf<br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf">http://twitter.com/mwessendorf</a><br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br></blockquote></div><br></body></html>