Here is what I want to accomplish:
-
On server side, I basically have a table with values, such as,
A | 0
B | 0
C | 1 etc. -
On the client side, I’ve an IOS App, which downloads the contents
from the webpage and displays it in a TABLE view. These values can
also be changed and submitted. And once submitted the webpage must
also update to the new values.
So to accomplish this,
- What is the best server side format I use, like, JSON, xml, plain HTML??
- On the client side, is this possible at all to change and submit the new values??
- Please suggest any tutorials or starters to go ahead with this framework.
Either JSON or XML will be fine. JSON is a lot more popular these days. There are numerous JSON parsing libraries, but for your case the built-in support will be perfectly adequate.
Yes, of course. I suggest making true model/domain classes and parsing the server data into the model. You can then manipulate the model on the device. When submitting back to the server, go in the other direction and marshal the model back to JSON.
I suggest Working with Json in iOS, A Ray Wenderlich Tutorial . . there are many others, probably also just as helpful.