Hey Matthias, 

looks nice I think!
I've not yet had time to look closer at the JavaScript implementation of the datamanager but I've got that on my list

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.  

Thanks,

/Daniel

On 20 September 2012 21:30, Matthias Wessendorf <matzew@apache.org> wrote:
updated docs are here:

https://github.com/aerogear/aerogear-ios/blob/datamanager/AeroGear-iOS/AeroGear-iOS/AGStore.h

-M

On Thu, Sep 20, 2012 at 9:27 PM, Matthias Wessendorf <matzew@apache.org> wrote:
> Here is a little gist, that shows how to use the storage with a pipe...
>
> https://gist.github.com/3757841
>
> -M
>
> On Thu, Sep 20, 2012 at 7:23 PM, Matthias Wessendorf <matzew@apache.org> wrote:
>> The mentioned AGDataManager interface is located here:
>>
>>
>> https://gist.github.com/3757190
>>
>>
>> Feedback welcome!
>>
>> -M
>>
>> On Thu, Sep 20, 2012 at 7:13 PM, Matthias Wessendorf <matzew@apache.org> wrote:
>>> Hello,
>>>
>>> I created a gist, describing the common 'interface' for any storage
>>> system: AGStore...
>>> The FIRST version is located at [1]; Pretty sure, over time new
>>> functions may follow...
>>>
>>> The first (->default) implementation will be (like in JavaScript land)
>>> an 'in memory' store. The name (will not be exposed) will be
>>> 'AGMemoryStorage'...
>>>
>>>
>>> The creation of a concrete 'AGStore' impl is hidden with the
>>> AGDataManager 'factory'. Like in JavaScript land it will have simple
>>> management APIs, like 'add', 'remove' or 'get', to add,remove or get a
>>> store out of the 'data manager'.
>>>
>>>
>>>
>>> -Matthias
>>>
>>>
>>> [1] https://gist.github.com/3756911
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev