Hi all, I'm am looking into using gears to transparently request large JSON objects and then download and insert them into a local database (SQlite).
The JSON objects are very large, 10MB in size approx, they are pre- built and stored in files on the server since the data is static. I would prefer to perform this with little user interaction, if at all. I'm using PHP on the server to read the data in to the response upon a XmlHttpRequest. >From looking at the documentation, I would need to use the HttpRequest, WorkerPool and Database API's to perform this function. I have a couple of questions though: Does the HttpRequest API handle JSON objects? What are the tollerences of the HttpRequest API, is 10 MB too large? I have used background worker constructs in both C# and Standard Java, is the WorkerPool API similar in any way? If a user navigates away from the page that spawned the worker, will the worker die a a result? Any advice/tips would be really great. James
