Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Rest service map to local variable question

Looking for advice on how to deal with rest service mapping to local storage for off-line list usage.
I want to load a json response from mysql DB that contains data to populate list elements.
example DB.
Image

What is the best way to do this?
I should note that I have full control of php script that generates the output.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Rest service map to local variable question

If the service doesn't return a collection, you could map the fields directly to local storage. If the service returns a collection, it's better to save the entire JSON into local storage.

Return to “Issues”