Hey Matthias, <div><br></div><div>looks nice I think!</div><div>I&#39;ve not yet had time to look closer at the JavaScript implementation of the datamanager but I&#39;ve got that on my list</div><div><br></div><div>One question about AGStore.h, what would the reset method be used for? I noticed the removeAll method so it was not obvious to me what the use case for reset would be.  </div>
<div><br></div><div>Thanks,</div><div><br></div><div>/Daniel<br><br><div class="gmail_quote">On 20 September 2012 21:30, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">updated docs are here:<br>
<br>
<a href="https://github.com/aerogear/aerogear-ios/blob/datamanager/AeroGear-iOS/AeroGear-iOS/AGStore.h" target="_blank">https://github.com/aerogear/aerogear-ios/blob/datamanager/AeroGear-iOS/AeroGear-iOS/AGStore.h</a><br>

<span class="HOEnZb"><font color="#888888"><br>
-M<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Sep 20, 2012 at 9:27 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:<br>
&gt; Here is a little gist, that shows how to use the storage with a pipe...<br>
&gt;<br>
&gt; <a href="https://gist.github.com/3757841" target="_blank">https://gist.github.com/3757841</a><br>
&gt;<br>
&gt; -M<br>
&gt;<br>
&gt; On Thu, Sep 20, 2012 at 7:23 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:<br>
&gt;&gt; The mentioned AGDataManager interface is located here:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://gist.github.com/3757190" target="_blank">https://gist.github.com/3757190</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Feedback welcome!<br>
&gt;&gt;<br>
&gt;&gt; -M<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Sep 20, 2012 at 7:13 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:<br>
&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I created a gist, describing the common &#39;interface&#39; for any storage<br>
&gt;&gt;&gt; system: AGStore...<br>
&gt;&gt;&gt; The FIRST version is located at [1]; Pretty sure, over time new<br>
&gt;&gt;&gt; functions may follow...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The first (-&gt;default) implementation will be (like in JavaScript land)<br>
&gt;&gt;&gt; an &#39;in memory&#39; store. The name (will not be exposed) will be<br>
&gt;&gt;&gt; &#39;AGMemoryStorage&#39;...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The creation of a concrete &#39;AGStore&#39; impl is hidden with the<br>
&gt;&gt;&gt; AGDataManager &#39;factory&#39;. Like in JavaScript land it will have simple<br>
&gt;&gt;&gt; management APIs, like &#39;add&#39;, &#39;remove&#39; or &#39;get&#39;, to add,remove or get a<br>
&gt;&gt;&gt; store out of the &#39;data manager&#39;.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Matthias<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [1] <a href="https://gist.github.com/3756911" target="_blank">https://gist.github.com/3756911</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Matthias Wessendorf<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt;&gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt;&gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Matthias Wessendorf<br>
&gt;&gt;<br>
&gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
<br>
<br>
<br>
--<br>
Matthias Wessendorf<br>
<br>
blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">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>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>