[aerogear-dev] [iOS] DataManager: Storage 'interface'

Matthias Wessendorf matzew at apache.org
Thu Sep 20 15:30:11 EDT 2012


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 at 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 at 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 at 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


More information about the aerogear-dev mailing list