Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member jonatec's Avatar
    Join Date
    May 2013
    Posts
    8
    Member #
    36331

    Maintain a database on iPad using HTML5

    I have a client requirement to manage data locally on an iPad with no network connection, any advice would be welcome please…

    Constraints:
    1) No network connection when the iPad is out on site.
    2) Cannot install a native iOS app.

    Preferred wrapper:
    1) Locally installed HTML5 file.

    Requirement:
    1) The HTML5 page, presumably using JavaScript, must be able to save form data to the iPad on a button click event.
    2) The User needs a facility to subsequently upload the data to a central web server, either with network connection or by cable.

    What is the best way the achieve this ?

    I understand there may be a platform/browser data file size limitation ?

    Thanks very much..

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    I would say without a native app it cannot be done. That's my opinion though .... any others?

    I should ask though ... how much data is saved before they dump it to a server? And is there any security issues with the data being encrypted or kept secure? My thoughts are headed toward a cookie array, but size is an issue.
    Last edited by mlseim; Nov 02nd, 2013 at 08:56 AM.


  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    I imagine you could use the HTML5 Web Storage API (which has surprisingly deep browser support) to store it locally, and maybe use some AJAX magic to push it to the server later. To me, this sounds like a great use-case for Meteor.js
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  5. #4
    Junior Member jonatec's Avatar
    Join Date
    May 2013
    Posts
    8
    Member #
    36331
    Quote Originally Posted by Ronald Roe View Post
    I imagine you could use the HTML5 Web Storage API (which has surprisingly deep browser support) to store it locally, and maybe use some AJAX magic to push it to the server later. To me, this sounds like a great use-case for Meteor.js
    Am I right in saying that HTML5 Web Storage; doesn't handle asynchronous actions and doesn't have an indexing system for subsequent data/record retrieval ?

  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Don't think so. There is also WebSQL. It's a dead spec, but it has live implementation in most browsers.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  7. #6
    Junior Member jonatec's Avatar
    Join Date
    May 2013
    Posts
    8
    Member #
    36331
    Have you used jStorage ? Do you know if it saves data asynchronously ?

  8. #7
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    This might be a case for noSQL, although I've never even remotely attempted anything like that which you've described. Like mlseim suggested, this is probably an app question and not a web design / development one.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  9. #8
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    Can you do all of that on an iPad without an app? I assume they want to just use any iPad as-is. No software installs, or apps. Did I miss something?



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:47 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com