Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 653929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:26:15+00:00 2026-05-13T22:26:15+00:00

I am developing a mobile web application (for iPhone & Android) with a local

  • 0

I am developing a mobile web application (for iPhone & Android) with a local database (using html5 webstorage) so my app is still usable when the user is offline.

This is working perfectly, but I want to save the local data on a server. So I need to synchronize the local DB with a DB on a server. The synchronisation can only be one way, but in the future, I would like to synchronize it in the both way (server <-> local DB).

This requierement looks very common (or will be common in the future for mobile web app), but I can’t find a library doing that.

I know google is doing that in their mobile web app (ex. gmail), and I found the WSPL project a google project but without source to download.

If I can’t find a solution, I will create a library to do that, as one way sync doesn’t look difficult, but I wonder if there are other solutions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:26:15+00:00Added an answer on May 13, 2026 at 10:26 pm
    • I created a small JS lib named WebSqlSync to synchronize a local WebSql DB with a server (client <-> server). Very easy to use and to integrate in your code :

    https://github.com/orbitaloop/WebSqlSync

    • The open source project QuickConnect contains a JS library to synchronize the local HTML5 SQLite DB to a server DB (MySQL or other) :

    http://quickconnect.pbworks.com/Using-Enterprise-Synchronization

    To use this lib, you need to use the DataAccessObject of the framework to access your DB. It works by storing all the SQL request applied to the DB (except select of course) , and sending them to the server. It’s great to manage deletion, but it’s a little heavy if you have a lot of updates, and the server need to use the same SQL language…

    • Another project from QuickConnect is a native SQLite synch (in Objective C for iOS or Mac OS and in Java for Android) :

    http://www.quickconnectfamily.org/qcdbsync/
    (I think it store also the history of all the SQL requests)

    • And i just found another promising JS library : persistenceJS

    https://github.com/zefhemel/persistencejs

    “persistence.js is an asynchronous Javascript object-relational mapper library. You can use it in the browser, as well on the server (and you can share data models between them).”

    They have a DB synch module: DOC of persistence.synch.js

    (works with HTML5 DB SQLite or Google Gears on the client, and MySQL on the server)

    • And there is also Impel.inTouch. It looks very easy to use (with php files included), but you must use the Mootools framework in the client side :

    http://impel.simulacre.org/api/Impel.inTouch

    • Sencha has also a synchronisation service: Sencha.io. Looks great, but it’s dependent of the Sencha Touch framework:

    http://www.sencha.com/products/io/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I m developing mobile web application for Android OS. Here, my requirement is to
I'm in early (pre-coding) stages of developing a mobile web application using jQuery Mobile
I am creating a mobile web application using asp.net. The application must support iPhone,
I'm building a web application targeting mobile devices (specifically iPhone and Android). I'm building
I am developing a mobile app using HTML5, Javascript, jQuery Mobile, and offline storage.
I'm developing a mobile web applications using jquery mobile, HTML 5. From this application
I'm developing a web application using jQuery Mobile on the client side and PHP
I am developing an HTML5 web application for mobile devices and ran into a
I am developing a multi-platform (Android, iPhone, Windows and Blacbberry) mobile application. The application
I am developing a web mobile app for Android, and I'd be glad to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.