« Return to Thread: Tags rest resource request for mobile apps
Background:
I use RestKit as the rest-library. With the help of this library I can map json-elements to classes.
The mapped objects are backed-up via core-data. So subsequent request can pull the info from core-data, which really boosts performance. All good.
Issue:
I want to show some meta-data for albums (for a release 1.0 I thought about name, description, date & tags). But to fetch the tags I need several, cascaded requests. Although it does work, there are 2 issues with that:
So my proposal would be to add another rest-resource that pulls tags for an item in just 1 request.
- It doesn't allow me to cache these objects the way I want:
Each request delivers an object and I cannot link them.- 3 consecutive url-requests might cause performance-problems (in the mobile space):
Fetching, parsing, storing just takes too long.
I would need only a GET resource as I only want to read and store tags quickly.
Could somebody help me out here?
FYI: I released the app-code via GitHub: https://github.com/dave8401/g3Mobile. I don't intend to make any money with it, just want to get a good iPhone client for our galleries.
And yeah, I know that everyone is really busy with upcoming releases :).
« Return to Thread: Tags rest resource request for mobile apps
| Free embeddable forum powered by Nabble | Forum Help |