[aerogear-dev] [iOS] DataManager: Storage 'interface'
Matthias Wessendorf
matzew at apache.org
Thu Sep 20 13:13:20 EDT 2012
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
More information about the aerogear-dev
mailing list