Reputation: 905
I am designing an app with the Blackberry WebWorks SDK (HTML5) which needs to obtain data from an SQL server and display it on the app in a simple list. What is the best way to approach the transfer of data in this case? I have been researching and have come across JSON; would I have to use something like that to do the parsing between the server? I have never dealt with server sided languages so the details of how I would accomplish this are a bit confusing.
Upvotes: 1
Views: 357
Reputation: 6761
use JSON to transfer data between your server & BB device. Since JSON has small memory & bandwidth footprint. If you are planning to save data in local storage use HTML5 sql database. Local storage is not supported in BB smart phones.
JSON parser [if you are not using jQuery] - json2.js
https://github.com/douglascrockford/JSON-js
Upvotes: 1