Does anyone on here know how to code offline data? I've had a document solution software written for me in PHP last year to help my cleaning clients, it basically allows users to complete documents, audits, fill in data, sign etc.. then exports out as PDF. That type of software is quite common nowadays but my programmer has no idea how to code in PHP Offline data, this is where a mobile connection is lost (user could be underground?) and it saves the information to the device, whether that be a mobile or tablet, to the sql database within the mobile etc.. then once a connection is received, it submits the information that was saved on the device whilst the connection was lost. If you know how to code this or can assist in advice for this, i'd be really grateful. Thanks, Matt,.
You can't do that sort of thing with php. Either you have to write it as a native android/ios app or use something like phonegap as a layer between your html/js code and the device
Hi, thanks for your reply. We're thinking of keeping our solution as web based but didn't realise that you couldn't write it in php, do you have any information about this "phonegap" as that does sound like it could be the solution here. Thanks, Matt.
Is this for a native app, or a web based one? If it's native (and assuming for iOS), you can use things like CoreData to store data locally on the device. Although, if your current developer has no clue so far, CoreData might be a little difficult. On the other hand, if it's web based, you can use HTML 5's application cache (AppCache) or LocalStorage.